Remove __nan{f,,l} macros
[glibc.git] / ChangeLog
blob8423f60979798dc2facd3735eb7016002fa198d1
1 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3         * math/s_nanf.c: Remove __nanf undef.
4         * math/s_nan.c: Remove __nan undef.
5         * math/s_nanl.c: Remove __nanl undef.
7         * sysdeps/generic/math_private.h (__nan): Remove macro
8         override.
9         (__nanf): Likewise.
10         (__nanl): Likewise.
12 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14         * math/Makefile (gen-all-calls): New variable.
15         (generated): Replace gen-libm-calls with gen-all-calls.
16         (gen-libm-templates.stmp): Likewise.  Also, ensure
17         the output directory exists or is created and add
18         dependency on the Makefile.
19         (calls): Move s_ldexpF into gen-calls.
20         (gen-calls): New variable.
22         * math/s_ldexpf.c: Removed.
23         * math/s_ldexpl.c: Removed.
24         * math/s_ldexp.c: Refactored into ...
25         * math/s_ldexp_template.c: New file.
27         * sysdeps/generic/math-type-macros-double.h: Remove
28         redundant fall-through definition of declare_mgen_alias.
29         (declare_mgen_alias_2): New macro.
31         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
32         New macro for function aliased to two exported symbols.
34         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
35         new template file.
36         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
38 2016-09-20  Florian Weimer  <fweimer@redhat.com>
40         * Makeconfig (all-object-suffixes): Remove .og.
41         * Makerules (elide-routines.og): Remove.
42         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
43         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
44         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
46 2016-09-20  Florian Weimer  <fweimer@redhat.com>
48         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
49         .os objects.
51 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53         [BZ #20615]
54         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
55         fpu directory by non-fpu.
56         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
57         on non-fpu directory from a fpu directory.
59 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
61         * include/limits.h: Define
62         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
63         <bits/libc-header-start.h> instead of including <features.h>.
64         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
65         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
66         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
67         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
68         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
69         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
70         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
71         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
72         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
73         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
74         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
75         * manual/lang.texi (Width of Type): Document these macros.
76         * stdlib/tst-width.c: New file.
77         * stdlib/Makefile (tests): Add tst-width.
79 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
82         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
84 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
86         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
87         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
88         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
90 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
92         [BZ #18243]
93         * rt/Makefile (test): Add tst-shm-cancel.
94         * rt/tst-shm-cancel.c: New file.
95         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
97         [BZ #18243]
98         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
99         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
100         definition.
101         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
102         uncontended case.
103         * nptl/sem_wait.c (__new_sem_wait): Likewise.
104         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
105         (tf): Fix check for uncontended case.
106         (do_test): Likewise.
107         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
108         (tf): Fix check for uncontended case.
109         (do_test): Likewise.
110         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
111         (tf): Fix check for uncontended case.
112         (do_test): Likewise.
113         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
114         (tf): Fix check for uncontended case.
115         (do_test): Likewise.
117         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
118         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
120         [BZ #15765]
121         * nptl/Makefile (tests): Add tst-sem16.
122         * nptl/tst-sem16.c: New file.
123         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
125         * nptl/sem_open.c (sem_open): Init pad value to 0.
126         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
127         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
129 2016-09-15  Florian Weimer  <fweimer@redhat.com>
131         [BZ #20611]
132         * inet/Makefile (routines): Add inet6_scopeid_pton.
133         (tests): Add tst-inet6_scopeid_pton.
134         * inet/inet6_scopeid_pton.c: New file.
135         * inet/net-internal.h: Likewise.
136         * inet/tst-inet6_scopeid_pton.c: New test.
137         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
138         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
139         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
141 2016-09-14  Florian Weimer  <fweimer@redhat.com>
143         Remove support for compiling wrappers with PTW.
144         * sysdeps/nptl/Makeconfig: Drop ptw- support.
145         * nptl/Makefile (pthread-compat-wrappers): Define.
146         (libpthread-routines): Use pthread-compat-wrappers.
147         * sysdeps/unix/sysv/linux/alpha/Makefile
148         (libpthread-routines, libpthread-shared-only-routines): Remove
149         ptw- prefix.
150         * sysdeps/s390/nptl/Makefile
151         (libpthread-routines, libpthread-shared-only-routines): Likewise.
152         * sysdeps/ia64/nptl/Makefile
153         (libpthread-routines, libpthread-shared-only-routines): Likewise.
154         * sysdeps/nacl/Makefile (libpthread-routines): Use
155         pthread-compat-wrappers to filter the routines list instead of the
156         ptw- prefix.
158 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
160         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
161         with L() and remove explicit suffix, convert real literals
162         which can be equivalentally substituted with integers, and
163         transform -L(x) to L(-x).
165         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
166         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
167         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
168         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
169         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
170         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
171         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
172         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
173         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
174         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
175         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
176         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
177         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
178         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
179         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
180         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
181         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
182         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
183         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
184         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
185         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
186         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
187         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
188         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
189         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
190         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
191         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
192         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
193         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
194         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
195         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
196         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
197         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
198         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
199         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
200         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
201         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
202         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
203         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
204         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
205         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
206         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
207         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
208         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
209         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
210         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
211         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
212         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
213         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
214         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
216 2016-09-13  Florian Weimer  <fweimer@redhat.com>
218         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
220 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
222         * malloc/Makefile (tests): Remove individual static test names
223         and just add all of tests-static.
225         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
227 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
229         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
230         file.
232         * sysdeps/sparc/fpu/fegetmode.c: New file.
233         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
235         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
236         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
238         * sysdeps/s390/fpu/fegetmode.c: New file.
239         * sysdeps/s390/fpu/fesetmode.c: Likewise.
241         * sysdeps/powerpc/fpu/fegetmode.c: New file.
242         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
243         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
244         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
245         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
246         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
248         * sysdeps/mips/fpu/fegetmode.c: New file.
249         * sysdeps/mips/fpu/fesetmode.c: Likewise.
251         * sysdeps/m68k/fpu/fegetmode.c: New file.
252         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
254         * sysdeps/ia64/fpu/fegetmode.c: New file.
255         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
257         * sysdeps/hppa/fpu/fegetmode.c: New file.
258         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
260         * sysdeps/arm/fegetmode.c: New file.
261         * sysdeps/arm/fesetmode.c: Likewise.
263         * sysdeps/alpha/fpu/fegetmode.c: New file.
264         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
266         * sysdeps/aarch64/fpu/fegetmode.c: New file.
267         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
269         * math/fegetmode.c: New file.
270         * math/fesetmode.c: Likewise.
271         * sysdeps/i386/fpu/fegetmode.c: Likewise.
272         * sysdeps/i386/fpu/fesetmode.c: Likewise.
273         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
274         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
275         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
277         declaration.
278         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
279         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
280         typedef.
281         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
282         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
283         (femode_t): New typedef.
284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
285         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
286         (femode_t): New typedef.
287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
288         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
289         (femode_t): New typedef.
290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
291         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
292         (femode_t): New typedef.
293         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
294         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
295         (femode_t): New typedef.
296         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
297         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
298         (femode_t): New typedef.
299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
300         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
301         (femode_t): New typedef.
302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
303         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
304         (femode_t): New typedef.
305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
306         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
307         (femode_t): New typedef.
308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
309         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
310         (femode_t): New typedef.
311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
312         declaration.
313         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
314         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
315         (femode_t): New typedef.
316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
317         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
318         (femode_t): New typedef.
319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
320         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
321         (femode_t): New typedef.
322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
323         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
324         (femode_t): New typedef.
325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
326         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
327         (femode_t): New typedef.
328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
329         * manual/arith.texi (FE_DFL_MODE): Document macro.
330         (fegetmode): Document function.
331         (fesetmode): Likewise.
332         * math/Versions (fegetmode): New libm symbol at version
333         GLIBC_2.25.
334         (fesetmode): Likewise.
335         * math/Makefile (libm-support): Add fegetmode and fesetmode.
336         (tests): Add test-femode and test-femode-traps.
337         * math/test-femode-traps.c: New file.
338         * math/test-femode.c: Likewise.
339         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
340         alias for __fe_dfl_env.
341         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
342         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
343         (__fe_dfl_mode): Likewise.
344         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
345         version GLIBC_2.25.
346         * sysdeps/nacl/libm.abilist: Update.
347         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
348         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
349         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
350         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
351         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
352         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
353         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
354         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
355         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
356         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
357         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
358         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
360         Likewise.
361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
362         Likewise.
363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
364         Likewise.
365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
366         Likewise.
367         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
368         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
369         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
370         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
371         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
373         Likewise.
374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
375         Likewise.
376         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
377         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
378         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
380 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
382         [BZ #20495]
383         [BZ #20508]
384         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
385         processors, set Use_dl_runtime_resolve_slow and set
386         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
387         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
388         New.
389         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
390         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
391         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
392         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
393         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
394         if Use_dl_runtime_resolve_opt is set.  Use
395         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
396         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
397         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
398         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
399         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
400         New.
401         (_dl_runtime_resolve_opt): Likewise.
402         (_dl_runtime_profile): Define only if _dl_runtime_profile is
403         defined.
405 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
407         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
408         __libc_memalign with "+ RELA R_390_GLOB_DAT".
410 2016-09-06  Florian Weimer  <fweimer@redhat.com>
412         Convert malloc to __libc_lock.  Automated part, using this Perl
413         s/// command:
414           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
415             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
416         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
417         conversion.
419 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
421         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
422         (linknamespace-symlists-tests): Likewise.
423         (linknamespace-header-tests): Likewise.
425 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
427         [BZ #19810]
428         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
429         * elf/tst-noload.c: New test case.
430         * elf/Makefile (tests): Add tst-noload.
432 2016-09-02  Roland McGrath  <roland@hack.frob.com>
434         * sysdeps/nacl/dup.c: Add libc_hidden_def.
436         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
437         not any more.
439         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
441 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
443         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
444         (do_cos_slow): Likewise.
445         (do_sin): Likewise.
446         (do_sin_slow): Likewise.
447         (slow): Likewise.
448         (slow1): Likewise.
449         (slow2): Likewise.
450         (sloww): Likewise.
451         (sloww1): Likewise.
452         (sloww2): Likewise.
453         (bsloww): Likewise.
454         (bsloww1): Likewise.
455         (bsloww2): Likewise.
456         (cslow2): Likewise.
458         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
460         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
461         arguments.  Consolidate input partitioning from callers here.
462         (do_cos_slow): Likewise.
463         (do_sin): Likewise.
464         (do_sin_slow): Likewise.
465         (do_sincos_1): Remove the no longer necessary input partitioning.
466         (do_sincos_2): Likewise.
467         (__sin): Likewise.
468         (__cos): Likewise.
469         (slow1): Likewise.
470         (slow2): Likewise.
471         (sloww1): Likewise.
472         (sloww2): Likewise.
473         (bsloww1): Likewise.
474         (bsloww2): Likewise.
475         (cslow2): Likewise.
477 2016-09-02  Florian Weimer  <fweimer@redhat.com>
479         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
480         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
481         outside of allocated array.
483 2016-09-02  Florian Weimer  <fweimer@redhat.com>
485         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
486         instead of MB_CUR_MAX to avoid variable-length array.
488 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
490         * math/Makefile (libm-calls): Remove k_rem_pio2F.
491         (type-double-routines): Add k_rem_pio2.
492         (type-float-routines): Add k_rem_pio2f.
494         * sysdeps/generic/math_private.h:
495         (__kernel_rem_pio2l): Removed.
497         * math/k_rem_pio2l.c: Removed.
498         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
499         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
500         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
501         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
503 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
505         * math/Makefile (gen-libm-calls): Add s_fmin
506         (libm-calls): Remove above.
508         * math/s_fmin.c: Refactor into ...
509         * math/s_fmin_template.c: New file.
511         * math/s_fminf.c: Removed.
512         * math/s_fminl.c: Removed.
513         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
514         (LDOUBLE_fmin_libm_version): New macro.
516         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
517         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
519 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
521         * math/Makefile: (gen-libm-calls): Add s_fmax.
522         (libm-calls): Remove above.
524         * math/s_fmax.c: Refactor into ...
525         * math/s_fmax_template.c: New file.
526         * math/s_fmaxf.c: Removed.
527         * math/s_fmaxl.c: Removed.
529         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
530         (LDOUBLE_fmaxl_libm_version): New macro.
532         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
533         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
535         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
536         s_fmin.c to pick the aarch64 version of the file.
537         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
538         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
540 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
542         * math/Makefile: (gen-libm-calls): Add s_nextdown.
543         (libm-calls): Remove above.
545         * math/s_nextdown.c: Refactor into ...
546         * math/s_nextdown_template.c: New file.
547         * math/s_nextdownf.c: Removed.
548         * math/s_nextdownl.c: Removed.
550         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
552 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
554         * math/Makefile (gen-libm-calls): Add s_fdim.
555         (libm-calls): Move to above.
557         * math/s_fdim.c: Renamed and refactored into to ...
558         * math/s_fdim_template.c: New file.
559         * math/s_fdiml.c: Removed.
560         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
561         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
563         * sysdeps/generic/math-type-macros-double.h:
564         (declare_mgen_alias): Don't declare if already declared.
565         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
566         Likewise.
568         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
569         (declare_mgen_alias): Don't declare if already declared.
570         (M_LIBM_NEED_COMPAT): Likewise.
571         (declare_mgen_libm_compat): Likewise.
572         (LDOUBLE_fdiml_libm_version): New macro.
574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
575         Include math/s_fdim.c now that ldbl-opt version is not needed.
576         (declare_mgen_alias): New macro to disable aliasing.
578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
579         (declare_mgen_alias): Likewise.
580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
581         (declare_mgen_alias): Likewise.
582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
583         (declare_mgen_alias): Likewise.
584         (M_LIBM_NEED_COMPAT): Likewise.
586 2016-09-01  Florian Weimer  <fweimer@redhat.com>
588         [BZ #20525]
589         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
590         Include <linux/quota.h>.
591         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
592         and btodb.
593         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
594         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
595         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
596         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
597         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
598         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
599         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
600         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
601         types.
602         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
603         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
605 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
607         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
608         (gammal_positive): Fix spacing.
609         (__ieee754_gammal_r): Likewise.
611 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
613         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
614         (_Float128): Define as long double, always.
615         (L): Apply long double type suffix, always.
617         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
618         _Float128, excepting comments.
620         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
621         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
622         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
623         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
624         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
625         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
626         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
627         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
628         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
629         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
630         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
631         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
632         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
633         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
634         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
635         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
636         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
637         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
638         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
639         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
640         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
641         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
642         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
643         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
644         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
645         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
646         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
647         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
648         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
649         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
650         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
651         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
652         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
653         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
654         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
655         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
656         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
657         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
658         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
659         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
660         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
661         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
662         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
663         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
664         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
665         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
666         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
667         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
668         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
669         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
670         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
671         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
672         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
673         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
674         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
675         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
676         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
677         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
678         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
679         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
680         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
681         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
682         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
683         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
684         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
685         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
686         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
687         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
689         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
690         _Float128, and include math_private.h.
691         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
693         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
694         long double semantics.
695         (_Float128): Likewise.
696         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
697         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
698         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
699         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
701 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
703         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
704         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
705         * sysdeps/s390/configure: Regenerated.
706         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
707         instruction for raising over-/underflow if z196 zarch is supported
708         by default.
709         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
711 2016-08-30  Svante Signell  <svante.signell@gmail.com>
713         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
714         it point to a dumb buffer for RPC to fill it.
716 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
718         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
719         instead of if/else.
720         (do_sin_slow): Likewise.
721         (do_sincos_1): Use fabs instead of if/else.
722         (do_sincos_2): Likewise.
723         (__sin): Likewise.
724         (__cos): Likewise.
725         (slow2): Likewise.
726         (sloww): Likewise.
727         (sloww1): Likewise.  Drop argument M.
728         (sloww2): Use fabs instead of if/else.
729         (bsloww): Likewise.
730         (bsloww1): Likewise.
731         (bsloww2): Likewise.
733         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
734         fall through comment.
735         (do_sincos_1): Likewise.
737         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
738         Consolidate switch cases 0 and 2.
740 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
742         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
743         (libm-calls): Remove the above.
745         * math/s_cexp_template.c: Update using type-generic macros.
746         * math/s_clog10_template.c: Likewise.
747         * math/s_cpow_template.c: Likewise.
748         * math/s_clog_template.c: Likewise.
749         * math/s_cproj_template.c: Likewise.
750         * math/s_csqrt_template.c: Likewise.
752         * math/s_cexp.c: Removed.
753         * math/s_cexpf.c: Removed.
754         * math/s_cexpl.c: Removed.
755         * math/s_clog10.c: Removed.
756         * math/s_clog10f.c: Removed.
757         * math/s_clog10l.c: Removed.
758         * math/s_cpow.c: Removed.
759         * math/s_cpowf.c: Removed.
760         * math/s_cpowl.c: Removed.
761         * math/s_clog.c: Removed.
762         * math/s_clogf.c: Removed.
763         * math/s_clogl.c: Removed.
764         * math/s_cproj.c: Removed.
765         * math/s_cprojf.c: Removed.
766         * math/s_cprojl.c: Removed.
767         * math/s_csqrt.c: Removed.
768         * math/s_csqrtf.c: Removed.
769         * math/s_csqrtl.c: Removed.
771         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
772         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
773         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
774         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
775         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
776         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
778         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
779         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
780         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
781         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
782         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
783         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
784         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
785         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
786         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
787         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
788         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
790         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
791         version.
793         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
794         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
795         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
796         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
798 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
800         * s_cexp_template.c: Copy of s_cexp.c.
801         * s_clog_template.c: Copy of s_clog.c.
802         * s_clog10_template.c: Copy of s_clog10.c.
803         * s_cpow_template.c: Copy of s_cpow.c.
804         * s_cproj_template.c: Copy of s_cproj.c.
805         * s_csqrt_template.c: Copy of s_csqrt.c.
807 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
809         [BZ #20517]
810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
811         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
812         exported.
814 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
816         * math/fetestexceptflag.c: New file.
817         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
818         Stefan Liebler.
819         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
820         (fetestexceptflag): New function declaration.
821         * manual/arith.texi (fetestexceptflag): Document function.
822         * math/Versions (fetestexceptflag): New libm symbol at version
823         GLIBC_2.25.
824         * math/Makefile (libm-support): Add fetestexceptflag.
825         (tests): Add test-fetestexceptflag.
826         * math/test-fetestexceptflag.c: New file.
827         * sysdeps/nacl/libm.abilist: Update.
828         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
829         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
830         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
831         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
832         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
833         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
834         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
835         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
836         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
837         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
838         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
839         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
841         Likewise.
842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
843         Likewise.
844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
845         Likewise.
846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
847         Likewise.
848         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
849         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
850         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
851         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
852         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
854         Likewise.
855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
856         Likewise.
857         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
858         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
859         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
861 2016-08-26  Florian Weimer  <fweimer@redhat.com>
863         [BZ #20432]
864         Avoid strong references to malloc-internal symbols when linking
865         statically, to support statically interposed mallocs.
866         * include/libc-symbols.h (call_function_static_weak): New macro.
867         * malloc/Makefile (tests): Add tst-interpose-nothread,
868         tst-interpose-thread, tst-interpose-static-nothread,
869         tst-interpose-static-thread.
870         (tests-static): Add tst-interpose-static-nothread,
871         tst-interpose-static-thread.
872         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
873         tst-interpose-aux-thread.o.
874         (test-extras): Add tst-interpose-aux-nothread,
875         tst-interpose-aux-thread.
876         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
877         tst-interpose-aux-nothread.o.
878         (tst-interpose-thread, tst-interpose-static-thread): Link with
879         tst-interpose-aux-thread.o and libthread.
880         * malloc/tst-interpose-aux-nothread.c: New file.
881         * malloc/tst-interpose-aux-thread.c: Likewise.
882         * malloc/tst-interpose-aux.c: Likewise.
883         * malloc/tst-interpose-aux.h: Likewise.
884         * malloc/tst-interpose-nothread.c: Likewise.
885         * malloc/tst-interpose-skeleton.c: Likewise.
886         * malloc/tst-interpose-static-nothread.c: Likewise.
887         * malloc/tst-interpose-static-thread.c: Likewise.
888         * malloc/tst-interpose-thread.c: Likewise.
889         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
890         * sysdeps/mach/hurd/fork.c (__fork): Only call
891         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
892         __malloc_fork_unlock_child if defined.
893         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
895 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
897         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
898         timespec C99 designated initialization.
900 2016-08-26  Florian Weimer  <fweimer@redhat.com>
902         [BZ #19946]
903         Avoid expected SIGALRM signals.
904         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
905         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
906         (xpthread_create, xpthread_detach, xpthread_join)
907         (delayed_exit_thread, delayed_exit): New functions.
908         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
909         (tf): Use xpthread_cond_wait.
910         (do_test): Likewise.  Replace alarm with delayed_exit.
911         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
912         (do_test): Call delayed_exit.  Report failure.
913         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
914         (do_test): Call delayed_exit.
915         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
916         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
917         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
918         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
919         error.
920         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
921         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
922         error.
923         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
924         (do_test): Call delayed_exit.
925         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
926         (do_test): Call delayed_exit.
927         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
928         (do_test): Call delayed_exit instead of alarm.  Use
929         xpthread_mutex_lock.
930         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
931         (do_test): Call delayed_exit instead of alarm.  Use
932         xpthread_mutex_lock.
933         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
934         (do_test): Call delayed_exit instead of alarm.
935         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
936         (do_test): Call delayed_exit instead of alarm.  Use
937         xpthread_spin_lock.
938         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
939         (do_test): Call delayed_exit instead of alarm.  Use
940         xpthread_join.
942 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
944         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
945         adjust CFA when allocating register save area on re-aligned
946         stack.
948 2016-08-26  Florian Weimer  <fweimer@redhat.com>
950         * string/tst-cmp.c: New test.
951         * string/Makefile (tests): Add it.
953 2016-08-25  Mark Wielaard  <mark@klomp.org>
955         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
956         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
957         (check_tree_recurse): Use newly defined accessors.
958         (check_tree): Likewise.
959         (maybe_split_for_insert): Likewise.
960         (__tfind): Likewise.
961         (__tdelete): Likewise.
962         (trecurse): Likewise.
963         (tdestroy_recurse): Likewise.
964         (__tsearch): Likewise. And add asserts for malloc alignment.
965         (__twalk): Cast root to node in case CHECK_TREE is defined.
967 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
969         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
971 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
973         * math/Makefile (libm-gen-calls): Add
974         catan, catanh, ctan, ctanh.
975         (libm-calls): Remove the above.
977         * math/s_catan_template.c: Update using type-generic macros.
978         * math/s_catanh_template.c: Likewise.
979         * math/s_ctan_template.c: Likewise.
980         * math/s_ctanh_template.c: Likewise.
982         * math/s_catanf.c: Removed.
983         * math/s_catan.c: Removed.
984         * math/s_catanl.c: Removed.
985         * math/s_catanhf.c: Removed.
986         * math/s_catanh.c: Removed.
987         * math/s_catanhl.c: Removed.
988         * math/s_ctanf.c: Removed.
989         * math/s_ctan.c: Removed.
990         * math/s_ctanl.c: Removed.
991         * math/s_ctanhf.c: Removed.
992         * math/s_ctanh.c: Removed.
993         * math/s_ctanhl.c: Removed.
995         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
996         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
997         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
998         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
999         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1000         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1002         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1003         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1004         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1005         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1007 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1009         * s_catan_template.c: Copy of s_catan.c.
1010         * s_catanh_template.c: Copy of s_catanh.c.
1011         * s_ctan_template.c: Copy of s_ctan.c.
1012         * s_ctanh_template.c: Copy of s_ctanh.c.
1014 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1016         * math/Makefile (gen-libm-calls): Move
1017         casin, casinh, csin, csinh here.
1018         (libm-calls): Remove the above.
1020         * math/s_casin_template.c: Update using type-generic macros.
1021         * math/s_casinh_template.c: Likewise.
1022         * math/s_csin_template.c: Likewise.
1023         * math/s_csinh_template.c: Likewise.
1024         * math/k_casinh_template.c: Likewise.
1026         * math/s_casinf.c: Removed.
1027         * math/s_casin.c: Removed.
1028         * math/s_casinl.c: Removed.
1029         * math/s_casinh.c: Removed.
1030         * math/s_casinhf.c: Removed.
1031         * math/s_casinhl.c: Removed.
1032         * math/s_csin.c: Removed.
1033         * math/s_csinf.c: Removed.
1034         * math/s_csinl.c: Removed.
1035         * math/s_csinh.c: Removed.
1036         * math/s_csinhf.c: Removed.
1037         * math/s_csinhl.c: Removed.
1038         * math/k_casinh.c: Removed.
1039         * math/k_casinhf.c: Removed.
1040         * math/k_casinhl.c: Removed.
1042         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1043         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1044         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1045         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1047         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1048         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1049         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1050         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1051         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1052         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1053         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1054         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1056         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1057         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1058         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1059         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1061         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1062         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1063         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1064         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1066 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1068         * s_casin_template.c: Copy of s_casin.c.
1069         * s_casinh_template.c: Copy of s_casinh.c.
1070         * s_csin_template.c: Copy of s_csin.c.
1071         * s_csinh_template.c: Copy of s_csinh.c.
1072         * k_casinh_template.c: Copy of k_casinh.c.
1074 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1076         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1078 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1080         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1081         (mul_split) Remove, rename as mul_splitl, remove
1082         redundant float.h include, and include via mul_splitl.h
1084         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1085         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1086         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1087         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1088         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1090         * math/mul_splitl.h: New file.
1092         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1093         Move into mul_split.h, and remove redundant float.h include.
1095         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1096         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1097         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1098         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1100         * math/mul_split.h: New file.
1102 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1104         * math/Makefile (libm-gen-calls): Move
1105         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1106         (libm-calls): Remove above.
1108         * math/s_cacos_template.c: Update using type-generic macros.
1109         * math/s_cacosh_template.c: Likewise.
1110         * math/s_ccos_template.c: Likewise.
1111         * math/s_ccosh_template.c: Likwise.
1113         * math/s_cacosf.c: Removed.
1114         * math/s_cacos.c: Removed.
1115         * math/s_cacosl.c: Removed.
1116         * math/s_cacoshf.c: Removed.
1117         * math/s_cacosh.c: Removed.
1118         * math/s_cacoshl.c: Removed.
1119         * math/s_ccosf.c: Removed.
1120         * math/s_ccos.c: Removed.
1121         * math/s_ccosl.c: Removed.
1122         * math/s_ccoshf.c: Removed.
1123         * math/s_ccosh.c: Removed.
1124         * math/s_ccoshl.c: Removed.
1126         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1127         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1128         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1129         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1130         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1131         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1133         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1134         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1135         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1136         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1138         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1139         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1140         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1141         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1143 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1145         * s_cacos_template.c: Copy of s_cacos.c.
1146         * s_cacosh_template.c: Copy of s_cacosh.c.
1147         * s_ccos_template.c: Copy of s_ccos.c.
1148         * s_ccosh_template.c: Copy of s_ccosh.c.
1150 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1152         * stdlib/tst-strtod-round-skeleton.c:
1153         Refactored from tst-strtod-round.c.
1155         (L_): New macro to apply literal modifier.
1156         (FNPFX): New macro to select str or wcs prefix.
1157         (CHAR): New macro to choose wchar_t or char.
1158         (STRM): New macro to choose printf for tested character type.
1160         (STRTO): New macro to choose appropriate string -> real function.
1161         (FNPFXS): Stringitized version of FNPFX.
1162         (STR): Support for above macro.
1163         (STRX): Likewise.
1165         (TEST): Update with above macros.
1166         (test): Likewise.
1167         (GEN_ONE_TEST): Likewise.
1168         (test_in_one_mode): Likewise.
1170         * stdlib/tst-strtod-round.c: New file.
1171         * wcsmbs/tst-wcstod-round.c: New file.
1173         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1174         (tst-wcstod-round): Add libm depencency for fesetround.
1176 2016-08-19  Zack Weinberg  <zackw@panix.com>
1178         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1180 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1182         [BZ #20477]
1183         * resolv/res_hconf.c (do_init): Use atomic access.
1184         * resolv/res_hconf.h: Add comments.
1185         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1186         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1187         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1189 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1191         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1192         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1193         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1194         Likewise.
1196 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1198         [BZ #16907]
1199         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1200         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1201         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1202         (__attribute__): Remove definition.
1204 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1206         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1207         Remove unused sqrtl declaration.
1209 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1211         * math/Makefile: (gen-libm-templates.stmp): New rule.
1212         (libm-calls): Move carg conj cimag and cabs into ...
1213         (gen-libm-calls): New variable.
1214         (generated): Inform Make objects from gen-libm-calls
1215         may be generated.
1217         * sysdeps/generic/math-type-macros.h: New file.
1218         * sysdeps/generic/math-type-macros-float.h: Likewise.
1219         * sysdeps/generic/math-type-macros-double.h: Likewise.
1220         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1221         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1222         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1224         * math/cabs.c: Refactor into
1225         * math/cabs_template.c: new file.
1226         * math/cabsf.c: Removed.
1227         * math/cabsl.c: Removed.
1228         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1229         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1231         * math/carg.c: Refactor into
1232         * math/carg_template.c: new file.
1233         * math/cargf.c: Removed.
1234         * math/cargl.c: Removed.
1235         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1236         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1238         * math/conj.c: Refactor into
1239         * math/conj_template.c: new file.
1240         * math/conjf.c: Removed.
1241         * math/conjl.c: Removed.
1242         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1243         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1245         * math/cimag.c: Refactor into
1246         * math/cimag_template.c: new file.
1247         * math/cimagf.c: Removed.
1248         * math/cimagl.c: Removed.
1249         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1250         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1252         * math/cimag.c: Refactor into
1253         * math/cimag_template.c: new file.
1254         * math/cimagf.c: Removed.
1255         * math/cimagl.c: Removed.
1256         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1257         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1259 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1261         Reduce time to expected nptl/tst-once5 failure.
1262         * nptl/tst-once5.cc (TIMEOUT): Define.
1264 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1266         [BZ #20452]
1267         Avoid additional copies of objects in libc.a in static libraries.
1268         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1269         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1270         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1271         rt-sysdep.
1272         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1273         Add nptl-sysdep.
1274         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1275         Add ptw-sysdep.
1276         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1277         rt-sysdep.
1278         * sysdeps/unix/sysv/linux/alpha/Makefile
1279         (libpthread-shared-only-routines): Add ptw-sysdep,
1280         ptw-sigprocmask, ptw-rt_sigaction.
1281         * sysdeps/unix/sysv/linux/ia64/Makefile
1282         (librt-shared-only-routines): Add rt-sysdep.
1283         * sysdeps/unix/sysv/linux/i386/Makefile
1284         (libpthread-shared-only-routines): Add libc-do-syscall.
1285         * sysdeps/unix/sysv/linux/microblaze/Makefile
1286         (libpthread-shared-only-routines): Add sysdep.
1287         * sysdeps/unix/sysv/linux/powerpc/Makefile
1288         (librt-shared-only-routines): Add rt-sysdep.
1289         (libpthread-shared-only-routines): Add sysdep.
1290         * sysdeps/unix/sysv/linux/s390/Makefile
1291         (librt-shared-only-routines): Add rt-sysdep.
1292         * sysdeps/unix/sysv/linux/sparc/Makefile
1293         (librt-shared-only-routines): Add rt-sysdep.
1294         (libpthread-shared-only-routines): Add sysdep.
1295         * sysdeps/unix/sysv/linux/tile/Makefile
1296         (libpthread-shared-only-routines): Likewise.
1298 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1300         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1301         Mask implicit bit out of unpacked value.
1302         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1303         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1304         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1306         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1308         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1310         * sysdeps/s390/fpu/fesetexcept.c: New file.
1312         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1313         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1314         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1316         * sysdeps/mips/fpu/fesetexcept.c: New file.
1318         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1320         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1322         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1324         * sysdeps/arm/fesetexcept.c: New file.
1326         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1328         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1330         * math/fesetexcept.c: New file.
1331         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1332         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1333         * math/fenv.h: Define
1334         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1335         <bits/libc-header-start.h> instead of including <features.h>.
1336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1337         declaration.
1338         * manual/arith.texi (fesetexcept): Document function.
1339         * math/Versions (fesetexcept): New libm symbol at version
1340         GLIBC_2.25.
1341         * math/Makefile (libm-support): Add fesetexcept.
1342         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1343         * math/test-fesetexcept.c: New file.
1344         * math/test-fesetexcept-traps.c: Likewise.
1345         * sysdeps/nacl/libm.abilist: Update.
1346         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1347         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1348         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1349         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1350         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1351         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1352         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1353         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1354         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1355         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1356         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1357         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1359         Likewise.
1360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1361         Likewise.
1362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1363         Likewise.
1364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1365         Likewise.
1366         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1367         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1368         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1369         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1370         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1372         Likewise.
1373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1374         Likewise.
1375         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1376         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1377         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1379 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1381         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1382         New.
1383         (do_test): Apply default_stack_size_in_mb if not set.
1384         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1386 2016-08-15  Andreas Schwab  <schwab@suse.de>
1388         [BZ #20435]
1389         CVE-2016-6323
1390         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1391         as .cantunwind.
1393 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1395         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1396         comment from fraiseexcpt.c.
1398         * math/test-fexcept.c (feraiseexcept_exact): New function.
1399         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1400         (test_except): Likewise.
1402 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1404         [BZ #20455]
1405         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1406         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1407         to be restored.
1409         * math/test-fexcept-traps.c: New file.
1410         * math/test-fexcept.c: Likewise.
1411         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1412         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1413         macro.
1414         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1415         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1417 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1419         * include/atomic.h (atomic_fetch_and_relaxed,
1420         atomic_fetch_and_release, atomic_fetch_or_release,
1421         atomic_fetch_xor_release): New.
1423 2016-08-06  Christian Seiler  <christian@iwakd.de>
1425         [BZ #20444]
1426         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1427         MACH_PORT_NULL.
1429 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1431         * math/s_fdim.c: Avoid alias renamed.
1432         * math/s_fdimf.c: Likewise.
1433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1434         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1435         Add s_fdimf-vis3, s_fdim-vis3.
1436         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1437         (CFLAGS-s_fdim-vis3.c): Likewise.
1438         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1439         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1441 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1444         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1445         Remove s_fdimf-vis3, s_fdim-vis3.
1446         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1447         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1454         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1455         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1457 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1459         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1460         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1461         -Wa,-Av9a -mvis.
1463 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1465         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1466         LIT() to individual constants in simple expressions
1467         after splitting on spaces.
1468         (_apply_lit): Rename replaced version, and use it to
1469         apply to what appears to be a token.
1471         * math/libm-test.inc: Fix many, many issues with
1472         spacing.
1474 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1476         * math/math.h: Move comment about <bits/mathdef.h> definitions
1477         above inclusion of <bits/mathdef.h>.  Do not mention
1478         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1480 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1482         * include/atomic.h (atomic_exchange_relaxed): New.
1484 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1486         * math/e_scalb.c: Do not include <fenv.h>.
1487         (invalid_fn): Do calculation resulting in NaN instead of raising
1488         FE_INVALID and returning a NaN explicitly.
1489         * math/e_scalbf.c: Do not include <fenv.h>.
1490         (invalid_fn): Do calculation resulting in NaN instead of raising
1491         FE_INVALID and returning a NaN explicitly.
1492         * math/e_scalbl.c: Do not include <fenv.h>.
1493         (invalid_fn): Do calculation resulting in NaN instead of raising
1494         FE_INVALID and returning a NaN explicitly.
1496 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1498         * po/de.po: Updated from Translation Project.
1499         * po/fi.po: Likewise.
1500         * po/sv.po: Likewise.
1502 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1504         [BZ #20452]
1505         Use sysdep.o from libc.a in static libraries.
1506         * sysdeps/unix/sysv/linux/i386/Makefile
1507         (libpthread-shared-only-routines): Add sysdep.
1508         (librt-shared-only-routines): Likewise.
1510 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1512         * math/tgmath.h (nextdown): Define if
1513         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1514         (nextup): Likewise.
1516         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1517         macro.
1518         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1519         Document.
1520         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1521         Document macro.
1522         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1523         (exp10f): Likewise.
1524         (exp10l): Likewise.
1525         * math/bits/mathcalls.h (exp10): Declare if
1526         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1528         * manual/arith.texi (nextup): Fix typo in last change.
1530 2016-08-03  Zack Weinberg  <zackw@panix.com>
1532         [BZ #19239]
1533         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1534         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1535         define major, minor, and makedev to issue deprecation warnings on use.
1536         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1537         previously-activated deprecation warnings for these macros and prevent
1538         subsequent inclusions of this header from having any effect.
1539         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1540         including <sys/sysmacros.h>, and undefine it again afterward.
1542 2016-08-03  Zack Weinberg  <zackw@panix.com>
1544         * sysdeps/generic/sys/sysmacros.h: Delete file.
1545         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1546         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1547         * bits/sysmacros.h: ... here; this encoding is now the generic
1548         encoding.  Now defines only the following macros:
1549         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1550         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1551         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1553         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1554         bits/sysmacros.h and the above new macros to generate the
1555         public implementations of major, minor, and makedev.
1556         * misc/tst-makedev.c: New test.
1557         * include/sys/sysmacros.h: New wrapper.
1559         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1560         (routines): Add makedev.
1561         (tests): Add tst-makedev.
1562         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1563         gnu_dev_makedev.
1564         * posix/Makefile (headers): Remove sys/sysmacros.h.
1565         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1567         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1568         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1569         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1570         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1571         * sysdeps/unix/sysv/linux/arm/libc.abilist
1572         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1573         * sysdeps/unix/sysv/linux/i386/libc.abilist
1574         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1575         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1576         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1577         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1578         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1579         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1580         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1581         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1582         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1587         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1588         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1589         * sysdeps/unix/sysv/linux/sh/libc.abilist
1590         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1591         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1594         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1595         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1596         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1597         Add GLIBC_2.25.
1599         * include/features.h (__glibc_clang_prereq): New macro.
1600         * misc/sys/cdefs.h (__glibc_clang_has_extension)
1601         (__attribute_deprecated_msg__): New macros.
1603 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1605         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1606         macro.
1607         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1608         * manual/arith.texi (issignaling): Document as ISO from TS
1609         18661-1:2014.
1610         (nextup): Likewise.
1611         (nextupf): Likewise.
1612         (nextupl): Likewise.
1613         (nextdown): Likewise.
1614         (nextdownf): Likewise.
1615         (nextdownl): Likewise.
1616         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1617         macro.
1618         * math/math.h: Define
1619         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1620         <bits/libc-header-start.h> instead of including <features.h>.
1621         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1622         [__USE_GNU].
1623         * math/bits/mathcalls.h (nextdown): Declare if
1624         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1625         (nextup): Likewise.
1626         (__issignaling): Likewise.
1628 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1630         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1631         check, and remove __glibc_likely hint
1632         from FP_INFINITE check.
1633         * s_csinhf.c (__csinhf): Likewise.
1635         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1636         hint from FP_INFINITE check.
1637         * s_csinhl.c (__csinhl): Likewise.
1639 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1641         * math/Makefile (libm-calls): Insert F placeholder into
1642         object names.  Move w_lgamma_compat* routines into
1643         (libm-compat-calls): New variable.
1644         (libm-compat-calls-ldouble-yes): New variable.
1645         (calls): Insert F placeholder.
1646         (generated): Redefine using new type-foreach macro call.
1647         (routines): Likewise.
1649         (types): New variable to hold a list of symbolic names
1650         for each type supported by the target machine.
1651         (libm-routines): Redefine using new types variable.
1652         (type-foreach): macro to replace fooF with the
1653         appropriately suffixed foo for each types.
1655         (type-ldouble-suffix): New variable.
1656         (type-ldouble-routines): Likewise.
1657         (type-ldouble-yes): Likewise.
1658         (type-double-suffix): Likewise.
1659         (type-double-routines): Likewise.
1660         (type-float-suffix): Likewise.
1661         (type-float-routines): Likewise.
1663         (dbl-only-routines): Remove.
1664         (long-c-yes): Likewise.
1665         (long-m-routines): Likewise.
1666         (long-m-support): Likewise.
1667         (long-m-yes): Likewise.
1668         (test-longdouble-yes): Likewise.
1670         (test-float.o): Simplify by increasing the scope of the
1671         recipe which adds libm-test.stmp to the vector types.
1672         (test-ifloat.o): Likewise.
1673         (test-float-finite.o): Likewise.
1674         (test-double.o): Likewise
1675         (test-idouble.o): Likewise.
1676         (test-double-finite.o): Likewise.
1677         (test-ldouble.o): Likewise
1678         (test-ildoubl.o): Likewise.
1679         (test-ldouble-finite.o): Likewise.
1681         (libm-tests): Redefine type tests using foreach and the
1682         list of types in types.
1684         (CPPFLAGS-test-ildoubl.c): Rename to
1685         (CPPFLAGS-test-ildouble.c): New variable
1687         * math/test-ildoubl.c: Rename to
1688         * math/test-ildouble.c: New file.
1690 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1692         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1693         Use fabsl instead of fabs.
1694         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1695         Likewise.
1696         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1697         Add long double suffix to constant to ensure proper
1698         promotion to long double.
1700 2016-08-03  Tom Tromey  <tom@tromey.com>
1702         [BZ #20311]
1703         * nptl_db/Makefile (headers): Add proc_service.h.
1704         * nptl_db/proc_service.h: Add include guard.  Use
1705         __BEGIN/__END_DECLS.
1706         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1707         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1708         arguments.
1711 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1713         [BZ #17730]
1714         Avoid using memalign for TCB allocations.
1715         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1716         (_dl_allocate_tls_storage): Use malloc and manual alignment.
1717         Avoid alignment gap in the TLS_DTV_AT_TP case.
1718         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1719         determine the pointer to free.
1720         * nptl/tst-tls3-malloc.c: New test.
1721         * nptl/Makefile (tests): Add it.
1722         (tst-tls3-malloc): Link with libdl, libpthread.
1723         (LDFLAGS-tst-tls3-malloc): Set.
1724         (tst-tls3-malloc.out): Depend on DSO used in test.
1726 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1728         [BZ #17730]
1729         Avoid using memalign for TLS allocations.
1730         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
1731         is_static member with to_free member.
1732         (union dtv): Use struct dtv_pointer.
1733         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1734         dtv_pointer instead of is_static.
1735         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1736         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1737         instead of val.
1738         (allocate_dtv_entry): New function.
1739         (allocate_and_init): Return struct dtv_pointer.  Call
1740         allocate_dtv_entry instead of __libc_memalign.
1741         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1742         instead of val.
1743         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1744         instead of is_static.  Adjust call to allocate_and_init.
1745         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1746         struct dtv_pointer instead of val.
1748 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1750         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1751         (MALLOC_ALIGN_MASK): Move ...
1752         * malloc/malloc-internal.h: ... to here.
1753         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1755 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1757         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1758         (UDP_ENCAP_GTP1U): Likewise.
1760         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1761         (PF_MAX): Update value.
1762         (AF_QIPCRTR): New macro.
1764 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1766         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1767         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1768         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1769         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1770         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1771         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1772         s_truncf-vis3, s_trunc-vis3.
1773         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1774         (CFLAGS-s_ceil-vis3.c): Likewise.
1775         (CFLAGS-s_floorf-vis3.c): Likewise.
1776         (CFLAGS-s_floor-vis3.c): Likewise.
1777         (CFLAGS-s_truncf-vis3.c): Likewise.
1778         (CFLAGS-s_trunc-vis3.c): Likewise.
1779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1781         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1782         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1783         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1784         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1785         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1786         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1787         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1788         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1789         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1790         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1792 2016-08-02  David S. Miller  <davem@davemloft.net>
1794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1795         (__nearbyint_vis3): Don't check for sNaN before float register is
1796         loaded with the incoming argument.
1797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1798         (__nearbyintf_vis3): Likewise.
1799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1800         Likewise.
1801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1802         Likewise.
1804         * string/test-strncmp.c (do_test_limit): Make sure the test data
1805         stream is aligned as required for the type "CHAR".
1806         (do_test): Likewise.
1808 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1810         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
1811         by beq instructions jumping to the end of the function.
1812         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1813         clobber list. Use "i" constraint instead of "X".
1814         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1815         of "X".
1817 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
1819         * bits/libc-header-start.h: New file.
1820         * Makefile (headers): Add bits/libc-header-start.h.
1821         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1822         (__GLIBC_USE): New macro.
1823         * libio/stdio.h: Define
1824         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1825         <bits/libc-header-start.h> instead of including <features.h>.
1826         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1827         (open_memstream): Likewise.
1828         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1829         (__asprintf): Likewise.
1830         (asprintf): Likewise.
1831         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1832         (getdelim): Likewise.
1833         (getline): Likewise.
1834         * string/string.h: Define
1835         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1836         <bits/libc-header-start.h> instead of including <features.h>.
1837         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1838         (strndup): Likewise.
1839         * wcsmbs/wchar.h: Define
1840         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1841         <bits/libc-header-start.h> instead of including <features.h>.
1842         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1843         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1845 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1847         Support linking against compatibility symbols, for use in tests.
1848         * include/libc-symbols.h (symbol_version_reference): New macro.
1849         (symbol_version): Use it.
1850         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1851         (compat_symbol): Use compat_symbol_reference.
1852         (compat_symbol_1, compat_symbol_2): Remove.
1853         (compat_symbol_reference, compat_symbol_reference_1)
1854         (compat_symbol_reference_2): New macro.  Use
1855         symbol_version_reference.
1857 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1859         [BZ #19469]
1860         * malloc/Makefile (CPPFLAGS): Compile tests with
1861         -DTEST_NO_MALLOPT.
1862         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1864 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
1866         [BZ #20033]
1867         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1868         finite version.
1869         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1870         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1871         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1872         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1873         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1874         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1875         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1876         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1877         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1878         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1879         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1880         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1881         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1882         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1883         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1884         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1885         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1886         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1887         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1888         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1889         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1890         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1891         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1892         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1893         in zero power.
1895 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1897         [BZ #20370]
1898         * malloc/arena.c (get_free_list): Update comment.  Assert that
1899         arenas on the free list have no attached threads.
1900         (remove_from_free_list): New function.
1901         (reused_arena): Call it.
1903 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
1905         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1906         when it is a NaN.
1907         [_IEEE_FP_INEXACT] Remove.
1908         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1909         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1910         when it is a NaN.
1911         [_IEEE_FP_INEXACT] Remove.
1912         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1913         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1914         when it is a NaN.
1915         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1916         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1917         when its absolute value is greater than 0x1.0p52.
1918         [_IEEE_FP_INEXACT] Remove.
1919         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1920         when its absolute value is greater than 0x1.0p23.
1921         [_IEEE_FP_INEXACT] Remove.
1923 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
1925         * version.h (RELEASE): Set to "development"
1926         (VERSION): Set to 2.24.90.
1927         * NEWS: Add 2.25 section.
1929         * version.h (RELEASE): Set to "stable"
1930         (VERSION): Set to 2.24.
1931         * include/features.h (__GLIBC_MINOR__): Set to 24.
1933         * NEWS: Add 2.24 fixed bugs.
1934         * po/libc.pot: Regenerate.
1936 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
1938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1939         [$(subdir) = math] (libm-sysdep_routines): Remove.
1940         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1941         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1942         s_truncf-vis3, s_trunc-vis3.
1943         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1945         file.
1946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1970         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1974         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1975         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
1977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1979         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
1980         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
1981         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
1982         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
1983         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1984         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1985         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
1986         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
1987         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
1988         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
1990 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1992         [BZ #20384]
1993         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
1994         test-double-libmvec-sincos-avx-main.o,
1995         test-double-libmvec-sincos-avx2-main.o,
1996         test-double-libmvec-sincos-main.o,
1997         test-float-libmvec-sincosf-avx-main.o,
1998         test-float-libmvec-sincosf-avx2-main.o and
1999         test-float-libmvec-sincosf-main.o.
2000         test-float-libmvec-sincosf-avx512-main.o.
2001         ($(objpfx)test-double-libmvec-sincos): Also link with
2002         $(objpfx)test-double-libmvec-sincos-main.o.
2003         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2004         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2005         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2006         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2007         ($(objpfx)test-float-libmvec-sincosf): Also link with
2008         $(objpfx)test-float-libmvec-sincosf-main.o.
2009         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2010         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2011         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2012         test-double-libmvec-sincos-avx512-main.o and
2013         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2014         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2015         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2016         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2017         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2018         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2019         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2020         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2021         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2022         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2023         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2024         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2025         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2026         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2027         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2028         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2029         -DREQUIRE_AVX2.
2030         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2031         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2032         -DREQUIRE_AVX512F.
2033         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2034         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2035         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2036         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2037         file.
2038         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2039         Likewise.
2040         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2041         Likewise.
2042         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2043         Likewise.
2044         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2045         Likewise.
2046         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2047         Likewise.
2048         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2049         Likewise.
2050         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2051         Likewise.
2053 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2055         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2057 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2059         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2060         and typo in a comment about AT_HWCAP entry.
2062 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2064         * sysdeps/aarch64/libm-test-ulps: Updated.
2066 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2068         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2069         of r13 as it is not restored in mvcle case.
2071 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2073         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2074         Rename "ret" to "__ret".
2075         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2076         inline_syscall5, inline_syscall6): Likewise.
2078 2016-07-19   Will Newton  <will.newton@gmail.com>
2080         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2081         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2082         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2083         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2084         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2086 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2088         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2089         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2090         -mfpmath=387 with $(rtld-CFLAGS).
2091         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2092         $(rtld-CFLAGS).
2094 2016-07-18   Ross Burton  <ross.burton@intel.com>
2095              Khem Raj  <raj.khem@gmail.com>
2097         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2098         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2099         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2100         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2101         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2102         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2103         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2104         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2105         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2106         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2107         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2108         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2109         R_METAG_TLS_DTPOFF): New.
2111 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2112             Matt Clay  <mclay@lycos.com>
2114         [BZ #20357]
2115         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2116         to call __mpsin/__mpcos and to negate values.
2117         * math/auto-libm-test-in: Add test.
2118         * math/auto-libm-test-out: Regenerate.
2120 2016-07-18  Zack Weinberg  <zackw@panix.com>
2122         * grp/Makefile: Don't install the internal header grp-merge.h.
2124 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2126         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2128 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2130         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2132 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2134         [BZ #15368]
2135         * sysdeps/unix/sysv/linux/nptl-signals.h
2136         (__nptl_clear_internal_signals): New function.
2137         (__libc_signal_block_all): Likewise.
2138         (__libc_signal_block_app): Likewise.
2139         (__libc_signal_restore_set): Likewise.
2140         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2141         implementation.
2142         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2143         the cached pid/tid value in pthread structure.
2145 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2147         [BZ #20347]
2148         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2150 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2152         [BZ #20348]
2153         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2154         preadv64, pwrite64 and pwritev64.
2156 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2158         [BZ #20350]
2159         * posix/tst-preadwrite.c: Renamed to ...
2160         * posix/tst-preadwrite-common.c: This.
2161         (PREAD): Removed.
2162         (PWRITE): Likewise.
2163         (STRINGIFY): Likewise.
2164         (STRINGIFY2): Likewise.
2165         (do_prepare): Make it static and remove function arguments.
2166         (do_test): Likewise.
2167         (PREPARE): Updated.
2168         (TEST_FUNCTION): New.
2169         (name): Make it static.
2170         (fd): Likewise.
2171         (do_prepare): Use create_temp_file.
2172         (do_test): Renamed to ...
2173         (do_test_with_offset): This.  Make it static and accept offset.
2174         Properly check return value of PWRITE and PREAD.  Return bytes
2175         read.  Don't close fd nor unlink name.
2176         * posix/tst-preadwrite.c: Rewrite.
2177         * posix/tst-preadwrite64.c: Likewise.
2179 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2181         [BZ #20309]
2182         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2183         -mtls-dialect=gnu2 works.
2184         * configure: Regenerated.
2185         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2186         (tests): Add tst-gnu2-tls1.
2187         (modules-names): Add tst-gnu2-tls1mod.
2188         ($(objpfx)tst-gnu2-tls1): New.
2189         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2190         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2191         * elf/tst-gnu2-tls1.c: New file.
2192         * elf/tst-gnu2-tls1mod.c: Likewise.
2193         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2194         bytes for push in the PLT entry to align the stack.
2196 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2198         [BZ #20349]
2199         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2201 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2203         [BZ #18707]
2204         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2205         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2207 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2209         * sysdeps/unix/sysv/linux/sysdep.h
2210         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2211         guards.
2212         * misc/tst-preadvwritev-common.c: New file.
2213         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2214         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2215         a check for files larger than 2GB.
2217         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2218         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2219         * sysdeps/unix/sysv/linux/pread.c
2220         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2221         __OFF_T_MATCHES_OFF64_T.
2222         * sysdeps/unix/sysv/linux/pread64.c
2223         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2224         * sysdeps/unix/sysv/linux/preadv.c
2225         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2226         * sysdeps/unix/sysv/linux/preadv64.c
2227         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2228         * sysdeps/unix/sysv/linux/pwrite.c
2229         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2230         * sysdeps/unix/sysv/linux/pwrite64.c
2231         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2232         * sysdeps/unix/sysv/linux/pwritev.c
2233         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2234         * sysdeps/unix/sysv/linux/pwritev64.c
2235         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2237 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2239         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2240         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2242 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2244         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2246 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2248         [BZ #20240]
2249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2250         (CFLAGS-s_modf-ppc32.c): New variable.
2251         (CFLAGS-s_modff-ppc32.c): Likewise.
2252         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2253         (CFLAGS-s_modf-ppc64.c): Likewise.
2254         (CFLAGS-s_modff-ppc64.c): Likewise.
2256 2016-07-07  Andreas Schwab  <schwab@suse.de>
2258         [BZ #20263]
2259         * nptl/tst-robust10.c: New test.
2260         * nptl/Makefile (tests): Add tst-robust10.
2262 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2264         [BZ #20263]
2265         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2267 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2269         * sysdeps/s390/linkmap.h (struct link_map_machine):
2270         Remove member gotplt and add member jmprel.
2271         * sysdeps/s390/s390-32/dl-machine.h
2272         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2273         instead of gotplt with &got[3].
2274         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2275         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2277 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2279         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2281 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2283         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2284         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2285         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2286         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2287         * libio/vtables.c (_IO_vtable_check)
2288         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2289         * libio/libioP.h (IO_set_accept_foreign_vtables)
2290         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2292 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2294         [BZ #20314]
2295         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2296         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2297         $(common-objpfx)cmath.
2298         ($(common-objpfx)cstdlib): New target.
2299         ($(common-objpfx)cmath): Likewise.
2301 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2303         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2305 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2307         [BZ #20327]
2308         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2309         are not part of the string.
2311 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2313         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2314         * nptl/tst-cancel4-common.h (fifoname): New variable.
2315         (fifofd): Likewise.
2316         (cl_fifo): New function.
2317         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2318         SIGINT.
2319         (tf_open): Add early cancel test.
2321 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2323         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2325 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2327         * sysdeps/generic/ldsodefs.h
2328         (dl_symbol_visibility_binds_local_p): New inline function.
2329         * elf/dl-addr.c (determine_info): Treat hidden and internal
2330         symbols as local.
2331         * elf/dl-lookup.c (do_lookup_x): Likewise.
2332         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2334 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2336         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2337         invalid exception for a sNaN input.
2338         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2339         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2340         (__nearbyint_vis3): Likewise
2341         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2342         (__nearbyintf_vis3): Likewise
2343         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2344         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2345         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2346         Likewise.
2347         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2348         Likewise.
2350 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2352         [BZ #20139]
2353         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2354         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2355         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2356         2.24 or above.
2357         (HAVE_AVX512_ASM_SUPPORT): Removed.
2358         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2359         * sysdeps/x86_64/configure: Regenerated.
2360         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2361         check unconditional.
2362         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2363         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2364         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2365         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2366         Likewise.
2367         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2368         Likewise.
2369         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2370         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2371         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2372         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2373         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2374         Likewise.
2375         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2376         Likewise.
2377         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2378         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2379         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2380         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2381         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2382         Likewise.
2383         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2384         Likewise.
2385         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2386         Likewise.
2387         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2388         Likewise.
2389         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2390         Likewise.
2391         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2392         Likewise.
2393         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2394         Likewise.
2395         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2396         Likewise.
2397         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2398         Likewise.
2399         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2400         Likewise.
2401         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2402         Likewise.
2404 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2406         [BZ #20024]
2407         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2408         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2409         of this implementation of vector function.
2410         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2411         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2412         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2413         Likewise.
2414         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2415         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2416         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2417         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2418         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2419         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2420         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2421         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2422         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2423         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2424         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2425         for testing vector sincos with fixed ABI.
2426         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2427         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2428         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2429         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2430         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2431         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2432         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2433         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2434         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2435         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2436         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2437         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2438         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2439         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2440         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2441         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2443 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2445         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2447 2016-06-30  Anton Blanchard  <anton@samba.org>
2449         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2450         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2451         s_sinf-ppc64.
2452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2455         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2457 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2460         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2461         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2462         e_expf-ppc64.
2463         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2464         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2465         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2466         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2468 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2470         [BZ #20277]
2471         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2472         when SHARED is defined.
2474 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2476         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2477         (index_arch_Prefer_ERMS): Likewise.
2478         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2479         __memcpy_erms for Prefer_ERMS.
2480         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2481         (__memmove_erms): Enabled for libc.a.
2482         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2483         __memmove_erms or Prefer_ERMS.
2484         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2485         __mempcpy_erms for Prefer_ERMS.
2486         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2487         __memset_erms for Prefer_ERMS.
2489 2016-06-30  Andreas Schwab  <schwab@suse.de>
2491         [BZ #20262]
2492         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2493         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2494         of memory.
2496 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2498         [BZ #18645]
2499         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2500         (test-extras): Add tst-cleanupx4aux.
2501         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2502         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2503         tst-cleanupx4aux.o.
2504         * nptl/tst-cleanupx4aux.c: New file.
2506 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2508         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2510 2016-06-29  Andreas Schwab  <schwab@suse.de>
2512         [BZ #20260]
2513         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2514         address before the beginning of the string as an integer to avoid
2515         array-bounds warning.
2517 2016-06-28  Richard Henderson  <rth@redhat.com>
2519         * elf/elf.h (EM_BPF): New.
2520         (EM_NUM): Update.
2521         (R_BPF_NONE, R_BPF_MAP_FD): New.
2523         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2524         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2525         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2526         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2527         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2528         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2529         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2530         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2531         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2532         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2533         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2534         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2535         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2536         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2537         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2538         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2539         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2540         (EM_NUM): Update.
2542 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2544         [BZ #18960]
2545         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2546         Set _nl_current_LC_CATEGORY_used to two instead of one.
2548 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2550         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2551         (do_test): ... this.
2552         (TEST_FUNCTION): New macro.
2553          Include test-skeleton.c.
2554         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2555         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2557 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2559         [BZ #15479]
2560         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2561         floating-point environment rather than just control word.
2562         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2563         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2564         floating-point environment, with "invalid" exceptions merged in,
2565         rather than just control word.
2566         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2567         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2568         "inexact" exceptions.
2570         [BZ #15479]
2571         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2572         floating-point environment rather than just control word.
2573         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2574         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2575         floating-point environment, with "invalid" exceptions merged in,
2576         rather than just control word.
2577         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2578         * math/libm-test.inc (floor_test_data): Do not allow spurious
2579         "inexact" exceptions.
2581         [BZ #15479]
2582         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2583         floating-point environment rather than just control word.
2584         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2585         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2586         floating-point environment, with "invalid" exceptions merged in,
2587         rather than just control word.
2588         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2589         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2590         "inexact" exceptions.
2592 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
2594         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2595         __libc_vfork.
2596         (__vfork) [IS_IN (libc)]: Remove alias.
2597         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2598         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2599         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2601 2016-06-24  Torvald Riegel  <triegel@redhat.com>
2603         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2604         of atomic_compare_and_exchange_bool_rel.
2605         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2606         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2607         catomic_compare_and_exchange_bool_rel): Remove.
2608         * sysdeps/aarch64/atomic-machine.h
2609         (atomic_compare_and_exchange_bool_rel): Likewise.
2610         * sysdeps/alpha/atomic-machine.h
2611         (atomic_compare_and_exchange_bool_rel): Likewise.
2612         * sysdeps/arm/atomic-machine.h
2613         (atomic_compare_and_exchange_bool_rel): Likewise.
2614         * sysdeps/mips/atomic-machine.h
2615         (atomic_compare_and_exchange_bool_rel): Likewise.
2616         * sysdeps/microblaze/atomic-machine.h
2617         ( __arch_compare_and_exchange_bool_8_rel,
2618         __arch_compare_and_exchange_bool_16_rel): Likewise.
2619         * sysdeps/powerpc/atomic-machine.h
2620         ( __arch_compare_and_exchange_bool_8_rel,
2621         __arch_compare_and_exchange_bool_16_rel): Likewise.
2622         * sysdeps/powerpc/powerpc32/atomic-machine.h
2623         ( __arch_compare_and_exchange_bool_32_rel,
2624         __arch_compare_and_exchange_bool_64_rel): Likewise.
2625         * sysdeps/powerpc/powerpc64/atomic-machine.h
2626         ( __arch_compare_and_exchange_bool_32_rel,
2627         __arch_compare_and_exchange_bool_64_rel): Likewise.
2628         * sysdeps/tile/atomic-machine.h
2629         (atomic_compare_and_exchange_bool_rel): Likewise.
2631 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
2633         [BZ #20296]
2634         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2635         when either argument is a NaN.
2636         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2637         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2639         * math/libm-test.inc (snan_value_ld): New macro.
2640         (isgreater_test_data): Add sNaN tests.
2641         (isgreaterequal_test_data): Likewise.
2642         (isless_test_data): Likewise.
2643         (islessequal_test_data): Likewise.
2644         (islessgreater_test_data): Likewise.
2645         (isunordered_test_data): Likewise.
2646         (nextafter_test_data): Likewise.
2647         (nexttoward_test_data): Likewise.
2648         (remainder_test_data): Likewise.
2649         (remquo_test_data): Likewise.
2650         (significand_test_data): Likewise.
2651         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2653 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2655         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2656         environment macros are defined.
2657         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2659 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2661         [BZ #20191]
2662         Implement vtable verification in libio.
2663         * Makerules (shlib.lds): Place __libc_IO_vtables section.
2664         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2665         * debug/vdprintf_chk.c (__vdprintf_chk): Call
2666         _IO_new_file_init_internal instead of _IO_file_init.
2667         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2668         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2669         * libio/Makefile (routines): Add vtables.
2670         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2671         (_IO_init): Remove, not for internal use.
2672         (_IO_init_internal): Declare, internal replacement for _IO_init.
2673         (_IO_file_init): Remove, not for internal use.
2674         (_IO_new_file_init): Remove, not for internal use.
2675         (_IO_new_file_init_internal): Declare, internal replacement for
2676         _IO_new_file_init.
2677         (_IO_old_file_init): Remove, not for internal use.
2678         (_IO_old_file_init_internal): Declare, internal replacement for
2679         _IO_old_file_init.
2680         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2681         internal use.
2682         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2683         Declare.
2684         (libio_vtable): New macro.
2685         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2686         functions.
2687         * libio/fileops.c (_IO_new_file_init_internal): Rename from
2688         _IO_new_file_init.
2689         (_IO_new_file_init): New externally visible wrapper which disables
2690         vtable verification.
2691         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2692         Define as vtables.
2693         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2694         (_IO_init): New externally visible wrapper which disables
2695         vtable verification.
2696         * libio/iofdopen.c (_IO_new_fdopen): Call
2697         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
2698         comment.
2699         * libio/iofopen.c (__fopen_internal): Call
2700         _IO_new_file_init_internal instead of _IO_file_init.
2701         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2702         Define as vtables.
2703         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2704         _IO_new_file_init_internal instead of _IO_file_init.
2705         * libio/iopopen.c (_IO_new_popen): Likewise.
2706         (_IO_proc_jumps): Define as vtable.
2707         * libio/iovdprintf.c (_IO_vdprintf): Call
2708         _IO_new_file_init_internal instead of _IO_file_init.
2709         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2710         (__open_memstream): Call _IO_init_internal instead of _IO_init.
2711         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2712         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2713         _IO_old_file_init.
2714         (_IO_old_file_init): New externally visible wrapper which disables
2715         vtable verification.
2716         (_IO_old_file_jumps): Define as vtable.
2717         * libio/oldiofdopen.c (_IO_old_fdopen): Call
2718         _IO_old_file_init_internal instead of _IO_old_file_init.
2719         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2720         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2721         (_IO_old_proc_jumps): Define as vtable.
2722         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2723         Define as vtables.
2724         * libio/vtables.c: New file.
2725         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2726         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2727         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2728         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2729         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2730         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2731         instead of _IO_init.
2733 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2735         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2737 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2739         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2740         potentially unused.
2742 2016-06-22  Florian Weimer  <fweimer@redhat.com>
2744         * test-skeleton.c (write_message): New function.
2745         * malloc/tst-mallocfork2.c (write_message): Remove.
2746         * debug/tst-longjmp_chk2.c (write_indented): New function.
2747         (write_message): Remove.
2748         (stackoverflow_handler): Call write_indented.
2750 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
2752         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2753         "inexact" exceptions after fnstenv.
2754         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2755         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2756         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2758 2015-06-22  Zack Weinberg  <zackw@panix.com>
2760         * sysdeps/generic/bits/hwcap.h: Moved to ...
2761         * bits/hwcap.h: Here.
2763 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
2765         * sysdeps/aarch64/memcpy.S (memcpy):
2766         Further tuning for performance.
2768 2016-06-21  Florian Weimer  <fweimer@redhat.com>
2770         [BZ #20284]
2771         * malloc/arena.c (reused_arena): Do not return NULL if we start
2772         out with a non-corrupted arena.
2774 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2776         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2777         * misc/tst-preadvwritev.c: New file.
2778         * misc/tst-preadvwritev64.c: Likewise.
2779         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2780         usage.
2781         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2782         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2783         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2784         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2786 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
2788         [BZ #19654]
2789         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2790         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2791         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2792         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2793         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2794         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2795         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2796         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2797         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2798         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2799         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2800         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2801         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2802         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
2803         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
2804         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
2805         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
2806         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
2807         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
2808         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
2809         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
2810         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
2811         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
2812         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2813         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2814         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2816 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2818         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2819         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2821 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2823         * sysdeps/aarch64/memcpy.S (memcpy):
2824         Rewrite of optimized memcpy and memmove.
2825         * sysdeps/aarch64/memmove.S (memmove): Remove
2826         memmove code (merged into memcpy.S).
2828 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2830         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2831         * sysdeps/generic/dl-dtv.h: New file.
2832         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2833         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2834         (dtv_t): Remove.
2835         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2836         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2837         (dtv_t): Remove.
2838         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2839         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2840         (dtv_t): Remove.
2841         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2842         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2843         (dtv_t): Remove.
2844         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2845         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2846         (dtv_t): Remove.
2847         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2848         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2849         (dtv_t): Remove.
2850         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2851         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2852         (dtv_t): Remove.
2853         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2854         (dtv_t): Remove.
2855         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2856         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2857         (dtv_t): Remove.
2858         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2859         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2860         (dtv_t): Remove.
2861         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2862         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2863         (dtv_t): Remove.
2864         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2865         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2866         (dtv_t): Remove.
2867         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2868         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2869         (dtv_t): Remove.
2870         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2871         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2872         (dtv_t): Remove.
2873         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2874         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2875         (dtv_t): Remove.
2876         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2877         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2878         (dtv_t): Remove.
2880 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2882         Revert symbol poisoning of  __malloc_initialize_hook.
2883         * include/stdc-predef.h (__malloc_initialize_hook): Remove
2884         poisoning.
2885         * malloc/Makefile: Remove un-poisoning.
2886         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2887         instead of old__malloc_initialize_hook.
2888         * malloc/malloc-hooks.h: Likewise.
2889         * malloc/malloc.c: Likewise.
2890         * malloc/mcheck-init.c: Likewise.
2892 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
2894         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2896 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
2898         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2899         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2900         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2901         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2903 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2905         * NEWS: Mention addition of nextup and nextdown.
2906         * manual/arith.texi: Document nextup and nextdown.
2907         * manual/libm-err-tab.pl: Add nextup and nextdown.
2908         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2909         * math/Versions (libm): Add GLIBC_2.24.
2910         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2911         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2912         Add new test.
2913         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2914         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2915         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2916         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2917         (nextup_test_data): Likewise.
2918         (nextdown_test_data): Likewise.
2919         * math/s_nextdown.c: New file.
2920         * math/s_nextdownf.c: Likewise.
2921         * math/s_nextdownl.c: Likewise.
2922         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2923         F(nextup): New function.
2924         F(nextdown): Likewise.
2925         * math/tgmath.h: Add nextup and nextdown.
2926         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2927         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2928         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2929         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2930         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2931         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2932         Add nextup and nextdown.
2933         (CFLAGS-nldbl-nextup.c): New variable.
2934         (CFLAGS-nldbl-nextdown.c): Likewise.
2935         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2936         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2937         * sysdeps/nacl/libm.abilist: Update.
2938         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2939         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2940         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2941         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2942         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2943         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2944         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2945         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2946         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2947         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2948         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2949         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2952         Likewise.
2953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2955         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2956         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2957         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2958         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2959         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2962         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2963         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2964         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2965         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2967 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2969         * manual/pattern.texi: Fix typos & grammar errors.
2971 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2973         * manual/search.texi: Fix typos & grammar errors.
2975 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2977         * manual/message.texi: Fix typos & grammar errors.
2979 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
2981         * manual/contrib.texi: Fix spelling typos.
2982         * manual/crypt.texi: Likewise.
2983         * manual/filesys.texi: Likewise.
2984         * manual/locale.texi: Likewise.
2985         * manual/message.texi: Likewise.
2986         * manual/nss.texi: Likewise.
2987         * manual/string.texi: Likewise.
2989 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2991         * manual/locale.texi: Fix typos & grammar errors.
2993 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2995         * manual/charset.texi: Fix typos & grammar errors.
2997 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2999         * manual/string.texi: Fix typos.
3001 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3003         * manual/ctype.texi: Fix typos.
3005 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3007         * manual/memory.texi: Fix various typos & grammar errors.
3009 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3011         [BZ #20255]
3012         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3013         * math/libm-test.inc (fdim_test_data): Add another test.
3015         [BZ #6796]
3016         [BZ #20255]
3017         [BZ #20256]
3018         * math/s_fdim.c: Include <math_private.h>.
3019         (__fdim): Use math_narrow_eval on result.
3020         * math/s_fdimf.c: Include <math_private.h>.
3021         (__fdimf): Use math_narrow_eval on result.
3022         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3023         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3024         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3025         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3026         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3027         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3028         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3029         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3030         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3031         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3032         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3033         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3034         overflow.  Add sNaN tests.
3036         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3037         fpclassify.
3038         * math/s_fdimf.c (__fdimf): Likewise.
3039         * math/s_fdiml.c (__fdiml): Likewise.
3041 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3043         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3044         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3046         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3047         ifunc'ed strcasecmp/strncasecmp.
3048         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3049         [EALIGN]: Removed.
3050         [END]: Likewise.
3051         [__strcasecmp]: Define instead of the above to control symbol name.
3052         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3053         for __strcasecmp_power8.
3054         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3055         for __strncasecmp_power8.
3056         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3057         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3058         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3059         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3060         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3061         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3063 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3065         [BZ #20252]
3066         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3067         arguments when second argument is a NaN.
3068         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3069         qNaN tests.
3071         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3072         (conj_test_data): Likewise.
3073         (copysign_test_data): Likewise.
3074         (creal_test_data): Likewise.
3075         (fma_test_data): Likewise.
3076         (fmod_test_data): Likewise.
3078         [BZ #20250]
3079         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3080         itself.
3081         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3082         zero input to itself.
3083         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3084         Likewise.
3085         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3086         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3087         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3088         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3089         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3091 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3093         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3094         * nptl/tst-cancel4-common.c: New file.
3095         * nptl/tst-cancel4-common.h: Likewise.
3096         * nptl/tst-cancel4.c: Move common definitions to
3097         tst-cancel4-common.{c,h} file.
3098         * nptl/tst-cancel4_1.c: New test.
3099         * nptl/tst-cancel4_2.c: New test.
3101 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3103         [BZ #20248]
3104         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3105         (write_message): New function.
3106         (stackoverflow_handler): Call it instead of printf, to avoid
3107         excessive stack usage by printf.
3108         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3110 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3112         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3113         (prio_inherit_missing): Remove define.
3114         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3115         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3116         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3117         Likewise.
3118         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3119         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3120         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3121         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3122         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3123         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3125 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3127         [BZ #19670]
3128         [BZ #19672]
3130         * io/test-lfs.c (do_prepare): Use xmalloc.
3131         * io/tst-fcntl.c (do_prepare): Likewise.
3132         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3133         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3134         * login/tst-utmp.c (do_prepare): Likewise.
3135         * posix/tst-exec.c (do_prepare): Likewise.
3136         * posix/tst-pathconf.c (prepare): Likewise.
3137         * posix/tst-spawn.c (do_prepare): Likewise.
3138         * posix/tst-truncate.c (do_prepare): Likewise.
3139         * rt/tst-aio.c (do_prepare): Likewise.
3140         * rt/tst-aio64.c (do_prepare): Likewise.
3142 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3144         [BZ #20237]
3145         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3146         (get*ent): Set entidx to NULL during initialization.  If entidx is
3147         NULL, start iteration from the beginning.
3149 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3151         * malloc/malloc.c (musable): Return correct size for dumped fake
3152         mmapped chunk.
3154 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3156         [BZ #20222]
3157         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3158         (_IO_cookie_write): Likewise.
3159         (_IO_cookie_seek): Likewise.
3160         (_IO_cookie_close): Likewise.
3161         (_IO_old_cookie_seek): Likewise.
3162         (set_callbacks): New function.
3163         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3165 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3167         * locale/programs/localedef.c (oldstyle_tables): Remove.
3168         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3170 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3172         [BZ #20240]
3173         * math/Makefile (CFLAGS-s_modf.c): New variable.
3174         (CFLAGS-s_modff.c): Likewise.
3175         (CFLAGS-s_modfl.c): Likewise.
3176         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3178 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3180         [BZ #20215]
3181         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3182         [!__GNUC_PREREQ (3,2)]: Likewise.
3184 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3186         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3187         (msghdr.msg_controllen): Likewise.
3188         (cmsghdr.cmsg_len): Likewise.
3189         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3190         ptw-oldsendmsg.
3191         (CFLAGS-oldrecvmsg.c): Remove rule.
3192         (CFLAGS-oldsendmsg.c): Likewise.
3193         (CFLAGS-recvmsg.c): Add rule.
3194         (CFLAGS-sendmsg.c): Likewise.
3195         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3196         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3197         (CFLAGS-recvmsg.c): Remove rule.
3198         (CFLAGS-sendmsg.c): Likewise.
3199         (CFLAGS-oldrecvmsg.c): Likewise.
3200         (CFLAGS-oldsendmsg.c): Likewise.
3201         (CFLAGS-recvmmsg.c): Likewise.
3202         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3203         to kernel defined interfaces.
3204         (msghdr.msg_controllen): Likewise.
3205         (cmsghdr.cmsg_len): Likewise.
3206         (msghdr.__glibc_reserved1): Remove member.
3207         (msghdr.__glibc_reserved2): Likewise.
3208         (cmsghdr.__glibc_reserved1): Likewise.
3209         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3210         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3211         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3212         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3213         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3214         version.
3215         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3216         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3217         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3218         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3219         Remove recvmsg and sendmsg.
3220         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3221         Likewise.
3222         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3223         Likewise.
3224         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3225         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3226         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3227         Likewise.
3228         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3229         Likewise.
3230         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3231         [libc] (GLIBC_2.24): Likewise.
3232         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3233         Likewise.
3234         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3235         Likewise.
3236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3237         [libc] (GLIBC_2.24): Likewise.
3238         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3239         Likewise.
3240         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3241         Likewise.
3242         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3243         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3244         Likewise.
3245         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3246         Likewise.
3247         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3248         Likewise.
3249         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3250         Likewise.
3251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3252         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3253         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3254         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3255         version for {recv,send,recm,sendm}msg.
3256         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3257         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3258         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3259         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3260         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3261         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3262         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3263         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3264         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3265         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3266         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3267         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3269         Likewise.
3270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3271         Likewise.
3272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3274         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3275         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3276         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3277         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3278         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3279         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3282         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3283         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3284         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3286 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3288         [BZ #19564]
3289         Remove __malloc_initialize_hook from the API.
3290         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3291         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3292         #pragma GCC poison.
3293         * malloc/malloc-hooks.h: New file.
3294         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3295         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3296         (old__malloc_initialize_hook): Rename from
3297         __malloc_initialize_hook to evade poisoning.  Turn into compat
3298         symbol.
3299         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3300         __malloc_initialize_hook.
3301         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3302         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3303         * manual/memory.texi (Hooks for Malloc): Remove
3304         __malloc_initialize_hook.  Adjust hook example.
3306 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3308         [BZ #20235]
3309         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3310         itself.
3311         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3312         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3314         [BZ #20234]
3315         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3316         infinity or NaN input to itself.
3318         [BZ #20233]
3319         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3320         to itself.
3322         [BZ #20232]
3323         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3324         itself.
3326 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3328         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3329         __libc_start_main via GOT.
3331 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3333         * sysdeps/x86_64/memcopy.h: New file.
3334         * sysdeps/x86_64/wordcopy.c: Likewise.
3336 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3338         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3339         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3340         <cstdlib>.
3341         (optimization_barrier): New.
3342         (do_test): Use it.  Call quick_exit in the global namespace.
3343         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3344         instead of <cstdlib>, <thread>.
3345         (optimization_barrier): New.
3346         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3347         Call quick_exit in the global namespace.
3348         (do_test): Call optimization_barrier.  Use pthread_create,
3349         pthread_join instead of std::thread.
3351 2016-06-09  Andreas Schwab  <schwab@suse.de>
3353         [BZ #19755]
3354         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3355         new entries in auto-propagate mode.
3356         * nscd/grpcache.c (cache_addgr): Likewise.
3358 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3360         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3361         New functions.
3362         (add_temp_file): Use them.
3364 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3366         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3368 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3370         [BZ #20229]
3371         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3372         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3373         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3375         [BZ #20228]
3376         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3377         itself.
3378         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3379         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3381         [BZ #20227]
3382         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3383         itself.
3384         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3385         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3386         * math/libm-test.inc (log_test_data): Add sNaN tests.
3388         [BZ #20226]
3389         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3390         itself.
3391         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3392         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3393         (exp10_test_data): Likewise.
3394         (expm1_test_data): Likewise.
3396         [BZ #20225]
3397         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3398         itself.
3399         * math/s_ldexpf.c (__ldexpf): Likewise.
3400         * math/s_ldexpl.c (__ldexpl): Likewise.
3401         * math/w_scalbln.c (__w_scalbln): Likewise.
3402         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3403         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3404         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3405         (scalbln_test_data): Likewise.
3407         [BZ #20224]
3408         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3409         argument to itself.
3410         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3412 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3414         [BZ #19776]
3415         * sysdeps/x86_64/memcpy.S: Make it dummy.
3416         * sysdeps/x86_64/mempcpy.S: Likewise.
3417         * sysdeps/x86_64/memmove.S: New file.
3418         * sysdeps/x86_64/memmove_chk.S: Likewise.
3419         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3420         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3421         * sysdeps/x86_64/memmove.c: Removed.
3422         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3423         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3424         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3425         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3426         Likewise.
3427         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3428         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3430         memcpy-sse2-unaligned, memmove-avx-unaligned,
3431         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3432         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3433         (__libc_ifunc_impl_list): Replace
3434         __memmove_chk_avx512_unaligned_2 with
3435         __memmove_chk_avx512_unaligned.  Remove
3436         __memmove_chk_avx_unaligned_2.  Replace
3437         __memmove_chk_sse2_unaligned_2 with
3438         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3439         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3440         with __memmove_avx512_unaligned.  Replace
3441         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3442         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3443         with __memcpy_chk_avx512_unaligned.  Remove
3444         __memcpy_chk_avx_unaligned_2.  Replace
3445         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3446         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3447         Replace __memcpy_avx512_unaligned_2 with
3448         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3449         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3450         with __mempcpy_chk_avx512_unaligned.  Remove
3451         __mempcpy_chk_avx_unaligned_2.  Replace
3452         __mempcpy_chk_sse2_unaligned_2 with
3453         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3454         Replace __mempcpy_avx512_unaligned_2 with
3455         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3456         Replace __mempcpy_sse2_unaligned_2 with
3457         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3458         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3459         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3460         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3461         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3462         (ENTRY): Removed.
3463         (END): Likewise.
3464         (ENTRY_CHK): Likewise.
3465         (libc_hidden_builtin_def): Likewise.
3466         Don't include ../memcpy.S.
3467         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3468         __memcpy_chk_avx512_unaligned_erms and
3469         __memcpy_chk_avx512_unaligned.  Use
3470         __memcpy_chk_avx_unaligned_erms and
3471         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3472         Default to __memcpy_chk_sse2_unaligned.
3473         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3474         Change function suffix from unaligned_2 to unaligned.
3475         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3476         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3477         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3478         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3479         (ENTRY): Removed.
3480         (END): Likewise.
3481         (ENTRY_CHK): Likewise.
3482         (libc_hidden_builtin_def): Likewise.
3483         Don't include ../mempcpy.S.
3484         (mempcpy): New.  Add a weak alias.
3485         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3486         __mempcpy_chk_avx512_unaligned_erms and
3487         __mempcpy_chk_avx512_unaligned.  Use
3488         __mempcpy_chk_avx_unaligned_erms and
3489         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3490         Default to __mempcpy_chk_sse2_unaligned.
3492 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3494         [BZ #19881]
3495         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3496         into ...
3497         * sysdeps/x86_64/memset.S: This.
3498         (__bzero): Removed.
3499         (__memset_tail): Likewise.
3500         (__memset_chk): Likewise.
3501         (memset): Likewise.
3502         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3503         defined.
3504         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3505         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3506         (__memset_zero_constant_len_parameter): Check SHARED instead of
3507         PIC.
3508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3509         memset-avx2 and memset-sse2-unaligned-erms.
3510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3511         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3512         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3513         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3514         (__bzero): Enabled.
3515         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3516         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3517         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
3518         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
3519         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3520         (memset): Removed.
3521         (__memset_chk): Likewise.
3522         (MEMSET_SYMBOL): New.
3523         (libc_hidden_builtin_def): Replace __memset_sse2 with
3524         __memset_sse2_unaligned.
3525         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3526         __memset_chk_sse2 and __memset_chk_avx2 with
3527         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3528         Use __memset_chk_sse2_unaligned_erms or
3529         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
3530         __memset_chk_avx512_unaligned_erms and
3531         __memset_chk_avx512_unaligned.
3533 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3535         * math/gen-auto-libm-test.c (fp_format_desc): remove
3536         suffix member.
3537         (output_generic_value): Remove usage of suffix member,
3538         and the resulting unuse of the fp_format argument.
3539         (output_for_one_input_case): Remove unused fp_format
3540         parameter.
3542         * math/auto-libm-test-out: Regenerate.
3544         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3545         usage with TEST_COND_ibm128.
3546         (TEST_COND_flt_32): Remove.
3547         (TEST_COND_dbl_64): Remove.
3548         (TEST_COND_ldbl_96_intel): Remove.
3549         (TEST_COND_ldbl_96_m68k): Remove.
3550         (TEST_COND_ldbl_128): Remove.
3552 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3554         * auto-libm-test-in:
3555         Replace flt-32 usage with binary32.
3556         Replace dbl-64 usage with binary64.
3557         Replace ldbl-intel-96 usage with intel96.
3558         Replace ldbl-m68k-96 usage with m68k96.
3559         Replace ldbl-128ibm usage with ibm128.
3560         Replace ldbl-128 usage with binary128.
3562         * auto-libm-test-out: Regenerate.
3564 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3566         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3567         (parse_ulps): Dynamically generate type name matching
3568         string from all_floats.
3569         (get_ulps): Generate the ulps as an array instead.
3570         (output_ulps): Dynamically compose the type based
3571         on the number of supported formats, and print
3572         the indices as type specific helper macros.
3574         * math/libm-test.inc: Remove comment about CHOOSE.
3575         (ulp_data): Generate the type in libm-test-ulps.h.
3576         (ULP_IDX): New macro.
3577         (find_ulps): Update usage of max_ulp.
3579         * math/test-double-vlen2.h (CHOOSE): Remove.
3580         * math/test-double-vlen4.h (CHOOSE): Likewise.
3581         * math/test-double-vlen8.h (CHOOSE): Likewise.
3582         * math/test-float.c (CHOOSE): Likewise.
3583         * math/test-float-finite.c (CHOOSE): Likewise.
3584         * math/test-double.c (CHOOSE): Likewise.
3585         * math/test-double-finite.c (CHOOSE): Likewise.
3586         * math/test-idouble.c (CHOOSE): Likewise.
3587         * math/test-ifloat.c (CHOOSE): Likewise.
3588         * math/test-ildoubl.c (CHOOSE): Likewise.
3589         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3590         * math/test-ldouble.c (CHOOSE): Likewise.
3592         * math/test-float.h (TEST_FLOAT): Remove.
3593         * math/test-double.h (TEST_DOUBLE): Likewise.
3594         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3596 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3598         * math/gen-libm-test.pl: (apply_lit): New subroutine.
3599         (parse_args): Strip C suffix from floating point literals
3600         typed with 'f' and wrap them with LIT().
3602         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3603         (test_ff_f_data_nexttoward): Rename to
3604         (test_fj_f_data): New struct.
3605         (nexttoward_test_data): Relabel tests as
3606         TEST_fj_f instead of TEST_ff_f.
3608 2016-06-08  Florian Weimer  <fweimer@redhat.com>
3610         Emacs bug 23726.
3611         * malloc/malloc.c (dumped_main_arena_start): Update comment.
3612         (__libc_realloc): Correct size computation for dumped fake mmapped
3613         chunks.
3615 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
3617         [BZ #20219]
3618         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3619         to itself.
3620         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3622         [BZ #20218]
3623         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3624         to itself.
3625         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3627 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3629         [BZ #20195]
3630         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3631         check to ...
3632         (init_cpu_features): Here.
3634 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
3636         [BZ #20214]
3637         * sysdeps/unix/sysv/linux/bits/in.h
3638         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3639          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3640         Define to 1.
3641         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3642          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3643         Define to 0.
3644         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3645         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3647 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
3649         [BZ #20198]
3650         * stdlib/Makefile (tests): Add tst-quick_exit, and
3651         tst-thread-quick_exit.
3652         [ifeq ($(have-cxx-thread_local),yes)]
3653         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3654         (CFLAGS-tst-thread-quick_exit.o): Likewise.
3655         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3656         (LDLIBS-tst-thread-quick_exit): Likewise.
3657         [ifneq ($(have-cxx-thread_local),yes)]
3658         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3659         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3660         If run_dtors is true call __call_tls_dtors.
3661         (exit): Call __run_exit_handlers with run_dtors set to true.
3662         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3663         definition.
3664         * stdlib/quick_exit.c (quick_exit): Remove function.
3665         (__new_quick_exit): New function.
3666         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3667         function.
3668         * stdlib/tst-quick_exit.cc: New file.
3669         * stdlib/tst-thread-quick_exit.cc: New file.
3670         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3671         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3672         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3673         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3674         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3675         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3676         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3677         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3678         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3679         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3680         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3681         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3682         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3683         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3684         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3685         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3690         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3691         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3692         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3693         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3694         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3697         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3698         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3699         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3701 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3703         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3704         a typo in comments.
3706 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3708         [BZ #20213]
3709         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3710         argument to itself.
3711         * math/libm-test.inc (asin_test_data): Add sNaN tests.
3713 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3715         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3716         required flags.
3717         (CFLAGS-pwritev64.c): Likewise.
3718         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3719         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3720         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3721         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3722         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3723         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3724         syscall from auto-generation.
3725         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3726         [WORDSIZE == 64] (pwritev64): Remove macro.
3727         [!PWRITEV] (PWRITEV): Likewise.
3728         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3729         [!PWRITEV] (PWRITE): Likewise.
3730         [!PWRITEV] (OFF_T): Likewise.
3731         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3732         (LO_HI_LONG): Remove macro.
3733         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3734         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3735         (PWRITEV): Remove macro.
3736         (PWRITEV_REPLACEMENTE): Likewise.
3737         (PWRITE): Likewise.
3738         (OFF_T): Likewise.
3739         (pwritev64): New function.
3740         * nptl/tst-cancel4.c (tf_writev): Add test.
3742         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3743         required flags.
3744         (CFLAGS-preadv64.c): Likewise.
3745         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3746         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3747         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3748         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3749         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3750         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3751         syscall from auto-generation.
3752         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3753         [WORDSIZE == 64] (preadv64): Remove macro.
3754         [!PREADV] (PREADV): Likewise.
3755         [!PREADV] (PREADV_REPLACEMENT): Likewise.
3756         [!PREADV] (PREAD): Likewise.
3757         [!PREADV] (OFF_T): Likewise.
3758         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3759         (LO_HI_LONG): Remove macro.
3760         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3761         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3762         (PREADV): Remove macro.
3763         (PREADV_REPLACEMENTE): Likewise.
3764         (PREAD): Likewise.
3765         (OFF_T): Likewise.
3766         (preadv64): New function.
3767         * nptl/tst-cancel4.c (tf_preadv): Add test.
3769 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3771         [BZ #20212]
3772         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3773         argument to itself.
3774         * math/libm-test.inc (acos_test_data): Add sNaN tests.
3776 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3778         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3779         New symbol defined as libc_hidden_def.
3780         (strcasestr): Became a weak alias to __strcasestr.
3781         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3782         according to multi-arch support.  Move __stpncpy hidden
3783         definition from here to...
3784         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
3785         symbol stpncpy.
3786         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3787         libc_hidden_builtin_def.
3788         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3789         memset symbol to use when multi-arch support is available.
3791 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3793         * dlfcn/tst-rec-dlopen.c: Include string.h.
3795 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3797         * manual/install.texi: Remove mention of --without-tls
3798         * INSTALL: Regenerate.
3800 2016-06-05  Florian Weimer  <fweimer@redhat.com>
3802         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
3803         Remove.
3804         (call_function, interposed_malloc_called): New variables.
3805         (malloc): New function.
3806         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
3807         and clear call_function as needed.
3809 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
3811         * include/wchar.h (__wmemset): Use __typeof.
3813 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
3815         * include/wchar.h (__wmemset): Declare function without typeof.
3817 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
3819         [BZ #20205]
3820         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3821         exponent when incrementing negative subnormal with low mantissa
3822         word zero.
3823         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3824         Add another test.
3826 2016-06-03  Florian Weimer  <fweimer@redhat.com>
3828         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3829         __wmemset instead of wmemset.
3831 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
3833         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3834         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3835         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3836         __USE_KERNEL_IPV6_DEFS to 0.
3837         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3838         Update comment.
3840 2016-06-01  Florian Weimer  <fweimer@redhat.com>
3842         [BZ #19861]
3843         Do not use IFUNC resolver with potentially unrelocated symbol.
3844         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3845         (DEFINE_FORK): Remove macro and inline definition.
3846         (fork_alias): Renamed from fork_ifunc.
3847         (__fork_alias): Renamed from __fork_ifunc.
3849 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
3851         [BZ 19653]
3852         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3853         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3855 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3857         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3858         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3859         i386-linux-gnu).
3860         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3861         Set to no.
3862         * sysdeps/mach/hurd/configure: Refresh.
3864 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3866         [BZ #20178]
3867         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3868         on failure instead of exit.
3870 2016-05-30  Roland McGrath  <roland@hack.frob.com>
3872         [BZ #3629]
3873         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3874         of POSIX.1-2008.
3876 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3878         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3879           Use PLT entry for calling _hurd_self_sigstate.
3881 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3883         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3884         available logical processors with SMT level type sharing L2
3885         cache for Intel processors.
3887 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3889         [BZ #20160]
3890         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3891         argument to itself before returning the result.
3892         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3893         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3894         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3895         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3896         Likewise.
3897         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3898         Likewise.
3899         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3900         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3901         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3902         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3903         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3904         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3906         [BZ #20160]
3907         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3908         argument to itself before returning the result.
3909         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3910         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3911         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3912         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3913         Likewise.
3914         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3915         Likewise.
3916         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3917         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3918         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3919         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3920         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3921         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3923 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3925         * libm-test.inc: Replace usage of M_El with
3926         (lit_e): New macro.
3928 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3930         * libm-test.inc: Replace usage of M_PI_4l with
3931         (lit_pi_4_d): New macro.
3933 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3935         * libm-test.inc: Replace usage of M_PIl with
3936         (lit_pi): New macro.
3938 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3940         * libm-test.inc: Replace usage of M_PI2l with
3941         (lit_pi_2_d): New macro.
3943         * math/test-double.h (LITM): New macro.
3944         * math/test-float.h (LITM): Likewise.
3945         * math/test-ldouble.h (LITM): Likewise.
3947 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3949         * libm-test.inc (M_PI_34l): Rename to
3950         (lit_pi_3_m_4_d): New Macro.
3951         (M_PI_34_LOG10El): Rename to
3952         (lit_pi_3_m_4_ln10_m_d): New Macro.
3953         (M_PI2_LOG10El): Rename to
3954         (lit_pi_2_ln10_m_d):  New Macro.
3955         (M_PI4_LOG10El): Rename to
3956         (lit_pi_4_ln10_m_d):  New Macro.
3957         (M_PI_LOG10El): Rename to
3958         (lit_pi_ln10_d):  New Macro.
3960 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3962         [BZ #20157]
3963         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3964         determine whether to negate low half if [_ARCH_PPCGR], and integer
3965         comparison otherwise.
3966         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3967         determine whether to negate low half.
3969         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3970         (NO_TEST_INLINE_DOUBLE): Likewise.
3971         (TEST_COND_x86_64): Likewise.
3972         (TEST_COND_x86): Likewise.
3973         (M_PI_6l): Likewise.
3975 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3977         * math/libm-test.inc:
3978         (TEST_FLOAT): Change usage to TEST_COND_binary32.
3979         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
3980         (TEST_LDOUBLE): Update usage to evaluate as true if
3981         the guarded tests match the property being tested.
3982         (LDBL_MAX_EXP): Change to MAX_EXP.
3983         (LDBL_MIN_EXP): Change to MIN_EXP.
3984         (LDBL_MANT_DIG): Change to MANT_DIG, except for
3985         nexttoward tests.
3987 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3989         * math/libm-test.inc:
3990         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
3991         (TYPE_MIN): Likewise.
3992         (TYPE_TRUE_MIN): Likewise.
3993         (TYPE_MAX): Likewise.
3994         (MIN_EXP): Likewise.
3995         (MAX_EXP): Likewise.
3996         (MANT_DIG): Likewise.
3998         (FSTR_MAX): New macro.
3999         (__CONCATX): Likewise.
4000         (QTYPE_STR): Likewise.
4001         (TEST_COND_binary32): Likewise.
4002         (TEST_COND_binary64): Likewise.
4003         (TEST_COND_binary128): Likewise.
4004         (TEST_COND_ibm128): Likewise.
4005         (TEST_COND_intel96): Likewise.
4006         (TEST_COND_m68k96): Likewise.
4008         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4009         (TEST_COND_dbl_64): Likewise.
4010         (TEST_COND_ldbl_96_intel): Likewise.
4011         (TEST_COND_ldbl_96_m68k): Likewise.
4012         (TEST_COND_ldbl_128): Likewise.
4013         (TEST_COND_ldbl_128ibm): Likewise.
4015         (plus_zero): Redefine using LIT macro.
4016         (minus_zero): Likewise.
4017         (plus_infty): Redefine as (INF).
4018         (minux_infty): Redefine as (-INF).
4019         (max_value): Redefine as TYPE_MAX.
4020         (min_value): Redefine as TYPE_MIN.
4021         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4023         (print_float): Refactor to use snprintf to convert FLOAT values
4024         to string. This brings it closer to dropin replacement of strtof
4025         for the TS 18661 defined types.
4026         (update_stats): Likewise.
4027         (print_complex_function_ulps): Likewise.
4028         (print_max_error): Likewise.
4029         (print_complex_max_error): Likewise.
4030         (check_float_internal): Likewise.
4032         * math/test-float.h (PREFIX): New macro.
4033         (LIT): Likewise.
4034         (TYPE_STR): Likewise.
4035         (FTOSTR): Likewise.
4037         * math/test-double.h (PREFIX): New macro.
4038         (LIT): Likewise.
4039         (TYPE_STR): Likewise.
4040         (FTOSTR): Likewise.
4042         * math/test-ldouble.h (PREFIX): New macro.
4043         (LIT): Likewise.
4044         (TYPE_STR): Likewise.
4045         (FTOSTR): Likewise.
4047 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4049         [BZ #20156]
4050         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4051         to itself when zero or not finite.
4052         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4053         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4054         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4055         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4057 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4059         [BZ #20153]
4060         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4061         x * x + x for infinities and NaNs.
4063         [BZ #20151]
4064         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4065         argument to itself before returning result.
4066         (__ieee754_y0l): Likewise.
4067         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4068         (__ieee754_y1l).
4070         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4071         (atan_test_data): Likewise.
4072         (ceil_test_data): Likewise.
4073         (cos_test_data): Likewise.
4074         (cosh_test_data): Likewise.
4075         (erf_test_data): Likewise.
4076         (exp2_test_data): Likewise.
4077         (fabs_test_data): Likewise.
4078         (floor_test_data): Likewise.
4079         (ilogb_test_data): Likewise.
4080         (j0_test_data): Likewise.
4081         (j1_test_data): Likewise.
4082         (jn_test_data): Likewise.
4083         (lgamma_test_data): Likewise.
4084         (lrint_test_data): Likewise.
4085         (llrint_test_data): Likewise.
4086         (logb_test_data): Likewise.
4087         (lround_test_data): Likewise.
4088         (llround_test_data): Likewise.
4089         (nearbyint_test_data): Likewise.
4090         (rint_test_data): Likewise.
4091         (round_test_data): Likewise.
4092         (sin_test_data): Likewise.
4093         (sincos_test_data): Likewise.
4094         (sinh_test_data): Likewise.
4095         (sqrt_test_data): Likewise.
4096         (tan_test_data): Likewise.
4097         (tanh_test_data): Likewise.
4098         (tgamma_test_data): Likewise.
4099         (trunc_test_data): Likewise.
4100         (y0_test_data): Likewise.
4101         (y1_test_data): Likewise.
4102         (yn_test_data): Likewise.
4104         * math/libm-test.inc: Update comment about NaN testing.
4105         (TEST_SNAN): New macro.
4106         (snan_value): Likewise.
4107         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4108         (fpclassify_test_data): Add sNaN tests.
4109         (isfinite_test_data): Likewise.
4110         (isinf_test_data): Likewise.
4111         (isnan_test_data): Likewise.
4112         (isnormal_test_data): Likewise.
4113         (issignaling_test_data): Likewise.
4114         (signbit_test_data): Likewise.
4115         * math/gen-libm-test.pl (%beautify): Add snan_value.
4116         (show_exceptions): Add argument $test_snan.
4117         (parse_args): Handle snan_value as non-finite.  Update call to
4118         show_exceptions.
4119         * math/Makefile (libm-test-no-inline-cflags): Add
4120         -fsignaling-nans.
4122 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4124         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4125         (CFLAGS-oldsendmsg.c): Add rule.
4126         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4127         Correct recvmsg symbol name.
4128         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4129         Likewise.
4131 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4133         * sysdeps/unix/sysv/linux/Makefile
4134         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4135         oldsendmmsg.
4136         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4137         sendmmsg.
4138         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4139         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4140         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4141         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4143         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4144         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4146         Likewise.
4147         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4148         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4149         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4150         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4151         iovlen and controllen fields to adjust to POSIX specification.
4152         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4154         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4155         and change to correct expected type.
4156         (msghdr.msg_controllen): Likewise.
4157         (cmsghdr.cmsg_len): Likewise.
4158         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4159         expected POSIX assumption about the size.
4160         (msghdr.msg_controllen): Likewise.
4161         (msghdr.__glibc_reserved1): Likewise.
4162         (msghdr.__glibc_reserved2): Likewise.
4163         (cmsghdr.cmsg_len): Likewise.
4164         (cmsghdr.__glibc_reserved1): Likewise.
4165         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4166         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4167         (CFLAGS-sendmsg.c): Remove rule.
4168         (CFLAGS-recvmsg.c): Likewise.
4169         (CFLAGS-oldsendmsg.c): Add rule.
4170         (CFLAGS-oldrecvmsg.c): Likewise.
4171         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4172         recvmsg and sendmsg.
4173         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4174         Likewise.
4175         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4176         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4177         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4178         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4179         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4180         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4181         Likewise.
4182         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4183         Likewise.
4184         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4185         Likewise.
4186         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4187         Likewise.
4188         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4189         Likewise.
4190         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4191         Likewise.
4192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4193         (GLIBC_2.24): Likewise.
4194         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4195         Likewise.
4196         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4197         Likewise.
4198         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4199         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4200         Likewise.
4201         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4202         Likewise.
4203         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4204         Likewise.
4205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4206         (GLIBC_2.24): Likewise.
4207         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4208         Likewise.
4209         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4210         Likewise.
4211         * sysdeps/unix/sysv/linux/Makefile
4212         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4213         (CFLAGS-sendmsg.c): Add rule.
4214         (CFLAGS-recvmsg.c): Likewise.
4215         (CFLAGS-oldsendmsg.c): Likewise.
4216         (CFLAGS-oldrecvmsg.c): Likewise.
4217         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4218         initialization.
4219         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4220         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4221         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4222         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4223         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4224         iovlen and controllen fields to adjust to POSIX specification.
4225         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4226         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4227         added recvmsg and sendmsg.
4228         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4229         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4230         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4231         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4232         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4233         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4234         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4235         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4236         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4237         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4238         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4239         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4241         Likewise.
4242         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4244         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4245         Likewise.
4246         Likewise.
4247         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4248         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4249         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4250         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4251         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4252         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4254         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4256         Likewise.
4257         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4258         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4260         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4261         from auto-generation.
4262         (sendmsg): Likewise.
4263         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4264         (sendmsg): Likewise.
4265         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4266         (sendmsg): Likewise.
4267         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4268         (sendmsg): Likewise.
4269         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4270         (sendmsg): Likewise.
4271         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4272         (sendmsg): Likewise.
4273         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4274         Likewise.
4275         (sendmsg): Likewise.
4276         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4277         (sendmsg): Likewise.
4278         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4279         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4280         Remove.
4281         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4282         Likewise.
4283         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4284         Undefine.
4285         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4286         Likewise.
4287         * sysdeps/unix/sysv/linux/kernel-features.h
4288         (__ASSUME_SENDMSG_SYSCALL): Define.
4289         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4290         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4291         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4292         Remove.
4293         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4294         Likewise.
4295         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4296         Undefine.
4297         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4298         Likewise.
4299         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4300         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4301         Remove.
4302         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4303         Likewise.
4304         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4305         Undefine.
4306         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4307         Likewise.
4308         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4309         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4310         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4311         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4312         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4313         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4314         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4315         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4316         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4318 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4320         * stdlib/gen-tst-strtod-round.c: Add backslash to
4321         compile command in comment.
4322         (printfp): Remove the literal suffix, and define an infinite
4323         value as INF to avoid expansion clash with INFINITY.
4324         (round_str): Remove the literal suffix.
4325         (round_for_all): Likewise, remove the now duplicate ldbl-64
4326         entry, and remove some magic constants.
4328         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4329         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4330         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4331         (_CONCAT): New macro.
4332         (CONCAT): Likewise.
4333         (CHOOSE_ld): Likewise.
4334         (CHOOSE_f): Likewise.
4335         (CHOOSE_d): Likewise.
4336         (FTYPE_MEMBER): Likewise.
4337         (BOOL_MEMBER): Likewise.
4338         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4339         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4340         (_XNTRY): Likewise.
4341         (XNTRY): Likewise.
4342         (_ENTRY): Likewise.
4343         (ENTRY): Likewise.
4344         (test_exactness): Generate members via macro.
4345         (test_results): Likewise.
4346         (test): Update members.
4347         (TEST): Redefine using new macros.
4348         (INF): New macro.
4349         (fetestmodes): New structure.
4350         (do_test): Refactor to be type generic.
4351         (test_in_one_mode): Refactor duplicate code into
4352         (GEN_ONE_TEST): New macro.
4354         * stdlib/tst-strtod-round-data.h: Regenerate.
4356         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4357         Extend to pass additional arbitrary parameters to
4358         generators.
4360 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4362         [BZ #15479]
4363         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4364         floating-point state after first floating-point operation on
4365         input.  Restore full floating-point state instead of just rounding
4366         mode.
4367         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4368         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4369         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4370         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4371         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4373         [BZ #15479]
4374         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4375         floating-point state after first floating-point operation on
4376         input.  Restore full floating-point state instead of just rounding
4377         mode.
4378         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4379         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4380         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4381         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4382         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4384 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4386         [BZ #19727]
4387         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4388         valid high surrogate.
4389         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4390         of an utf16 surrogate.
4391         * iconv/gconv_simple.c (BODY): Likewise.
4392         * iconvdata/bug-iconv12.c: New file.
4393         * iconvdata/Makefile (tests): Add bug-iconv12.
4395 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4397         [BZ #19726]
4398         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4399         outptrp in case of an illegal input.
4400         * iconv/tst-iconv6.c: New file.
4401         * iconv/Makefile (tests): Add tst-iconv6.
4403 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4405         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4406         an error in case of a value in range of an utf16 low surrogate.
4408 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4410         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4411         an error in case of a value in range of an utf16 low surrogate.
4413 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4415         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4416         Move to ...
4417         * sysdeps/s390/Makefile: ... here.
4418         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4419         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4420         (BRANCH_ON_COUNT): New define.
4421         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4422         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4423         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4424         run on s390-32, too.
4425         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4426         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4427         run on s390-32, too.
4428         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4429         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4430         run on s390-32, too.
4432 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4434         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4435         etf3eh or new vector loop-variant.
4437 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4439         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4440         etf3eh or new vector loop-variant.
4442 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4444         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4445         or new vector loop-variant.
4447 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4449         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4450         Rename to TR_LOOP and usage of tr instead of troo instruction.
4452 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4454         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4455         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4457 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4459         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4460         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4461         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4462         New override define.
4463         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4465 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4467         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4468         * sysdeps/s390/configure.ac: Add test for S390 vector register
4469         support in gcc.
4470         * sysdeps/s390/configure: Regenerated.
4472 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4474         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4475         Install file from $(objpfx)gconv-modules.
4476         ($(objpfx)gconv-modules): Concatenate architecture specific file
4477         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4478         * sysdeps/s390/gconv-modules: New file.
4479         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4480         Deleted.
4481         ($(objpfx)gconv-modules-s390): Deleted.
4482         (sysdeps-gconv-modules): New variable.
4484 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4486         [BZ #15479]
4487         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4488         of immediate operand to rounding instruction.
4489         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4490         Likewise.
4491         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4492         Likewise.
4493         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4494         Likewise.
4496 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4498         * math/libm-test.inc (MIN_EXP): Directly define as
4499         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4501 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4503         * math/libm-test.inc (MANT_DIG): Directly define as
4504         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4506 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4508         * stdlib/gen-tst-strtod-round.c (main):
4509           Change usage to more closely match the generated
4510           output.  Add usage and compilation instructions.
4511           (string_to_fp): Add and use FILE* parameter as
4512           output target.
4513           (print_fp): Likewise.
4514           (round_str): Likewise.
4515           (round_for_all): Likewise.
4516         * stdlib/tst-strtod-round.c (tests): Move into
4517         * stdlib/tst-strtod-round-data.h: New file.
4519 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4521         [BZ #15479]
4522         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4523         (__round): Do not force "inexact" exception.
4524         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4525         variable.
4526         (__round): Do not force "inexact" exception.
4527         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4528         (__roundf): Do not force "inexact" exception.
4529         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4530         (__roundl): Do not force "inexact" exception.
4531         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4532         (__roundl): Do not force "inexact" exception.
4533         * math/libm-test.inc (round_test_data): Do not allow spurious
4534         "inexact" exceptions.
4536         [BZ #15479]
4537         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4538         exception in comment.
4539         (huge): Remove variable.
4540         (__floor): Do not force "inexact" exception.
4541         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4542         "inexact" exception in comment.
4543         (huge): Remove variable.
4544         (__floor): Do not force "inexact" exception.
4545         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4546         exception in comment.
4547         (huge): Remove variable.
4548         (__floorf): Do not force "inexact" exception.
4549         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4550         exception in comment.
4551         (huge): Remove variable.
4552         (__floorl): Do not force "inexact" exception.
4554         [BZ #15479]
4555         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4556         exception in comment.
4557         (huge): Remove variable.
4558         (__ceil): Do not force "inexact" exception.
4559         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4560         "inexact" exception in comment.
4561         (huge): Remove variable.
4562         (__ceil): Do not force "inexact" exception.
4563         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4564         (__ceilf): Do not force "inexact" exception.
4565         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4566         exception in comment.
4567         (huge): Remove variable.
4568         (__ceill): Do not force "inexact" exception.
4570 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4572         * config.h.in (BIND_NOW): New.
4573         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4574         * configure: Regenerated.
4575         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4576         indirect branch via the GOT slot.
4578 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4580         [BZ #19765]
4581         * sysdeps/s390/mempcpy.S: New File.
4582         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4583         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4584         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4585         Add mempcpy variants.
4586         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4587         (memcpy): Adjust to be usable from mempcpy entry point.
4588         (__memcpy_mvcle): Likewise.
4589         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4590         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4591         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4592         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4593         (__memcpy_z10): Likewise.
4594         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4596 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4598         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4599         Remove __GI_ symbol.
4600         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4601         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4602         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4603         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4604         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4605         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4607 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4609         * sysdeps/s390/s390-64/memcpy.S (memcpy):
4610         Use cghi instead of chi to compare 64bit value.
4612 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4614         * sysdeps/s390/s390-32/memcpy.S (memcpy):
4615         Jump to 1MB check before executing mvc-loop.
4617 2016-05-24  Florian Weimer  <fweimer@redhat.com>
4619         [BZ #6527]
4620         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4621         unconditionally.
4622         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4624 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4626         * stdlib/tst-strtod6.c (do_test): Use new type generic
4627         invocation of the test function.
4628         (test): Refactor into ...
4629         (TEST_STRTOD): New macro base function.
4631 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4633         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4634         (TEST_STRTOD): New macro.
4635         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4637 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4639         * stdlib/tst-strtod6.c (do_test): Use new type generic
4640         invocation of the test function.
4641         (test): Refactor into ...
4642         (TEST_STRTOD): New macro base function.
4644 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4646         CVE-2016-4429
4647         [BZ #20112]
4648         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4649         payload.
4651 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4653         [BZ #20111]
4654         * bits/sockaddr.h (_SS_SIZE): Define.
4655         * bits/socket.h (_SS_SIZE): Remove.
4656         (_SS_PADSIZE): Adjust to account for all padding.
4657         (struct sockaddr_storage): Update comment.  Avoid implicit
4658         padding.
4659         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4660         (_SS_PADSIZE): Adjust to account for all padding.
4661         (struct sockaddr_storage): Update comment.  Avoid implicit
4662         padding.
4663         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4664         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
4665         (_SS_PADSIZE): Adjust to account for all padding.
4666         (struct sockaddr_storage): Update comment.  Avoid implicit
4667         padding.
4668         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4669         __SS_SIZE is 126 in this version.
4670         * inet/tst-sockaddr.c: New file.
4671         * inet/Makefile (tests): Add tst-sockaddr.c
4672         (tst-sockaddr.c): Compile with non-strict aliasing.
4674 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
4676         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4677         [XPG3 || XPG4].
4678         (NL_ARGMAX): Also expect for [XPG3].
4679         (NL_LANGMAX): Likewise.
4680         (NL_MSGMAX): Likewise.
4681         (NL_NMAX): Likewise.
4682         (NL_SETMAX): Likewise.
4683         (NL_TEXTMAX): Likewise.
4684         (NZERO): Likewise.
4685         (TMP_MAX): Likewise.
4686         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4687         variable.
4689         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4690         (PF_MAX): Update value.
4691         (AF_KCM): New macro.
4692         (SOL_NETBEUI): Likewise.
4693         (SOL_LLC): Likewise.
4694         (SOL_DCCP): Likewise.
4695         (SOL_NETLINK): Likewise.
4696         (SOL_TIPC): Likewise.
4697         (SOL_RXRPC): Likewise.
4698         (SOL_PPPOL2TP): Likewise.
4699         (SOL_BLUETOOTH): Likewise.
4700         (SOL_PNPIPE): Likewise.
4701         (SOL_RDS): Likewise.
4702         (SOL_IUCV): Likewise.
4703         (SOL_CAIF): Likewise.
4704         (SOL_ALG): Likewise.
4705         (SOL_NFC): Likewise.
4706         (SOL_KCM): Likewise.
4707         (MSG_BATCH): New enum value and macro.
4709 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4711         [BZ #18185]
4712         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4713         sharing L2 cache to 2 for Knights Landing.
4715 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
4717         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4718         (FTW_DP): Do not expect for [XPG3 || XPG4].
4719         (FTW_SL): Do not expect for [XPG3].
4720         (FTW_SLN): Likewise.
4721         (FTW_PHYS): Likewise.
4722         (FTW_MOUNT): Likewise.
4723         (FTW_DEPTH): Likewise.
4724         (FTW_CHDIR): Likewise.
4725         (nftw): Likewise.
4726         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4727         variable.
4729 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4731         * manual/errno.texi: Fix various typos & grammar errors.
4733 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4735         * manual/intro.texi: Fix duplicated typo.
4737 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4739         [BZ #13304]
4740         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4741         <float.h>, <math_private.h> and <stdlib.h>.
4742         (add_split): New function.
4743         (mul_split): Likewise.
4744         (ext_val): New typedef.
4745         (store_ext_val): New function.
4746         (mul_ext_val): New function.
4747         (compare): New function.
4748         (add_split_ext): New function.
4749         (__fmal): After checking for Inf, NaN and zero, compute result as
4750         an exact sum of scaled double values in round-to-nearest before
4751         adding those up and adjusting for other rounding modes.
4752         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4753         tests of fma.
4754         * math/auto-libm-test-out: Regenerated.
4756 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4758         [BZ #20119]
4759         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4760         processor level type mask for CPUID with EAX == 11.
4762 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4764         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4765         logical threads if the HTT bit is 0.
4766         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4767         (index_cpu_HTT): Likewise.
4768         (reg_HTT): Likewise.
4770 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4772         [BZ #20115]
4773         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4774         Remove alignments on jump targets.
4776 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4778         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4779         (getpwent): Likewise.
4780         (setpwent): Likewise.
4781         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4782         variable.
4784         * conform/data/search.h-data (insque): Do not expect for [XPG3].
4785         (remque): Likewise.
4786         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4787         variable.
4789 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4791         * math/libm-test.inc: Update comment not to refer to signs of NaNs
4792         not being tested.
4794 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4796         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4797         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
4798         call.
4799         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4800         (__condvar_cleanup1): Likewise.
4802 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4804         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
4805         New
4806         (__pthread_unwind): Renamed to ...
4807         (PTHREAD_UNWIND): This.
4808         (__pthread_enable_asynccancel): Replace
4809         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
4811 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4813         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4814         (CLONE_NEWCGROUP): New macro.
4816         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4817         (Q_GETNEXTQUOTA): New macro.
4819 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4821         [BZ #19907]
4822         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4823         buffer updated by the previous run.
4824         * string/test-memcpy.c (do_one_test): Likewise.
4825         * benchtests/bench-memmove.c (do_one_test): Add a comment.
4826         * string/test-memmove.c (do_one_test): Likewise.
4828 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
4830         [BZ #20094]
4831         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4832         not [__USE_XOPEN].
4833         (unlockpt): Likewise.
4834         (ptsname): Likewise.
4835         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4836         variable.
4838         [BZ #20076]
4839         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4840         instead of [__USE_UNIX98].
4841         (S_ISSOCK): Likewise.
4842         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4843         variable.
4845         [BZ #20074]
4846         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4847         [__USE_POSIX].
4848         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4849         variable.
4851         [BZ #20051]
4852         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4853         (ttyslot): Do not declare.
4854         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4855         (ttyslot): New prototype.
4856         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4857         variable.
4858         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4860 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4862         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4864 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4866         Fix race condition in tst-mallocfork2, use fewer resources.
4867         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4868         to current process group.
4869         (signal_sender): Yield in the non-sleeping case.
4871 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
4873         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4874         (ecvt): Likewise.
4875         (fcvt): Likewise.
4876         (gcvt): Likewise.
4877         (getsubopt): Likewise.
4878         (grantpt): Likewise.
4879         (initstate): Likewise.
4880         (l64a): Likewise.
4881         (mktemp): Likewise.
4882         (mkstemp): Likewise.
4883         (ptsname): Likewise.
4884         (random): Likewise.
4885         (realpath): Likewise.
4886         (setstate): Likewise.
4887         (srandom): Likewise.
4888         (ttyslot): Likewise.
4889         (unlockpt): Likewise.
4890         (valloc): Likewise.
4892         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4893         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4894         variable.
4896 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4898         [BZ #20072]
4899         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4900         init_cpu_features only if SHARED is defined.
4901         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4903 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4905         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4906         non-inclusive caches on Intel processors.
4908 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4910         * malloc/malloc.c (dumped_main_arena_start)
4911         (dumped_main_arena_end): New variables.
4912         (DUMPED_MAIN_ARENA_CHUNK): New macro.
4913         (do_check_chunk): Skip dumped fake mmapped chunks.
4914         (munmap_chunk): Likewise.
4915         (__libc_free): Do not adjust statistics for fake mmapped chunks.
4916         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
4917         mmapped chunks.
4918         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4919         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
4920         and dumped_main_arena_end to cover the dumped heap.
4922 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
4924         * conform/data/time.h-data (getdate_err): Do not expect for
4925         [XPG3].
4926         (getdate): Likewise.
4927         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4928         variable.
4930         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4931         (F_ULOCK): Likewise.
4932         (F_TEST): Likewise.
4933         (F_TLOCK): Likewise.
4934         (useconds_t): Likewise.
4935         (intptr_t): Do not expect for [XPG3] or [XPG4].
4936         (brk): Do not expect for [XPG3]
4937         (fchown): Likewise.
4938         (fchdir): Likewise.
4939         (ftruncate): Likewise.
4940         (getdtablesize): Likewise.
4941         (gethostid): Likewise.
4942         (getpagesize): Likewise.
4943         (getpgid): Likewise.
4944         (getsid): Likewise.
4945         (getwd): Likewise.
4946         (lchown): Likewise.
4947         (lockf): Likewise.
4948         (readlink): Likewise.
4949         (sbrk): Likewise.
4950         (setpgrp): Likewise.
4951         (setregid): Likewise.
4952         (setreuid): Likewise.
4953         (symlink): Likewise.
4954         (sync): Likewise.
4955         (truncate): Likewise.
4956         (ualarm): Likewise.
4957         (usleep): Likewise.
4958         (vfork): Likewise.
4959         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4960         variable.
4962         [BZ #20054]
4963         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4964         not [__USE_UNIX98].
4965         * conform/data/unistd.h-data (gethostname): Do not expect for
4966         [XPG3].
4968         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4969         [!POSIX] (S_IFBLK): Likewise.
4970         [!POSIX] (S_IFCHR): Likewise.
4971         [!POSIX] (S_IFIFO): Likewise.
4972         [!POSIX] (S_IFREG): Likewise.
4973         [!POSIX] (S_IFDIR): Likewise.
4974         [!POSIX] (S_IFLNK): Likewise.
4975         [!POSIX] (S_IFSOCK): Likewise.
4976         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
4977         variable.
4978         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4980 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
4982         * sysdeps/aarch64/memset.S (__memset):
4983         Rewrite of optimized memset.
4985 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4987         [BZ #19703]
4988         Partially async-signal-safe fork for single-threaded processes.
4989         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
4990         variable.  Do not acquire and reset/release malloc and libio locks
4991         in single-threaded processes.
4992         * malloc/tst-mallocfork2.c: New file.
4993         * malloc/Makefile (tests): Add it.
4995 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4997         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
4998         argument.  Use scratch buffer instead of extend_alloca.
4999         (gethosts): Use scratch buffer instead of extend_alloca.
5000         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5001         extend_alloca.
5002         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5004 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5006         [BZ #20055]
5007         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5008         instead of [__USE_UNIX98].
5009         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5010         [__USE_UNIX98].
5011         * conform/data/termios.h-data (tcgetsid): Do not expect for
5012         [XPG3].
5013         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5014         variable.
5015         (test-xfail-XPG4/termios.h/conform): Likewise.
5017 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5019         Do not use mcheck in localedef.
5020         * locale/programs/localedef.c (turn_on_mcheck)
5021         (__malloc_initialize_hook): Remove.
5023 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5025         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5026         * sysdeps/s390/s390-64/Makefile: Likewise.
5028 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5030         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5031         Remove ifunc-defines.sym.
5032         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5033         Likewise.
5034         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5035         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5036         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5037         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5038         rtld-global-offsets.sym.
5039         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5040         * sysdeps/x86/cpu-features-offsets.sym: This.
5041         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5042         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5044 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5046         [BZ #20073]
5047         * io/sys/stat.h (fchmod): Declare for
5048         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5049         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5050         variable.
5052         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5053         [XPG3] (S_IFSOCK): Likewise.
5054         [XPG3] (S_ISVTX): Likewise.
5055         [XPG3] (S_ISLNK): Likewise.
5056         [XPG3] (S_ISSOCK): Likewise.
5057         [XPG3] (fchmod): Likewise.
5058         [XPG3] (lstat): Likewise.
5059         [XPG3] (mknod): Likewise.
5061         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5062         [XPG3].  Expect type long and XFAIL for [XPG4].
5063         (st_blocks): Likewise.
5065         [BZ #20044]
5066         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5067         (pthread_atfork): New prototype.
5068         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5069         variable.
5071         [BZ #20043]
5072         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5073         prototype.
5075 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5077         [BZ #20017]
5078         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5079         gmtime.
5081 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5083         [BZ #19994]
5084         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5085         flag in _res.options.
5087 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5089         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5090         [XPG3 || XPG4].
5091         (blksize_t): Likewise.
5092         (clockid_t): Likewise.
5093         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5094         variable.
5095         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5097 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5099         * sysdeps/unix/sysv/linux/s390/init-first.c:
5100         Add VDSO_SYMBOL(getcpu).
5101         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5102         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5103         Add VDSO_SYMBOL(getcpu).
5104         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5105         New define HAVE_GETCPU_VSYSCALL.
5106         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5108 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5110         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5111         instead of <sysdeps/x86_64/cacheinfo.c>.
5112         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5113         * sysdeps/x86/cacheinfo.c: Here.
5115 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5117         * malloc/malloc-internal.h: Adjust header file guard.
5119 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5121         [BZ #19787]
5122         * inet/getnameinfo.c (check_sprintf_result): New function.
5123         (CHECKED_SNPRINTF): New macro.
5124         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5125         to the host buffer.
5126         (gni_host_local): Use checked_copy to copy the host name.
5127         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5128         (gni_serv_local): Use checked_copy to copy the service name.
5129         (getnameinfo): Remove unnecessary truncation of result buffers.
5131 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5133         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5134         in case of inet_ntop failure.
5136 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5138         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5139         avoid long lines.
5140         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5141         variables.
5142         (gni_host_inet, gni_host_local): Add comment.
5143         (gni_host): Add comment.  Use temporary to avoid long lines.
5145 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5147         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5148         registers specifiers where general purpose registers specifiers should
5149         have been used.
5151 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5153         [BZ #19779]
5154         CVE-2016-1234
5155         Avoid copying names of directory entries.
5156         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5157         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5158         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5159         (struct readdir_result): New type.
5160         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5161         (GL_READDIR): New macros.
5162         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5163         (convert_dirent, convert_dirent64): New functions.
5164         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5165         convert_dirent64.  Adjust references to the readdir result.
5166         * sysdeps/unix/sysv/linux/i386/glob64.c:
5167         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5168         * posix/bug-glob2.c (LONG_NAME): Define.
5169         (filesystem): Add LONG_NAME.
5170         (my_DIR): Increase the size of room_for_dirent.
5172 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5174         [BZ #20041]
5175         * misc/sys/select.h (__need_timespec): Only define if
5176         [__USE_XOPEN2K].
5177         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5178         variable.
5179         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5180         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5181         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5183 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5184             Segher Boessenkool  <segher@gcc.gnu.org>
5186         [BZ #20004]
5187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5188         (__novec_swapcontext): Add missing load.
5190 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5192         [BZ #20023]
5193         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5194         <time.h>.
5195         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5196         variable.
5197         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5199 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5202         flags CLONE_VM compare.
5204 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5206         [BZ #20031]
5207         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5208         completely empty.
5210 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5212         [BZ #19573]
5213         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5214         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5215         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5216         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5217         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5218         (hesiod_free_list): Mark as hidden.
5219         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5220         res_set, res_get.
5221         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5222         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5223         (hesiod_init): Remove obsolete res_ninit call.
5224         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5225         (hesiod_bind): Do not call init.
5226         (get_txt_records): Use res_mkquery, res_send instead of
5227         res_nmkquery, res_nsend.
5228         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5229         instead of _nss_hesiod_init.
5230         (_nss_hesiod_initgroups_dyn): Likewise.
5231         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5232         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5233         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5235 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5237         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5238         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5240 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5242         * hesiod/hesiod.h: Remove RCS keyword.
5243         * hesiod/hesiod_p.h: Likewise.
5245         * hesiod/hesiod.c: Likewise.
5247 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5249         [BZ #12450]
5250         * locale/iso-639.def: Add Samogitian/sgs.
5252 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5254         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5256         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5258 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5259             Carlos O'Donell  <carlos@redhat.com>
5261         [BZ #19072]
5262         * grp/Makefile (headers): Add grp-merge.h
5263         (routines): Add grp-merge.
5264         * grp/getgrgid_r.c: Include grp-merge.h.
5265         (DEEPCOPY_FN): Define.
5266         (MERGE_FN): Define.
5267         * grp/getgrname_r.c: Include grp-merge.h.
5268         (DEEPCOPY_FN): Define.
5269         (MERGE_FN): Define.
5270         * grp/grp-merge.c: New file.
5271         * grp/grp-merge.h: New file.
5272         * include/grp-merge.h: New file.
5273         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5274         __copy_grp@GLIBC_PRIVATE.
5275         * manual/nss.texi (Actions in the NSS configuration): Describe
5276         return, continue, and merge.
5277         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5278         (DEEPCOPY_FN): Define.
5279         (MERGE_FN): Define.
5280         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5281         (DEEPCOPY_FN): Define.
5282         (MERGE_FN): Define.
5283         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5284         [!MERGE_FN]: Define __merge_einval.
5285         (CHECK_MERGE): Define.
5286         (REENTRANT_NAME): Process merge if do_merge is true.
5287         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5288         (__nss_getent_r): Likewise.
5289         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5290         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5292 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5294         [BZ #20012]
5295         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5296         length to calculate the buffer to read.
5297         (fmemopen_write): Set the buffer position based on bytes written.
5298         (fmemopen_seek): Return EINVAL for invalid whence modes.
5300         [BZ #19957]
5301         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5302         tst-getpid2.
5303         (test): Add tst-clone2.
5304         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5305         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5306         pid/tid fields for CLONE_VM.
5307         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5308         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5309         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5310         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5311         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5312         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5313         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5314         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5316         Likewise.
5317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5318         Likewise.
5319         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5320         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5321         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5322         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5323         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5324         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5325         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5326         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5328 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5330         [BZ #19642]
5331         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5332         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5333         (gni_serv_local, gni_serv): New functions extracted from
5334         getnameinfo.
5335         (getnameinfo): Call gni_host and gni_serv to perform the
5336         processing.  Always free scratch buffer.
5338 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5340         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5341         remaining bytes in the dest string, with zeros.
5343 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5345         [BZ #20010]
5346         CVE-2016-3706
5347         * sysdeps/posix/getaddrinfo.c
5348         (convert_hostent_to_gaih_addrtuple): New function.
5349         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5350         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5351         AF_INET data.
5353 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5355         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5356         callback function gl_readdir.
5357         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5358         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5359         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5360         memcpy to copy the name.
5361         * manual/pattern.texi (Calling Glob): Document requirements for
5362         implementations of the gl_readdir callback function.
5363         * manual/examples/mkdirent.c: New example.
5364         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5365         per the manual guidance.
5366         * posix/tst-gnuglob.c (my_readdir): Likewise.
5368 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5370         [BZ #20014]
5371         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5372         not [__USE_POSIX].
5373         (getchar_unlocked): Likewise.
5374         (putc_unlocked): Likewise.
5375         (putchar_unlocked): Likewise.
5376         (flockfile): Likewise.
5377         (ftrylockfile): Likewise.
5378         (funlockfile): Likewise.
5379         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5380         variable.
5381         (test-xfail-XPG4/stdio.h/conform): Likewise.
5383         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5384         Expect constant.
5385         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5386         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5387         variable.
5388         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5389         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5391         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5392         [__USE_LARGEFILE64] (off64_t): Likewise.
5393         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5394         variable.
5396 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5398         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5400 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5402         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5403         * resolv/res_init.c: Likewise.
5404         * resolv/res_mkquery.c: Likewise.
5406 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5408         * resolv/res_init.c (isascii): Do not define.  Use definition in
5409         <ctype.h>.
5410         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5411         (LOG_AUTH): Remove.
5412         (SPRINTF): Remove, adjust caller.
5413         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5415 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5417         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5418         SUNSECURITY conditional.
5419         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5421 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5423         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5424         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5425         Remove BSD-related preprocessor conditionals.
5426         * conf/portability.h: Remove.
5428 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5430         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5431         * resolv/res_data.c: Likewise.
5433 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5435         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5436         * resolv/res_data.c: Remove code conditional on ultrix.
5438 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5440         * resolv/res_init.c (RFC1535): Do not define.  Remove
5441         RFC1535 preprocessor conditionals.
5442         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5443         because there configuration options which make the resolver
5444         behavior different.
5446 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5448         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5449         RESOLVSORT preprocessor conditionals.
5450         * resolv/nss_dns/dns-host.c: Likewise.
5451         * resolv/res_init.c: Likewise.
5453 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5455         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5456         is never defined.
5458 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5460         * inet/inet_lnaof.c: Remove SCSS keyword.
5461         * inet/inet_mkadr.c: Likewise.
5462         * inet/inet_net.c: Likewise.
5463         * inet/inet_netof.c: Likewise.
5464         * inet/rcmd.c: Likewise.
5465         * inet/rexec.c: Likewise.
5466         * inet/ruserpass.c: Likewise.
5468 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5470         * resolv/inet_addr.c: Remove _LIBC conditionals.
5471         * resolv/res_data.c: Likewise.
5472         * resolv/res_init.c: Likewise.
5473         * resolv/res_mkquery.c: Likewise.
5474         * resolv/res_libc.c: Update comment.
5475         * resolv/README: Update.
5477 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5479         * resolv/gethnamaddr.c: Remove SCSS keyword.
5480         * resolv/herror.c: Likewise.
5481         * resolv/inet_addr.c: Likewise.
5482         * resolv/inet_net_ntop.c: Likewise.
5483         * resolv/inet_net_pton.c: Likewise.
5484         * resolv/inet_neta.c: Likewise.
5485         * resolv/inet_ntop.c: Likewise.
5486         * resolv/inet_pton.c: Likewise.
5487         * resolv/ns_date.c: Remove RCS keyword.
5488         * resolv/ns_name.c: Likewise.
5489         * resolv/ns_netint.c: Likewise.
5490         * resolv/ns_parse.c: Likewise.
5491         * resolv/ns_print.c: Likewise.
5492         * resolv/ns_samedomain.c: Likewise.
5493         * resolv/ns_ttl.c: Likewise.
5494         * resolv/nsap_addr.c: Likewise.
5495         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5496         * resolv/res_data.c: Remove RCS keyword.
5497         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5498         * resolv/res_init.c: Likewise.
5499         * resolv/res_mkquery.c: Likewise.
5500         * resolv/res_query.c: Likewise.
5501         * resolv/res_send.c: Likewise.
5503 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5505         * conform/data/stdio.h-data (fdopen): Expect also for
5506         [XPG3 || XPG4].
5508         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5509         (fseeko): Likewise.
5510         (ftello): Likewise.
5511         (ftrylockfile): Likewise.
5512         (funlockfile): Likewise.
5513         (getc_unlocked): Likewise.
5514         (getchar_unlocked): Likewise.
5515         (putc_unlocked): Likewise.
5516         (putchar_unlocked): Likewise.
5518 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5520         [BZ #19868]
5521         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5522         DNS packet syntax checks (which were not needed before).  Skip
5523         over non-PTR records.
5525 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5527         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5528         definition.  Include <stddef.h> instead.
5530 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5532         [BZ #19831]
5533         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5534         function.
5535         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5536         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5538 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5540         [BZ #19862]
5541         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5542         (getanswer_r): Do not call syslog.
5543         (gaih_getanswer_slice): Likewise.
5544         * resolv/gethnamaddr.c (AskedForGot): Remove.
5545         (getanswer): Do not call syslog.
5546         (gethostbyaddr): Likewise.
5548 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5550         * conform/data/signal.h-data (union sigval): Expect also if
5551         [XOPEN2K].
5552         (struct sigevent): Likewise.
5553         (SIGEV_NONE): Likewise.
5554         (SIGEV_SIGNAL): Likewise.
5555         (SIGEV_THREAD): Likewise.
5556         (SIGRTMIN): Likewise.
5557         (SIGRTMAX): Likewise.
5558         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5559         variable.
5560         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5562 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5564         [BZ #19830]
5565         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5566         (gaih_getanswer_slice): Likewise.
5567         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5568         Also check for availability of RR metadata.
5570 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5572         [BZ #19825]
5573         * resolv/res_send.c (send_vc): Remove early *resplen2
5574         initialization.  Set *resplen2 on socket error.  Call
5575         close_and_return_error for other errors.
5577 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5579         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5580         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5581         (SCM_IUCV_TRGCLS): New define.
5583 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5585         [BZ #20005]
5586         * libio/fmemopen.c (fmemopen_write): Update internal position after
5587         write.
5588         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5589         * stdio-common/tst-fmemopen4.c: New file..
5591 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5593         [BZ #19996]
5594         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5595         not [__USE_XOPEN2K].
5596         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5597         variable.
5599         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5600         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5601         variable.
5603         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5604         [__USE_XOPEN2K8].
5605         [__USE_LARGEFILE64] (off64_t): Likewise.
5606         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5607         variable.
5609 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
5611         [BZ #19989]
5612         * libio/stdio.h (cuserid): Do not declare if
5613         [__USE_XOPEN2K && !__USE_GNU].
5614         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5615         variable.
5617 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5619         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5620         (sysdep_routines): Add P8 and PPC64 strcspn targets.
5621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5622         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5623         ifunc'ed strcspn.
5624         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5625         [EALIGN]: Removed.
5626         [END]: Likewise
5627         [STRSPN]: Define instead of the above to control symbol name.
5628         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5629         New file.
5630         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5631         Likewise.
5632         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5633         Likewise.
5634         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5635         Likewise.
5636         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5637         [INITIAL_MASK]: New macro.
5638         [STRCSPN]: Likewise.
5639         [UPDATE_MASK]: Likewise.
5640         [USE_AS_STRCSPN]: Lisewise.
5642 2016-04-25  Florian Weimer  <fweimer@redhat.com>
5644         [BZ #19931]
5645         * stdio-common/tst-vfprintf-width-prec.c: New file.
5646         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5647         (tests-special): Add tst-vfprintf-width-prec-mem.out.
5648         (generated): Add mtrace-related files.
5649         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5650         (tst-%-mem.out): New pattern rule, replaces
5651         tst-printf-bz18872-mem.out.
5652         * stdio-common/vfprintf.c (vfprintf): When handling a precision
5653         specifier, deallocate any previously allocated work buffer.
5655 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5657         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5658         Add nop before __startcontext, add explaining comments.
5660 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
5662         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5663         any more. Notably since IPV6_PKTINFO has been reintroduced with a
5664         completely different API.
5666         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5667         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5668         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5669         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5670         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5671         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5672         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5673         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5674         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5675         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5677 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
5679         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5681 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
5683         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5684         when it is the default of 0.
5686 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5688         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
5689         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5690         (sysdep_routines): Add new strcasestr targets.
5691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5692         (__libc_ifunc_impl_list): Likewise.
5693         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5694         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5695         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5696         * sysdeps/powerpc/powerpc64/power8/Makefile:
5697         New file to add strcasestr-ppc64 to sysdep_routines.
5698         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5699         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5701 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
5703         * benchtests/Makefile (wcsmbs-benchset): Include only for
5704         native builds and runs.
5705         (LOCALES): Likewise.
5706         (bench-build): Build timing-type here instead of the bench
5707         target.  Generate locale only for native builds.
5708         * benchtests/README: Add note for cross-building.
5710         * benchtests/Makefile (bench-clean): Clean up extra-objs.
5712         * benchtests/README: Update README to include instructions on
5713         using bench-build.
5715         * Makefile.in (bench-build): New target.
5716         * Rules (PHONY): Add bench-build target.
5717         * benchtests/Makefile (bench): Depend on bench-build.
5718         (bench-build): New target.
5720 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5722         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5723         profil_reply_port.
5724         (profile_waiter): Do not initialize profil_reply_port.
5725         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5726         frequency instead of tick length in us.
5728 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
5730         [BZ #18712]
5731         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5732         (__old_mempcpy_small): Likewise.
5733         (__old_strcpy_small): Likewise.
5734         (__old_stpcpy_small): Likewise.
5735         (__old_strpbrk_c2): Fix compat symbol name.
5736         (__old_strpbrk_c3): Likewise.
5737         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5738         (__mempcpy_small): Remove.
5739         (__strcpy_small): Remove.
5740         (__stpcpy_small): Remove.
5742 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
5744         [BZ #19400]
5745         * locale/iso-639.def: Add the Talossan/tzl language.
5747 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5749         [BZ #16983]
5750         * locale/programs/ld-address.c (address_finish): Update postal_fmt
5751         comment.  Add "ln" to strchr check on postal_fmt.
5753 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5755         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5756         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
5757         tel_dom_fmt.
5759 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5761         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5762         (sysdep_routines): Added __strlen_power8.
5763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5764         __strlen_power8 entry.
5765         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5766         Implementation for POWER8.
5767         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5768         for __strlen_power8.
5769         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5770         Implementation for POWER8.
5772 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
5774         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5776 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
5778         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5779         Goldmont and Airmont processors.
5781 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
5783         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5784         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5785         (__STRING2_SMALL_GET32): Remove.
5786         (memset): Remove.
5787         (__memset_1): Remove.
5788         (__memset_gc): Remove.
5789         (__mempcpy): Remove.
5790         (mempcpy): Remove.
5791         (__mempcpy_args): Remove.
5792         (strchr): Remove.
5793         (strcpy): Remove.
5794         (strcpy_args): Remove.
5795         (__stpcpy_args): Remove.
5796         (__strcmp_cc): Remove.
5797         (__strcmp_gc): Remove.
5798         (strstr): Remove.
5800 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
5802         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
5803         * nis/nis_call.c (nis_server_cache_add): Likewise.
5805 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5807         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
5809 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5811         * malloc/arena.c (__malloc_fork_lock_parent)
5812         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5813         internal_function attribute.
5815 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
5817         * stdio-common/printf_fp.c (__printf_fp_l):
5818         Rename ___printf_fp_l to __printf_fp_l and
5819         remove strong alias. Use libc_hidden_def instead
5820         of ldbl_hidden_def macro.
5822 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5824         Remove malloc hooks from fork handler.  They are no longer needed
5825         because malloc runs right before fork, and no malloc calls from
5826         other fork handlers are not possible anymore.
5827         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5828         declarations.
5829         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5830         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5831         (atfork_recursive_cntr): Remove.
5832         (__malloc_fork_lock_parent): Do not override malloc hooks and
5833         thread_arena.
5834         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5835         thread_arena.
5836         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
5837         thread_arena instead of save_arena.
5839 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5841         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5842         (thread_atfork, thread_atfork_static): Remove.
5843         * sysdeps/mach/hurd/malloc-machine.h:
5844         (thread_atfork, thread_atfork_static): Remove.
5846 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5848         [BZ #19431]
5849         Run the malloc fork handler as late as possible to avoid deadlocks.
5850         * malloc/malloc-internal.h: New file.
5851         * malloc/malloc.c: Include it.
5852         * malloc/arena.c (ATFORK_MEM): Remove.
5853         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5854         Update comment.
5855         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5856         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5857         Remove outdated comment.
5858         (ptmalloc_init): Do not call thread_atfork.  Remove
5859         thread_atfork_static.
5860         * malloc/tst-malloc-fork-deadlock.c: New file.
5861         * Makefile (tests): Add tst-malloc-fork-deadlock.
5862         (tst-malloc-fork-deadlock): Link against libpthread.
5863         * manual/memory.texi (Aligned Memory Blocks): Update safety
5864         annotation comments.
5865         * sysdeps/nptl/fork.c (__libc_fork): Call
5866         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5867         __malloc_fork_unlock_child.
5868         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5870 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5872         [BZ #19613]
5873         Remove union wait.
5874         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5875         (w_stopsig, w_stopval): Remove.
5876         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5877         stat_loc argument.
5878         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5879         (__WAIT_STATUS_DEFN): Remove.
5880         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5881         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5882         (wait, wait3, wait4): Use int * for the stat_loc argument.
5883         * posix/wait.c (__wait): Likewise.
5884         * posix/wait3.c (__wait3): Likewise.
5885         * posix/wait4.c (__wait4): Likewise.
5886         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5887         (__WAIT_STATUS_DEFN): Remove.
5888         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5889         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5890         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5891         argument.
5892         * sysdeps/posix/wait.c (__libc_wait): Likewise.
5893         * sysdeps/posix/wait3.c (__wait3): Likewise.
5894         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5895         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5896         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5897         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5898         stat_loc argument.
5899         * manual/process.texi (BSD Wait Functions): Remove union wait.
5901 2016-04-13  Andreas Schwab  <schwab@suse.de>
5903         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5904         (test-extras): Add tst-tlsalign-vars.
5905         * math/Makefile: Wrap long lines.
5906         (libm-vec-test-wrappers): Define.
5907         (test-extras): Add $(libm-vec-test-wrappers).
5908         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5909         * nss/Makefile (extra-test-objs): Add nss_test1.os.
5910         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5911         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5912         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5913         (extra-test-objs): Add corresponding objects.
5915 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
5917         [BZ #19928]
5918         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5919         New.
5920         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5921         times of shared cache size.
5922         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5923         (VMOVNT): New.
5924         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5925         (VMOVNT): Likewise.
5926         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5927         (VMOVNT): Likewise.
5928         (VMOVU): Changed to movups for smaller code sizes.
5929         (VMOVA): Changed to movaps for smaller code sizes.
5930         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5931         comments.
5932         (PREFETCH): New.
5933         (PREFETCH_SIZE): Likewise.
5934         (PREFETCHED_LOAD_SIZE): Likewise.
5935         (PREFETCH_ONE_SET): Likewise.
5936         Rewrite to use forward and backward loops, which move 4 vector
5937         registers at a time, to support overlapping addresses and use
5938         non temporal store if size is above the threshold and there is
5939         no overlap between destination and source.
5941 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
5943         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5944         Include dl-vdso.
5945         * sysdeps/unix/sysv/linux/mips/Versions: Add
5946         __vdso_clock_gettime.
5947         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5948         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5949         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5950         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5951         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5952         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5953         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5954         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5955         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5957 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5959         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5960         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5961         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5962         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5963         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5964         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5967         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5968         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5969         syscalls generation.
5970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5971         [__NR_pwrite64] (__NR_write): Remove define.
5972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5973         [__NR_pwrite64] (__NR_write): Remove define.
5974         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5975         Remove define.
5976         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
5977         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
5978         Remove define.
5979         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
5980         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
5981         Linux implementation as base.
5982         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5984         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
5985         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5986         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5987         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
5989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5990         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
5991         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
5992         syscall generation.
5993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5994         [__NR_pread64] (__NR_pread): Remove define.
5995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5996         [__NR_pread64] (__NR_pread): Likewise.
5997         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
5998         define.
5999         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6000         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6001         Remove define.
6002         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6003         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6004         Linux implementation as base.
6005         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6006         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6007         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6009         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6010         definition.
6011         (__ALIGNMENT_COUNT): Likewise.
6012         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6013         (__ALIGNMENT_COUNT): Likewise.
6014         (SYSCALL_LL): New define.
6015         (SYSCALL_LL64): Likewise.
6016         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6017         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6018         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6019         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6021         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6022         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6023         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6024         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6025         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6026         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6028 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6030         [BZ #19865]
6031         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6032         original buffer before retry.
6034 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6036         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6037         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6038         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6039         GLRO(dl_auxv) list.
6040         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6041         including <ldsodefs.h>.
6042         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6044 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6046         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6047         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6048         $(CPPFLAGS).
6050 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6052         [BZ #17950]
6053         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6054         Add -mfpmath=387.
6056 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6058         * sysdeps/i386/configure.ac: Change == to = when calling test.
6059         * sysdeps/x86_64/configure.ac: Likewise.
6060         * sysdeps/i386/configure: Regenerated.
6061         * sysdeps/x86_64/configure: Likewise.
6063 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6065         [BZ #16137]
6066         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6067         * benchtests/bench-strcoll.c (input_files): Likewise.
6068         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6069         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6070         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6072 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6074         [BZ #19929]
6075         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6076         [__USE_XOPEN2K8 && !__USE_GNU].
6077         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6078         variable.
6080         [BZ #19925]
6081         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6082         define if [!__USE_MISC && __USE_XOPEN2K].
6083         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6084         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6085         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6086         Likewise.
6087         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6088         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6089         variable.
6090         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6092 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6094         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6095         (sysdep_routines): Add new strspn targets.
6096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6097         (__libc_ifunc_impl_list): Add strspn.
6098         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6099         New file.
6100         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6101         Likewise.
6102         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6103         Likewise.
6104         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6105         Likewise.
6107 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6109         * misc/hsearch_r.c: Include <limits.h>.
6111 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6113         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6115 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6117         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6118         (MEMCPY_SYMBOL): New.
6119         (MEMPCPY_SYMBOL): Likewise.
6120         (MEMMOVE_CHK_SYMBOL): Likewise.
6121         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6122         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6123         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6124         Provide alias for memcpy in libc.a and ld.so.
6126 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6128         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6129         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6130         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6131         Disabled fro now.
6132         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6133         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6135 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6137         * benchtests/Makefile (string-benchset): Add memcpy-large,
6138         memmove-large and memset-large.
6139         * benchtests/bench-memcpy-large.c: New file.
6140         * benchtests/bench-memmove-large.c: Likewise.
6141         * benchtests/bench-memmove-large.c: Likewise.
6142         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6144 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6146         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6147         32-bit displacement to avoid long nop between instructions.
6149 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6151         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6152         a comment on VMOVU and VMOVA.
6154 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6156         [BZ #19633]
6157         Use specified locale for number formatting in strfmon_l.
6158         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6159         (__nl_lookup_word): New inline functions.
6160         * include/printf.h (__print_fp_l): Declare.
6161         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6162         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6163         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6164         (___printf_fp): New function.
6165         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6166         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6167         * stdlib/tst-strfmon_l.c (do_test): New test.
6168         * stdlib/Makefile (tests): Add kt.
6169         (LOCALES): Build additional locales.
6170         (tst-strfmon_l.out): Require locales.
6172 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6174         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6175         if not in libc.
6176         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6177         Likewise.
6178         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6179         Likewise.
6180         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6181         Likewise.
6183 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6185         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6186         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6187         with unaligned_erms.
6188         (__memmove_erms): Skip if source == destination.
6189         (__memmove_unaligned_erms): Don't check source == destination
6190         first.
6192 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6194         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6195         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6197 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6199         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6200         * string/strspn.c (strspn): Likewise.
6202 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6204         * benchtests/bench-memset.c (do_test): Support 64-byte
6205         alignment.
6206         (test_main): Test 64-byte alignment.
6208 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6210         * benchtests/bench-memmove.c (test_main): Test 64-byte
6211         alignment.
6213 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6215         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6217 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6219         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6220         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6221         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6223         * string/strpbrk.c (strpbrk): Rewrite function.
6224         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6225         (__strpbrk_c2): Likewise.
6226         (__strpbrk_c3): Likewise.
6227         * string/string-inlines.c
6228         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6229         Likewise.
6230         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6231         Likewise.
6233         * string/strspn.c (strcspn): Rewrite function.
6234         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6235         (__strspn_c1): Remove inline function.
6236         (__strspn_c2): Likewise.
6237         (__strspn_c3): Likewise.
6238         * string/string-inlines.c
6239         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6240         compatibility symbol.
6241         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6242         Likewise.
6243         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6244         Likewise.
6245         * string/string-inlines.c: Include generic version.
6247 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6248             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6250         * string/Version (libc): Add GLIBC_2.24.
6251         * string/strcspn.c (strcspn): Rewrite function.
6252         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6253         (__strcspn_c1): Remove inline function.
6254         (__strcspn_c2): Likewise.
6255         (__strcspn_c3): Likewise.
6256         * string/string-inline.c
6257         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6258         compatibility symbol.
6259         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6260         Likewise.
6261         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6262         Likewise.
6263         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6265 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6267         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6268         Use ahi instead of aghi to adjust stack pointer.
6270 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6272         [BZ #19853]
6273         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6274         TEST to take significant digits as second parameter.
6275         [TEST]: Redefine in terms of TEST_N taking 30
6276         significant digits.
6277         (do_test): Add test case to demonstrate precision
6278         failure in the ldbl-128ibm printf.
6279         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6280         (__mpn_extract_long_double): Carry 7 extra intermediate
6281         bits of precision to aide computing difference when
6282         signs differ.
6284 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6286         [BZ #19881]
6287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6288         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6289         memset-avx512-unaligned-erms.
6290         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6291         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6292         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6293         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6294         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6295         __memset_sse2_unaligned_erms, __memset_erms,
6296         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6297         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6298         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6299         file.
6300         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6301         Likewise.
6302         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6303         Likewise.
6304         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6305         Likewise.
6307 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6309         [BZ #19776]
6310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6311         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6312         memmove-avx512-unaligned-erms.
6313         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6314         (__libc_ifunc_impl_list): Test
6315         __memmove_chk_avx512_unaligned_2,
6316         __memmove_chk_avx512_unaligned_erms,
6317         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6318         __memmove_chk_sse2_unaligned_2,
6319         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6320         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6321         __memmove_avx512_unaligned_erms, __memmove_erms,
6322         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6323         __memcpy_chk_avx512_unaligned_2,
6324         __memcpy_chk_avx512_unaligned_erms,
6325         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6326         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6327         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6328         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6329         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6330         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6331         __mempcpy_chk_avx512_unaligned_erms,
6332         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6333         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6334         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6335         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6336         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6337         __mempcpy_erms.
6338         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6339         file.
6340         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6341         Likwise.
6342         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6343         Likwise.
6344         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6345         Likwise.
6347 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6349         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6350         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6351         (La_s390_64_regs): Likewise.
6352         (La_s390_32_retval): Append vector register lrv_v24.
6353         (La_s390_64_retval): Likeweise.
6354         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6355         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6356         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6357         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6359 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6361         [BZ #19916]
6362         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6363         to create a non-vector/vector version for _dl_runtime_resolve and
6364         _dl_runtime_profile. Move implementation to ...
6365         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6366         (_dl_runtime_resolve) Save and restore fpr/vrs.
6367         (_dl_runtime_profile) Save and restore vrs and fix some issues
6368         if _dl_call_pltexit is called.
6369         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6370         Choose the correct resolver function if running on a machine with vx.
6371         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6372         to create a non-vector/vector version for _dl_runtime_resolve and
6373         _dl_runtime_profile. Move implementation to ...
6374         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6375         (_dl_runtime_resolve) Save and restore fpr/vrs.
6376         (_dl_runtime_profile) Save and restore vrs and fix some issues
6377         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6378         Choose the correct resolver function if running on a machine with vx.
6380 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6382         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6384 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6386         [BZ #19509]
6387         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6388         skip_map != NULL.
6389         * elf/tst-dlsym-error.c: New file.
6390         * elf/Makefile (tests): Add tst-dlsym-error.
6391         (tst-dlsym-error): Link against libdl.
6393 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6395         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6396         (__ASSUME_FUTIMESAT): Remove macro.
6397         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6399 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6401         [BZ #19879]
6402         CVE-2016-3075
6403         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6404         copy name.
6406 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6408         [BZ #19837]
6409         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6410         error if parse_line fails.
6412 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6414         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6415         (index_cpu_ERMS): Likewise.
6416         (reg_ERMS): Likewise.
6418 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6420         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6421         PER_LINUX_FDPIC): Add.
6423 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6425         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6426         memcpy-avx512-no-vzeroupper.
6427         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6428         to ...
6429         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6430         (MEMCPY): Don't define.
6431         (MEMCPY_CHK): Likewise.
6432         (MEMPCPY): Likewise.
6433         (MEMPCPY_CHK): Likewise.
6434         (MEMPCPY_CHK): Renamed to ...
6435         (__mempcpy_chk_avx512_no_vzeroupper): This.
6436         (MEMPCPY_CHK): Renamed to ...
6437         (__mempcpy_chk_avx512_no_vzeroupper): This.
6438         (MEMCPY_CHK): Renamed to ...
6439         (__memmove_chk_avx512_no_vzeroupper): This.
6440         (MEMCPY): Renamed to ...
6441         (__memmove_avx512_no_vzeroupper): This.
6442         (__memcpy_avx512_no_vzeroupper): New alias.
6443         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6445 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6447         [BZ #18858]
6448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6449         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6450         and mempcpy-avx512-no-vzeroupper.
6451         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6452         New.
6453         (MEMPCPY): Likewise.
6454         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6455         (MEMPCPY_CHK): New.
6456         (MEMPCPY): Likewise.
6457         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6458         (MEMPCPY): Likewise.
6459         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6460         (MEMPCPY): Likewise.
6461         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6462         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6463         Likewise.
6464         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6465         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6467 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6468              Amit Pawar  <Amit.Pawar@amd.com>
6470         [BZ #19583]
6471         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6472         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6473         processors.  Set Fast_Copy_Backward for AMD Excavator
6474         processors.
6475         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6476         New.
6477         (index_arch_Fast_Unaligned_Copy): Likewise.
6478         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6479         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6481 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6483         [BZ #19791]
6484         * resolv/res_send.c (close_and_return_error): New function.
6485         (send_dg): Initialize *resplen2 after reopen failure.  Call
6486         close_and_return_error for error returns.  On error paths without
6487         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6488         successful return.
6490 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6492         [BZ# 19860]
6493         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6494         zero if the compiler does not provide the AVX512F bit.
6496 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6498         [BZ #19848]
6499         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6500         from 8 to 4.
6501         (__ieee754_powl): Compare integer exponent against 4 not 8.
6502         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6503         from 8 to 4.
6504         (__ieee754_powl): Compare integer exponent against 4 not 8.
6505         * math/auto-libm-test-in: Add more tests of pow.
6506         * math/auto-libm-test-out: Regenerated.
6507         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6510 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6512         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6513         Make code unconditional.
6514         [!__NR_utimensat]: Remove conditional code.
6515         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6516         Make code unconditional.
6517         [!__NR_utimensat]: Remove conditional code.
6518         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6519         Make code unconditional.
6520         [!__NR_utimensat]: Remove conditional code.
6522 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6524         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6525         Make code unconditional.
6527 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
6529         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6530         call-clobbered %eax on retry path.
6531         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6533 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6535         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6536         Don't set %rcx twice before "rep movsb".
6538 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6540         [BZ #19583]
6541         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6542         inline.  Check family before setting family, model and
6543         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6544         bits here.
6545         (init_cpu_features): Replace HAS_CPU_FEATURE and
6546         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6547         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6548         for Intel processors with usable AVX2.  Call get_common_indeces
6549         for other processors with family == NULL.
6550         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6551         (CPU_FEATURES_ARCH_P): Likewise.
6552         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6553         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6555 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6557         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6558         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6559         $(shared-thread-library) instead of hardcoding the path to libpthread.
6561 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6563         * sysdeps/unix/sysv/linux/kernel-features.h
6564         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6565         * sysdeps/unix/sysv/linux/getdents.c
6566         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6567         [!have_no_getdents64_defined]: Likewise.
6568         (__GETDENTS): Remove __have_no_getdents64 conditional.
6570 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6572         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6573         Remove macro.
6574         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6575         <kernel-features.h>.
6576         (signalfd) [__NR_signalfd4]: Make code unconditional.
6577         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6579 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6581         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6582         style.
6584 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6586         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6587         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6588         __pthread_unwind.
6589         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6590         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6591         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6592         (__condvar_cleanup1): Likewise.
6594 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
6596         [BZ #19822]
6597         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6598         move it to the final $@ location.
6600 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6602         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6603         access where posix_spawn success and pid argument is null.
6604         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6605         success case.
6607 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
6609         * sysdeps/mach/hurd/i386/c++-types.data: New file.
6611         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6613         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6614         and __fcntl.
6615         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6616         __fcntl only.
6617         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6618         adding attribute_hidden to __open and __fcntl.
6620         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6621         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6622         depend on libc-modules.h,
6623         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6625 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
6627         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6628         Remove macro.
6629         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6630         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6631         entry.
6633         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6634         Remove macro.
6635         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6636         include <kernel-features.h>.
6637         [!__ASSUME_FALLOCATE]: Remove conditional code.
6638         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6640 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6642         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6643         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6644         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6645         (_ZGVdN4v_cos_avx2): Likewise.
6646         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6647         (_ZGVdN4v_cos): Likewise.
6648         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6649         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6650         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6651         (_ZGVdN4v_exp_avx2): Likewise.
6652         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6653         (_ZGVdN4v_exp): Likewise.
6654         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6655         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6656         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6657         (_ZGVdN4v_log_avx2): Likewise.
6658         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6659         (_ZGVdN4v_log): Likewise.
6660         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6661         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6662         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6663         (_ZGVdN4vv_pow_avx2): Likewise.
6664         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6665         (_ZGVdN4vv_pow): Likewise.
6666         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6667         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6668         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6669         (_ZGVdN4v_sin_avx2): Likewise.
6670         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6671         (_ZGVdN4v_sin): Likewise.
6672         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6673         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6674         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6675         (_ZGVdN4vvv_sincos_avx2): Likewise.
6676         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6677         (_ZGVdN4vvv_sincos): Likewise.
6678         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6679         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6680         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6681         (_ZGVbN4v_cosf_sse4): Likewise.
6682         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6683         (_ZGVdN8v_cosf_avx2): Likewise.
6684         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6685         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6686         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6687         (_ZGVbN4v_expf_sse4): Likewise.
6688         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6689         (_ZGVdN8v_expf_avx2): Likewise.
6690         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6691         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6692         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6693         (_ZGVbN4v_logf_sse4): Likewise.
6694         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6695         (_ZGVdN8v_logf_avx2): Likewise.
6696         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6697         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6698         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6699         (_ZGVbN4vv_powf_sse4): Likewise.
6700         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6701         (_ZGVdN8vv_powf_avx2): Likewise.
6702         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6703         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6704         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6705         (_ZGVbN4vvv_sincosf_sse4): Likewise.
6706         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6707         (_ZGVdN8vvv_sincosf_avx2): Likewise.
6708         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6709         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6710         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6711         (_ZGVbN4v_sinf_sse4): Likewise.
6712         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6713         (_ZGVdN8v_sinf_avx2): Likewise.
6714         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6715         Use JUMPTARGET to call callee.
6716         (WRAPPER_IMPL_SSE2_ff): Likewise.
6717         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6718         (WRAPPER_IMPL_AVX): Likewise.
6719         (WRAPPER_IMPL_AVX_ff): Likewise.
6720         (WRAPPER_IMPL_AVX_fFF): Likewise.
6721         (WRAPPER_IMPL_AVX512): Likewise.
6722         (WRAPPER_IMPL_AVX512_ff): Likewise.
6723         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6724         Likewise.
6725         (WRAPPER_IMPL_SSE2_ff): Likewise.
6726         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6727         (WRAPPER_IMPL_AVX): Likewise.
6728         (WRAPPER_IMPL_AVX_ff): Likewise.
6729         (WRAPPER_IMPL_AVX_fFF): Likewise.
6730         (WRAPPER_IMPL_AVX512): Likewise.
6731         (WRAPPER_IMPL_AVX512_ff): Likewise.
6732         (WRAPPER_IMPL_AVX512_fFF): Likewise.
6734 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6736         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6737         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6738         qualifier.
6739         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6740         internal_function qualifiers.
6742 2016-03-15  Carlos O'Donell <carlos@redhat.com>
6744         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6745         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6746         * math/atest-exp.c (exp_mpn): Mark chk unused.
6747         * math/atest-exp2.c (exp_mpn): Likwise.
6748         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6749         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6751 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
6753         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6754         Remove macro.
6755         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6756         <kernel-features.h>.
6757         [__NR_ppoll]: Make code unconditional.
6758         [!__ASSUME_PPOLL]: Remove conditional code.
6760         * sysdeps/unix/sysv/linux/kernel-features.h
6761         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6762         (__ASSUME_ACCEPT4): Likewise.
6763         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6764         Define.
6765         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6766         Likewise.
6767         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6768         Likewise.
6769         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6770         Likewise.
6771         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6772         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6773         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6774         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6775         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6776         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6777         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6778         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6779         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6780         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6781         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6782         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6783         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6784         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6785         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6786         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6787         Likewise.
6788         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6789         Likewise.
6790         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6791         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6792         0x040300].
6793         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6794         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6795         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6796         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6797         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6798         0x030300].
6799         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6800         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6801         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6802         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6803         0x040300].
6804         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6805         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6806         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6807         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6808         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6809         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6810         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6811         0x030300].
6812         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6813         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6814         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6815         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6816         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6817         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6818         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6819         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6820         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6821         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6822         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6823         0x040300].
6824         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6825         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6826         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6827         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6828         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6829         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6830         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6831         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6832         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6833         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6834         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6835         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6836         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6837         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6838         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6839         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6840         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6841         Likewise.
6842         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6843         Likewise.
6845 2016-03-15  Andreas Schwab  <schwab@suse.de>
6847         [BZ #19257]
6848         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6849         statp->_u._ext.nscount as loop count.
6851 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6853         * math/test-signgam-finite-c99.c: Also #undef
6854         __LIBC_INTERNAL_MATH_INLINES.
6855         * math/test-signgam-main.c: Likewise.
6857 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
6859         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6860         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6861         (MADV_FREE): Likewise.
6862         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6863         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6864         EPOLLEXCLUSIVE.
6866 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
6868         * timezone/README: Remove mention of checktab.awk. Mention wiki
6869         SharedSourceFiles.
6871 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
6873         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6874         WUNTRACED.
6876 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6878         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6879         order to match the type of p when calling atomic_exchange_acq().
6881 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6883         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6884         cfi_offset calls.
6885         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6886         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6887         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6888         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6889         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6891 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
6893         * timezone/checktab.awk: Removed.
6895 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
6897         * manual/math.texi (Errors in Math Functions): Document relaxed
6898         accuracy goals for IBM long double.
6899         * math/libm-test.inc (test_exceptions): Always allow spurious
6900         "underflow" and "inexact" exceptions for IBM long double.
6902 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6904         [BZ #19762]
6905         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6906         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6907         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6908         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6909         (bit_arch_*): This for feature array.
6910         (bit_*): Renamed to ...
6911         (bit_cpu_*): This for cpu array.
6912         (index_*): Renamed to ...
6913         (index_arch_*): This for feature array.
6914         (index_*): Renamed to ...
6915         (index_cpu_*): This for cpu array.
6916         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6917         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6918         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6919         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6920         bit_##name with index_cpu_##name and bit_cpu_##name.
6921         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6922         bit_##name with index_arch_##name and bit_arch_##name.
6924 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
6926         [BZ #19792]
6927         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6928         Terminate FDE before return label.
6930 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
6932         [BZ #19790]
6933         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6934         (rintl): Define as macro.
6935         [USE_AS_NEARBYINTL] (__rintl): Likewise.
6936         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6937         of fesetround.  Ensure results are evaluated before end of scope.
6938         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6939         USE_AS_NEARBYINTL and include s_rintl.c.
6940         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6941         Disable exception traps in new environment.
6942         (libc_feholdsetround_ppc_ctx): Likewise.
6944 2016-03-08  Roland McGrath  <roland@hack.frob.com>
6946         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6947         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6948         (tst_audit10_aux) [__AVX512F__]: ... here.
6950 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
6952         * include/sys/auxv.h: New file.
6954 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6956         [BZ #19759]
6957         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6959 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6961         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6962         operand modifier.
6963         (feclearexcept): Likewise.
6965 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6967         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6968         to reflect the entire 32-bit HWCAP.
6969         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6970         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
6972 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6974         [BZ #19783]
6975         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
6976         $(test-via-rtld-prefix).
6977         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
6979 2016-03-08  Florian Weimer  <fweimer@redhat.com>
6981         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
6982         union wait.  Report any non-zero exit status as error.
6984 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6986         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
6987         configured with --enable-hardcoded-path-in-tests.
6989 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
6991         [BZ #19677]
6992         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6993         (__ieee754_remainderl): Put zero low parts in canonical form.
6994         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
6995         file.  Based on
6996         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
6997         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
6998         with wrapper round test-fmodrem-ldbl-128ibm.c.
6999         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7000         file.
7001         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7002         Likewise.
7003         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7004         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7006 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7008         [BZ #19610]
7009         * elf/ldconfig.c (opt_link): Update comment.
7010         (options): Update help string for option -X.
7011         (search_dir): Unlink stale symbolic link only if updating symbolic
7012         links.
7013         * elf/tst-ldconfig-X.sh: New file.
7014         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7015         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7017 2016-03-07  Andreas Schwab  <schwab@suse.de>
7019         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7020         needed arguments.
7022 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7024         [BZ #15333]
7025         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7026         to lstat64.
7028 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7030         * libio/filedoalloc.c (isatty): Remove.
7031         (local_isatty): Add comment.  Call __isatty directly.
7032         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7033         * libio/wfiledoalloc.c (isatty): Remove.
7034         (_IO_wfile_doallocate): Update comment.
7036 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7038         [BZ #19269]
7039         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7040         tst-audit4-aux.o.
7041         (tst-audit10): Depend on tst-audit10-aux.o.
7042         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7043         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7044         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7045         instead of inline AVX code.
7046         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7047         instead of inline AVX512 code.
7048         * sysdeps/x86_64/tst-audit4-aux.c: New file
7049         * sysdeps/x86_64/tst-audit10-aux.c: New file
7051         [BZ #19648]
7052         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7054 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7056         [BZ #14750]
7057         [BZ #10354]
7058         [BZ #18433]
7059         * include/sched.h (__clone): Add hidden prototype.
7060         (__clone2): Likewise.
7061         * include/unistd.h (__dup): Likewise.
7062         * posix/Makefile (tests): Add tst-spawn2.
7063         * posix/tst-spawn2.c: New file.
7064         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7065         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7066         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7067         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7068         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7069         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7070         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7071         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7072         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7073         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7074         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7076         Likewise.
7077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7078         Likewise.
7079         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7080         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7081         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7082         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7083         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7084         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7085         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7086         * sysdeps/unix/sysv/linux/nptl-signals.h
7087         (____nptl_is_internal_signal): New function.
7088         * sysdeps/unix/sysv/linux/spawni.c: New file.
7090         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7091         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7092         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7093         * posix/tst-execvp2.c (do_test): Likewise.
7094         * posix/tst-execvp3.c (do_test): Likewise.
7095         * posix/tst-execvp4.c (do_test): Likewise.
7096         * posix/tst-execvpe1.c: New file.
7097         * posix/tst-execvpe2.c: Likewise.
7098         * posix/tst-execvpe3.c: Likewise.
7099         * posix/tst-execvpe4.c: Likewise.
7100         * posix/tst-execvpe5.c: Likewise.
7101         * posix/tst-execvpe6.c: Likewise.
7103         [BZ #19534]
7104         * posix/execl.c (execl): Remove dynamic memory allocation.
7105         * posix/execle.c (execle): Likewise.
7106         * posix/execlp.c (execlp): Likewise.
7108 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7110         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7111         Replace .text with .text.avx512.
7112         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7113         Likewise.
7115 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7117         * sysdeps/generic/libnsl.abilist: New file.
7118         * sysdeps/generic/libutil.abilist: New file.
7120 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7122         [BZ #19762]
7123         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7124         HAS_ARCH_FEATURE with Fast_Rep_String.
7125         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7126         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7127         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7128         Likewise.
7129         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7130         Likewise.
7131         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7132         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7133         Likewise.
7134         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7135         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7136         Likewise.
7138 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7140         [BZ #19745]
7141         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7142         with *%rax in call.
7144 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7146         [BZ #19745]
7147         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7148         with *__libc_start_main@GOTPCREL(%rip) in call.
7150 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7152         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7153         inside conditional for nonempty $(CXX).
7155         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7156         nonempty.
7158         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7159         to test for empty $(CXX) rather than $(CXX) of "no".
7161 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7163         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7165 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7166             H.J. Lu  <hongjiu.lu@intel.com>
7168         [BZ #18880]
7169         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7170         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7171         enable __memcpy_ssse3_back.
7173 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7175         [BZ #19758]
7176         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7177         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7179 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7181         [BZ #19490]
7182         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7183         (__fentry__): Likewise.
7185 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7187         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7188         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7190 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7192         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7193         __mcount_internal directly.
7194         (C_LABEL(__fentry__)): Likewise.
7195         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7196         directly.
7198 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7200         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7201         (__start_context): Call __setcontext directly.
7203 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7205         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7206         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7207         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7208         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7209         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7210         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7211         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7212         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7213         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7214         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7215         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7216         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7217         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7218         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7219         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7220         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7221         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7222         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7223         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7224         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7225         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7226         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7227         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7228         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7229         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7230         Remove conditional code.
7231         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7232         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7233         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7234         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7235         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7236         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7237         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7238         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7239         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7240         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7241         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7242         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7244 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7246         * NEWS (2.23): Fix typo in bug 19048 text.
7248 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7250         [BZ #14259]
7251         * Makeconfig: Rename msgcatdir to localedir.
7252         Rename inst_msgcatdir to inst_localedir.
7253         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7254         * config.make.in: Add localedir.
7255         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7256         (ldd-rewrite): Likewise.
7257         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7258         (install-others): Use inst_localedir.
7259         (CPPFLAGS): Use localedir.
7260         * locale/Makefile (locale-CPPFLAGS): Likewise.
7261         * po/Makefile (mo-installed): Use inst_localedir.
7263         [BZ #19575]
7264         * localedata/charmaps/GB18030: Update comments regarding PAU to
7265         non-PUA mappings.
7267 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7269         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7270         test for header.
7271         * sysdeps/unix/sysv/linux/configure: Regenerated.
7272         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7273         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7274         Remove conditional code.
7275         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7277         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7278         Define to 3.2.0.
7279         (arch_minimum_kernel): Likewise.
7280         * sysdeps/unix/sysv/linux/configure: Regenerated.
7281         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7282         Define to 2.6.32.
7283         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7284         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7285         (arch_minimum_kernel): Define to 2.6.32.
7286         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7287         * README: Document Linux 3.2 requirement.
7288         * manual/install.texi (Linux): Document Linux 3.2 headers
7289         requirement.
7290         * INSTALL: Regenerated.
7292 2016-02-24  Andreas Schwab  <schwab@suse.de>
7294         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7295         if !NO_LONG_DOUBLE.
7297 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7299         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7300         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7302 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7304         [BZ #19512]
7305         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7307 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7309         * posix/tst-dir.c: Include libc-internal.h.
7311 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7313         [BZ #19056]
7314         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7315         * manual/filesys.texi (Reading/Closing Directory): Mention
7316         deprecaion.
7317         * posix/tst-dir.c (main): Disable deprecation warning in test.
7319 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7321         [BZ #19679]
7322         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7323         Renamed to ...
7324         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7325         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7326         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7327         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7328         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7329         * sysdeps/x86_64/dl-trampoline.h
7330         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7331         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7333 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7335         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7337 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7339         * elf/elf.h (R_386_GOT32X): New.
7340         (R_386_NUM): Update.
7341         (R_X86_64_GOTPCRELX: New.
7342         (R_X86_64_REX_GOTPCRELX): New.
7343         (R_X86_64_NUM): Update.
7345 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7347         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7349 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7351         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7352         assign attr->stackaddr to it, and adjust it down when
7353         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7354         [_STACK_GROWS_UP]: Delete assert.
7355         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7356         Implement stack grows up logic.
7357         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7358         stack grows up logic.
7360 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7362         * NEWS: Update with 2.24 template.
7364 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7366         [BZ #19678]
7367         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7368         Ensure +0.0 is returned when taking the next value below the least
7369         positive value.
7371 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7373         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7374         available.  Do not define NO_THREADS.
7375         * malloc/malloc.c: Do not check NO_THREADS.
7376         * malloc/arena.c: Likewise.
7378 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7380         * malloc/malloc.c (__libc_mallinfo): Update comment.
7381         (struct malloc_par): Remove max_total_mem member, it was always 0.
7382         (int_mallinfo): Store 0 into usmblks (no functional change).
7383         * malloc/hooks.c (struct malloc_state): Document that
7384         max_total_mem is always 0.
7385         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7386         always 0.
7387         * manual/memory.texi (Statistics of Malloc): Likewise.
7389 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7391         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7392         * malloc/arena.c (arena_max): Remove.
7393         (heap_trim, _int_new_arena): Do not update arena_max.
7395 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7397         * resolv/res_init.c (res_ninit): Update comment.
7399 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7401         [BZ #19505]
7402         * posix/spawn_int.h: Add headers and include guard.
7403         (__spawn_valid_fd): New function.
7404         * posix/spawn_faction_addopen.c
7405         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7406         * posix/spawn_faction_addclose.c
7407         (posix_spawn_file_actions_addclose): Likewise.
7408         * posix/spawn_faction_adddup2.c
7409         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7410         second file descriptor.
7411         * posix/spawn_valid_fd.c: New file.
7412         * posix/tst-posix_spawn-fd.c: New file.
7413         * posix/Makefile (routines): Add spawn_valid_fd.
7414         (tests): Add tst-posix_spawn-fd.
7416 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7418         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7419         (do_test): Limit the number of arenas, so that we can use fewer
7420         outer threads.  Limit timeout to 3 seconds, in preparation for a
7421         larger TIMEOUT value.
7423 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7425         [BZ #19674]
7426         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7427         sign in overflowing and underflowing results when overflow or
7428         underflow is detected early.  Include sign in result before rather
7429         than after scaling.
7431         [BZ #19603]
7432         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7433         (__ieee754_remainderl): Adjust sign of integer version of low part
7434         when taking absolute value of high part.
7435         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7436         * math/libm-test.inc (remainder_test_data): Add another test.
7437         (remquo_test_data): Likewise.
7439 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7441         [BZ #19602]
7442         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7443         equal high parts and both low parts zero specially.
7444         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7445         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7446         Add test-fmodl-ldbl-128ibm.
7448         [BZ #19595]
7449         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7450         common logic for all cases of shifting subnormal results.  Do not
7451         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7452         exponent to ldbl_insert_mantissa in subnormal case.
7454         [BZ #19594]
7455         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7456         on high and low parts then adjust result and use
7457         ldbl_canonicalize_int if needed.
7459         [BZ #19593]
7460         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7461         on high part and __floor or __ceil on low part then use
7462         ldbl_canonicalize_int if needed.
7464         [BZ #19592]
7465         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7466         high and low parts then use ldbl_canonicalize_int if needed.
7468         [BZ #17899]
7469         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7470         New function.
7471         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7472         on high and low parts then use ldbl_canonicalize_int if needed.
7474 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7476         * configure: Regenerated.
7478         * po/libc.pot: Regenerated.
7480         * po/be.po: Updated translation.
7481         * po/bg.po: Likewise.
7482         * po/ca.po: Likewise.
7483         * po/cs.po: Likewise.
7484         * po/da.po: Likewise.
7485         * po/el.po: Likewise.
7486         * po/eo.po: Likewise.
7487         * po/es.po: Likewise.
7488         * po/fi.po: Likewise.
7489         * po/fr.po: Likewise.
7490         * po/gl.po: Likewise.
7491         * po/hr.po: Likewise.
7492         * po/hu.po: Likewise.
7493         * po/ia.po: Likewise.
7494         * po/id.po: Likewise.
7495         * po/it.po: Likewise.
7496         * po/ja.po: Likewise.
7497         * po/lt.po: Likewise.
7498         * po/nb.po: Likewise.
7499         * po/nl.po: Likewise.
7500         * po/pt_BR.po: Likewise.
7501         * po/rw.po: Likewise.
7502         * po/sk.po: Likewise.
7503         * po/sl.po: Likewise.
7504         * po/sv.po: Likewise.
7505         * po/tr.po: Likewise.
7506         * po/zh_CN.po: Likewise.
7507         * po/zh_TW.po: Likewise.
7509         * version.h (RELEAES): Set to "development".
7510         (VERSION): Set to 2.23.90.
7512         * version.h (RELEASE): Set to "stable".
7513         (VERSION): Set to 2.23.
7514         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7516         * NEWS: Updated fixed bugs.
7518 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
7519             Wilco Dijkstra  <wdijkstr@arm.com>
7521         [BZ #19462]
7522         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7523         (_STRING_INLINE_unaligned): This.
7524         * include/string.h: Include <string_private.h>.
7525         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7526         _STRING_INLINE_unaligned.
7527         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7528         (_STRING_INLINE_unaligned): New.
7529         * sysdeps/aarch64/string_private.h: New file.
7530         * sysdeps/generic/string_private.h: Likewise.
7531         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7532         * sysdeps/s390/string_private.h: Likewise.
7533         * sysdeps/x86/string_private.h: Likewise.
7534         * sysdeps/m68k/m680x0/m68020/bits/string.h
7535         (_STRING_ARCH_unaligned): Renamed to ...
7536         (_STRING_INLINE_unaligned): This.
7537         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7538         to ...
7539         (_STRING_INLINE_unaligned): This.
7540         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7541         to ...
7542         (_STRING_INLINE_unaligned): This.
7543         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7544         to ...
7545         (_STRING_INLINE_unaligned): This.
7547 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7548             H.J. Lu  <hongjiu.lu@intel.com>
7550         [BZ #19590]
7551         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7552         relocation.
7554 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7556         [BZ #18665]
7557         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7558         *herrno_p.
7559         (gaih_getanswer): Document functional behviour. Return tryagain
7560         if any result is tryagain.
7561         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7562         when freed.
7563         * resolv/res_send.c: Add copyright text.
7564         (__libc_res_nsend): Document that MAXPACKET is expected.
7565         (send_vc): Document. Remove buffer reuse.
7566         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7567         size of the buffer. Add Dprint for truncated UDP buffer.
7569 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7571         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7572         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7573         * INSTALL: Regenerate.
7575 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7576             Jonathan Wakely  <jwakely@redhat.com>
7577             Carlos O'Donell  <carlos@redhat.com>
7579         [BZ 19439]
7580         * math/Makefile (tests): Add test-math-isinff.
7581         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7582         * math/bits/mathcalls.h [__USE_MISC]: Use
7583         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7584         functions not in C++11 and which don't conflict e.g. isinff,
7585         isinfl etc.
7586         * math/test-math-isinff.cc: New file.
7588 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7590         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7592 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7594         [BZ #19529]
7595         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7597 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7599         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7601 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
7603         [BZ #19550]
7604         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7605         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7606         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7607         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7608         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7609         New syscall entry.
7610         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7611         New syscall entry.
7612         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7613         syscall entry.
7615 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
7617         [BZ #18240]
7618         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7619         unsigned int wraparound.
7621 2016-01-27  Florian Weimer  <fweimer@redhat.com>
7623         [BZ #18240]
7624         * misc/bug18240.c: New test.
7625         * misc/Makefile (tests): Add it.
7627 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
7628             Joseph Myers  <joseph@codesourcery.com>
7630         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7631         load in branch delay slot when less than a word of input left.
7633 2016-01-27  Andreas Schwab  <schwab@suse.de>
7635         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7636         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7637         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7638         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7640 2016-01-26  David S. Miller  <davem@davemloft.net>
7642         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7644 2016-01-25  David S. Miller  <davem@davemloft.net>
7646         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7647         __sqrtl_finite.
7648         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7649         instead using versioned_symbol.
7650         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7651         of entries.
7653         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7654         __sqrtl_finite to GLIBC_2.23
7656 2016-01-25  Ricchard Henderson  <rth@redhat.com>
7658         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7660 2016-01-25  Andreas Schwab  <schwab@suse.de>
7662         [BZ #17514]
7663         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7664         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7665         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7666         * nptl/tst-mutex-errorcheck.c: New file.
7668 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7670         [BZ #18560]
7671         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7672         (IPCOP_semop): Likewise.
7673         (IPCOP_semget): Likewise.
7674         (IPCOP_semctl): Likewise.
7675         (IPCOP_msgsnd): Likewise.
7676         (IPCOP_msgrcv): Likewise.
7677         (IPCOP_msgget): Likewise.
7678         (IPCOP_msgctl): Likewise.
7679         (IPCOP_shmat): Likewise.
7680         (IPCOP_shmdt): Likewise.
7681         (IPCOP_shmget): Likewise.
7682         (IPCOP_shmctl): Likewise.
7684 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7686         * string/tst-endian.c: Include <libc-internal.h>.
7687         (do_test): Ignore tautological-compare warnings around
7688         "htobeXX (beXXtoh (i)) != i" and
7689         "htoleXX (leXXtoh (i)) != i" if-statements.
7691 2016-01-24  David S. Miller  <davem@davemloft.net>
7693         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7694         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7695         alias.
7696         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7697         __sqrtl_finite.
7699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7701 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
7703         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7704         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7705         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7707 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7709         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7710         (thread_func): Use new function to simplify barrier check.
7711         (do_test): Use new function to simplify checking barrier exit
7712         code, and actually join the child thread.
7714 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7716         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7717         semicolon.
7718         (__libc_tend): Likewise.
7719         (__libc_tabort): Likewise.
7721 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
7723         * sysdeps/nios2/libm-test-ulps: Update.
7724         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7725         (__gtsf2): Likewise.
7726         (__unorddf2): Likewise.
7727         (__unordsf2): Likewise.
7728         (__ledf2): Likewise.
7730 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
7732         * nis/nis_table.c (__follow_path): Disable diagnostic for
7733         uninitialized variable that is a false positive for gcc 4.7.
7734         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7736 2016-01-20  Roland McGrath  <roland@hack.frob.com>
7738         * sysdeps/nacl/lowlevellock-futex.h
7739         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7740         Always evaluate PRIVATE argument.
7742 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7744         [BZ #19490]
7745         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7746         (pthread_cond_broadcast): Use ENTRY/END
7747         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7748         (pthread_cond_signal): Likewise.
7749         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7750         Likewise.
7751         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7752         Likewise.
7753         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7754         Likewise.
7756 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
7758         * sysdeps/ieee754/dbl-64/s_finite.c
7759         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7760         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7761         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7762         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7763         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7766         (__gtsf2): Add as optional for libc.so.
7767         (__unordsf2): Likewise.
7768         (__signbit): Remove for libc.so.
7769         (__signbitl): Likewise.
7771 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7773         * iconvdata/bug-iconv11.c (test_ibm93x):
7774         Use %zu printf format specifier for size_t argument.
7776 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
7778         * math/gen-libm-test.pl (parse_ulps): Do not reduce
7779         already-recorded ulps.
7780         * sysdeps/arm/libm-test-ulps: Regenerated.
7781         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7782         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7783         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7785 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7786             Paul Pluzhnikov  <ppluzhnikov@google.com>
7788         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7789         assembler not supporting AVX-512.
7791 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7793         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7795 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
7797         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7798         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7800         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7802         * sysdeps/arm/libm-test-ulps: Regenerated.
7804 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7806         [BZ #19451]
7807         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
7809 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7811         [BZ #19486]
7812         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7813         * sysdeps/generic/fix-fp-int-convert-overflow.h
7814         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7815         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7816         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7817         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7818         Likewise.
7819         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7820         Avoid conversions to long int where inexact exceptions
7821         could be raised.
7822         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7823         Likewise.
7824         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7825         Avoid conversions to long long int where inexact exceptions
7826         could be raised.
7827         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7828         Likewise.
7830 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
7832         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7833         * configure: Regenerated.
7835 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7837         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7839 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
7841         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7842         outside of comment.
7844 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7846         * nptl/tst-barrier1.c: Add description on first line.
7847         * nptl/tst-barrier2.c: Likewise.
7848         * nptl/tst-barrier3.c: Likewise.
7849         * nptl/tst-barrier4.c: Likewise.
7850         * nptl/tst-barrier5.c: Likewise.
7852 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7854         [BZ #18868]
7855         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7857 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7859         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7860         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7861         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7862         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7863         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7864         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7865         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7866         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7867         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7868         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7869         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7871 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7873         [BZ #13065]
7874         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7875         new implementation.
7876         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7877         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7878         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7879         (BARRIER_IN_THRESHOLD): New macro.
7880         * nptl/pthread_barrierattr_setpshared.c
7881         (pthread_barrierattr_setpshared): Clean up.
7882         * nptl/tst-barrier4.c: Correct comment.
7883         * nptl/tst-barrier5.c: New file.
7884         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7885         (gen-as-const-headers): Remove lowlevelbarrier.sym.
7886         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7887         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7888         * nptl/lowlevelbarrier.sym: Remove.
7889         * nptl/DESIGN-barrier.txt: Remove.
7890         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7891         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7892         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7893         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7894         error.
7895         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7896         implementation.
7898 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7900         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7901         (do_child): Mask SIGRTMIN while thr is running.
7903 2016-01-15  Martin Sebor  <msebor@redhat.com>
7905         [BZ #19432]
7906         * iconvdata/Makefile: Add bug-iconv11.
7907         * iconvdata/bug-iconv11.c: New test.
7908         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7909         * iconvdata/ibm933.c: Same.
7910         * iconvdata/ibm935.c: Same.
7911         * iconvdata/ibm937.c: Same.
7912         * iconvdata/ibm939.c: Same.
7914 2016-01-15  Martin Sebor  <msebor@redhat.com>
7916         [BZ #19443]
7917         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7918         [DEBUG] (_ufc_set_bits): Declare used.
7919         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7920         [DEBUG] (print_all): Declare used.
7921         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7922         operands of the ternary ?: expression to target type.
7923         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7924         calling the undeclared abort.
7925         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7927 2016-01-15  Martin Sebor  <msebor@redhat.com>
7929         [BZ #18755]
7930         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7931         warnings.
7932         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7933         (__gai_create_helper_thread): Same.
7934         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7935         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7936         to suppress -Wmaybe-uninitialized warnings.
7938 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
7940         [BZ #19465]
7941         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7942         inside if.
7943         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7944         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7945         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7947 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
7949         [BZ #19466]
7950         * time/tst-mktime2.c (time_t_max): Removed.
7951         (time_t_min): Likewise.
7952         (TYPE_SIGNED): New.
7953         (TYPE_MINIMUM): Likewise.
7954         (TYPE_MAXIMUM): Likewise.
7955         (TIME_T_MIN): Likewise.
7956         (TIME_T_MAX): Likewise.
7957         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7958         and TIME_T_MIN.
7959         (do_test): Likewise.
7961 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
7963         [BZ #19467]
7964         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7965         index_Fast_Unaligned_Load flag for Excavator family CPUs.
7967 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
7969         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7971 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
7973         * benchtests/Makefile (PYTHON): Define.
7974         (bench-func): Use $(PYTHON) to run python scripts.
7975         ($(objpfx)bench-%.c): Likewise.
7977 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
7979         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
7980         leading slash when `file_name' is "/".
7982 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
7984         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
7985         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
7986         Likewise.
7987         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
7988         Likewise.
7989         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
7990         Likewise.
7991         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
7992         enum constant and macro.
7993         (PTRACE_SETSIGMASK): Likewise.
7994         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7995         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7996         (PTRACE_GETSIGMASK): Likewise.
7997         (PTRACE_SETSIGMASK): Likewise.
7998         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7999         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8000         Likewise.
8001         (PTRACE_SETSIGMASK): Likewise.
8002         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8003         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8004         (PTRACE_GETSIGMASK): Likewise.
8005         (PTRACE_SETSIGMASK): Likewise.
8006         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8007         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8008         Likewise.
8009         (PTRACE_SETSIGMASK): Likewise.
8010         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8011         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8012         Likewise.
8013         (PTRACE_SETSIGMASK): Likewise.
8014         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8015         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8016         Likewise.
8017         (PTRACE_SETSIGMASK): Likewise.
8018         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8020 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8021             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8023         [BZ #19439]
8024         * math/bits/mathcalls.h
8025         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8026         prototype.
8027         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8029 2016-01-11  Andreas Schwab  <schwab@suse.de>
8031         [BZ #19253]
8032         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8033         cache when TZDEFRULES was used.
8034         * time/tst-tzname.c: New file.
8035         * time/Makefile (test): Add tst-tzname.
8036         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8037         * timezone/Makefile (test-zones): Add $(posixrules-file).
8038         ($(testdata)/$(posixrules-file)): New rule.
8040 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8042         Fix doc quoting problems with Texinfo 5
8043         Without this change, in the info file output, Texinfo 5 quotes code
8044         in text with undirected single quotes 'like this' and generates
8045         code examples that with many PDF readers cannot be cut out of PDFs
8046         and pasted into code.
8047         * manual/libc.texinfo: Configure the libc manual like the GNU
8048         Emacs manual, by using @documentencoding and setting
8049         txicodequoteundirected and txicodequotebacktick.  This way,
8050         Texinfo 5 quotes code in text with directed single quotes ‘like
8051         this’ and produces examples that can be cut out of PDFs.  This
8052         change causes Texinfo 5 to generate info files that contain UTF-8
8053         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8054         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8056 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8058         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8059         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8060         barriers to their respective compiler built-ins.
8061         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8062         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8063         * sysdeps/powerpc/sysdep.h: Likewise.
8064         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8065         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8066         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8068 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8070         * scripts/config.guess: Revert previous shebang change.
8071         * scripts/config.sub: Likewise.
8072         * scripts/mkinstalldirs: Likewise.
8074 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8076         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8077         PPC_FEATURE2_HAS_IEEE128.
8078         * sysdeps/powerpc/dl-procinfo.c:
8079         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8081 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8083         [BZ #19415]
8084         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8085         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8086         (_dl_lookup_address): Rewrite using function resolver trampoline.
8087         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8088         two bits in address.
8090 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8092         * longlong.h: Change !__SHMEDIA__ to
8093         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8094         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8096 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8097             Joseph Myers  <joseph@codesourcery.com>
8098             Mark Shinwell  <shinwell@codesourcery.com>
8099             Andrew Stubbs  <ams@codesourcery.com>
8100             Rich Felker <dalias@libc.org>
8102         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8104 2016-01-07  Richard Henderson  <rth@redhat.com>
8106         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8108 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8110         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8111         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8112         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8113         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8114         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8116 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8117             Joseph Myers  <joseph@codesourcery.com>
8119         * timezone/private.h: Update from tzcode 2015g.
8120         * timezone/tzfile.h: Likewise.
8121         * timezone/tzselect.ksh: Likewise.
8122         * timezone/zdump.c: Likewise.
8123         * timezone/zic.c: Likewise.
8124         * timezone/ialloc.c: Remove file.
8125         * timezone/scheck.c: Likewise.
8126         * timezone/Makefile (extra-objs): Remove variable.
8127         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8128         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8129         -Wno-maybe-uninitialized.
8130         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8131         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8132         (CFLAGS-ialloc.c): Remove variable.
8133         (CFLAGS-scheck.c): Likewise.
8134         * timezone/README: Update list of files from tzcode.
8136 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8138         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8139         instead of __fxprintf when _LIBC is undefined.
8141 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8143         * catgets/test-gencat.sh: Remove space after shebang.
8144         * conform/GlibcConform.pm: Likewise.
8145         * conform/check-header-lists.sh: Likewise.
8146         * conform/conformtest.pl: Likewise.
8147         * conform/linknamespace.pl: Likewise.
8148         * conform/list-header-symbols.pl: Likewise.
8149         * debug/catchsegv.sh: Likewise.
8150         * elf/genrtldtbl.awk: Likewise.
8151         * elf/tst-pathopt.sh: Likewise.
8152         * elf/tst-rtld-load-self.sh: Likewise.
8153         * grp/tst_fgetgrent.sh: Likewise.
8154         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8155         * iconvdata/gen-8bit-gap.sh: Likewise.
8156         * iconvdata/gen-8bit.sh: Likewise.
8157         * iconvdata/run-iconv-test.sh: Likewise.
8158         * intl/tst-gettext.sh: Likewise.
8159         * intl/tst-gettext2.sh: Likewise.
8160         * intl/tst-gettext4.sh: Likewise.
8161         * intl/tst-gettext6.sh: Likewise.
8162         * intl/tst-translit.sh: Likewise.
8163         * io/ftwtest-sh: Likewise.
8164         * libio/test-freopen.sh: Likewise.
8165         * locale/gen-translit.pl: Likewise.
8166         * malloc/tst-mtrace.sh: Likewise.
8167         * manual/check-safety.sh: Likewise.
8168         * manual/libc-texinfo.sh: Likewise.
8169         * manual/tsort.awk: Likewise.
8170         * manual/xtract-typefun.awk: Likewise.
8171         * nptl/tst-cancel-wrappers.sh: Likewise.
8172         * nptl/tst-tls6.sh: Likewise.
8173         * posix/globtest.sh: Likewise.
8174         * posix/tst-getconf.sh: Likewise.
8175         * posix/wordexp-tst.sh: Likewise.
8176         * scripts/check-c++-types.sh: Likewise.
8177         * scripts/check-local-headers.sh: Likewise.
8178         * scripts/config.guess: Likewise.
8179         * scripts/config.sub: Likewise.
8180         * scripts/cpp: Likewise.
8181         * scripts/cross-test-ssh.sh: Likewise.
8182         * scripts/documented.sh: Likewise.
8183         * scripts/evaluate-test.sh: Likewise.
8184         * scripts/gen-libc-abis: Likewise.
8185         * scripts/gen-sorted.awk: Likewise.
8186         * scripts/list-fixed-bugs.py: Likewise.
8187         * scripts/merge-test-results.sh: Likewise.
8188         * scripts/mkinstalldirs: Likewise.
8189         * scripts/rellns-sh: Likewise.
8190         * scripts/test-installation.pl: Likewise.
8191         * scripts/update-copyrights: Likewise.
8192         * stdio-common/tst-printf.sh: Likewise.
8193         * stdio-common/tst-unbputc.sh: Likewise.
8194         * stdlib/tst-fmtmsg.sh: Likewise.
8195         * stdlib/tst-setcontext3.sh: Likewise.
8196         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8197         * sysdeps/unix/make-syscalls.sh: Likewise.
8199 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8201         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8202         asm stw with atomic_exchange_rel.  Add explanatory comment.
8203         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8204         Likewise.
8206 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8208         [BZ #19122]
8209         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8210         * sysdeps/generic/dl-unistd.h: New file.
8211         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8213 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8215          [BZ #19122]
8216          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8217          * sysdeps/generic/dl-mman.h: New file.
8218          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8220 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8222         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8223         trailing whitespace removed.
8224         * scripts/config.guess: Update to version 2016-01-01.
8225         * scripts/config.sub: Update to version 2016-01-01.
8226         * scripts/move-if-change: Update from gnulib.
8228 2016-01-04  Anton Blanchard  <anton@samba.org>
8230         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8231         for array indices.
8232         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8234 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8236         * NEWS: Update copyright dates.
8237         * catgets/gencat.c (print_version): Likewise.
8238         * csu/version.c (banner): Likewise.
8239         * debug/catchsegv.sh: Likewise.
8240         * debug/pcprofiledump.c (print_version): Likewise.
8241         * debug/xtrace.sh (do_version): Likewise.
8242         * elf/ldconfig.c (print_version): Likewise.
8243         * elf/ldd.bash.in: Likewise.
8244         * elf/pldd.c (print_version): Likewise.
8245         * elf/sotruss.sh: Likewise.
8246         * elf/sprof.c (print_version): Likewise.
8247         * iconv/iconv_prog.c (print_version): Likewise.
8248         * iconv/iconvconfig.c (print_version): Likewise.
8249         * locale/programs/locale.c (print_version): Likewise.
8250         * locale/programs/localedef.c (print_version): Likewise.
8251         * login/programs/pt_chown.c (print_version): Likewise.
8252         * malloc/memusage.sh (do_version): Likewise.
8253         * malloc/memusagestat.c (print_version): Likewise.
8254         * malloc/mtrace.pl: Likewise.
8255         * manual/libc.texinfo: Likewise.
8256         * nptl/version.c (banner): Likewise.
8257         * nscd/nscd.c (print_version): Likewise.
8258         * nss/getent.c (print_version): Likewise.
8259         * nss/makedb.c (print_version): Likewise.
8260         * posix/getconf.c (main): Likewise.
8261         * scripts/test-installation.pl: Likewise.
8262         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8264         * All files with FSF copyright notices: Update copyright dates
8265         using scripts/update-copyrights.
8266         * intl/plural.c: Regenerated.
8267         * locale/programs/charmap-kw.h: Likewise.
8268         * locale/programs/locfile-kw.h: Likewise.
8270 2016-01-02  Helge Deller  <deller@gmx.de>
8272         [BZ #19285]
8273         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8274         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8275         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8276         (MADV_xxK_PAGES): Remove.
8278 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8280         [BZ #15421]
8281         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8282         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8283         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8284         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8286 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8288         [BZ #19408]
8289         * sysdeps/unix/sysv/linux/personality.c: New file.
8290         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8291         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8292         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8293         (sysdep_routines): Add personality.
8294         (tests): Add tst-personality.
8295         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8296         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8297         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8298         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8299         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8300         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8301         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8302         Likewise.
8303         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8304         Likewise.
8305         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8306         Likewise.
8307         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8308         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8309         Likewise.
8311 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8313         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8314         (PATH_ARM_SYSTYPE): Remove.
8315         (PATH_CPUINFO): Likewise.
8316         (IO_BASE_FOOTBRIDGE): Likewise.
8317         (IO_SHIFT_FOOTBRIDGE): Likewise.
8318         (struct platform): Likewise.
8319         (init_iosys): Remove compatibility code for 2.4 kernels.
8320         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8322 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8324         * malloc/tst-malloc-thread-fail.c: New file.
8325         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8326         (tst-malloc-thread-fail): Link against libpthread.
8328 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8330         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8331         (get_parser): New function.
8332         (main): New function.
8334 2015-12-29  Rob Wu  <rob@robwu.nl>
8336         [BZ #19369]
8337         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8339 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8341         [BZ #19270]
8342         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8344 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8346         [BZ #15421]
8347         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8349 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8351         [BZ #13690]
8352         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8353         after releasing it.
8354         (__lll_robust_unlock): Likewise.
8355         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8356         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8357         (lll_robust_unlock): Likewise.
8358         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8359         Prevent warnings in callers.
8361 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8363         * malloc/arena.c (list_lock): Update comment.
8365 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8367         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8368         __parse_hwcap_and_convert_at_platform to libc.a.
8370 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8372         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8373         platform and feature support for POWER9.
8374         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8375         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8376         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8377         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8378         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8379         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8380         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8381         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8383 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8385         Harmonize generic stdio-lock support with nptl
8387         This fixes build when _IO_funlockfile is a macro, fixes build where
8388         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8389         stack unwind.
8391         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8392         _IO_release_lock ): Use cleanup attribute on new
8393         _IO_acquire_lock_file variable instead of assuming that
8394         _IO_release_lock will be called.
8395         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8396         _IO_acquire_lock_needs_exceptions_enabled.
8397         (_IO_acquire_lock_clear_flags2): New macro.
8399 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8401         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8403 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8405         [BZ #19182]
8406         * malloc/arena.c (list_lock): Document lock ordering requirements.
8407         (free_list_lock): New lock.
8408         (ptmalloc_lock_all): Comment on free_list_lock.
8409         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8410         (detach_arena): Update comment.  free_list_lock is now needed.
8411         (_int_new_arena): Use free_list_lock around detach_arena call.
8412         Acquire arena lock after list_lock.  Add comment, including FIXME
8413         about incorrect synchronization.
8414         (get_free_list): Switch to free_list_lock.
8415         (reused_arena): Acquire free_list_lock around detach_arena call
8416         and attached threads counter update.  Add two FIXMEs about
8417         incorrect synchronization.
8418         (arena_thread_freeres): Switch to free_list_lock.
8419         * malloc/malloc.c (struct malloc_state): Update comments to
8420         mention free_list_lock.
8422 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8424         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8425         Remove functions.
8426         (sloww, sloww1): Accept argument to offset quadrant.
8427         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8428         quadrant.
8429         (__sin, __cos): Consolidate common code into new functions.
8430         (reduce_sincos_1, do_sincos_1): New functions.
8431         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8433         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8434         code to new functions.
8435         (reduce_sincos_2, do_sincos_2): New functions.
8436         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8438         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8439         common code for sincos.
8440         (__cos) [!IN_SINCOS]: Likewise.
8441         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8442         New function.
8443         (__sincos): Use it.
8445 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8447         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8448         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8449         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8451 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8453         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8454         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8455         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8456         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8457         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8458         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8459         index_Prefer_No_VZEROUPPER): New feature.
8460         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8461         Prefer_No_VZEROUPPER for Knights Landing.
8463 015-12-18  Torvald Riegel  <triegel@redhat.com>
8465         * math/atest-exp2.c (mp_exp_m1): Remove.
8467 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8469         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8470         syscalls.
8471         (__SYSCALL0): New macro.
8472         (__SYSCALL1): Likewise.
8473         (__SYSCALL2): Likewise.
8474         (__SYSCALL3): Likewise.
8475         (__SYSCALL4): Likewise.
8476         (__SYSCALL5): Likewise.
8477         (__SYSCALL6): Likewise.
8478         (__SYSCALL_CONCAT_X): Likewise.
8479         (__SYSCALL_CONCAT): Likewise.
8480         (__SYSCALL_DIST): Likewise.
8481         (__SYSCALL_CALL): Likewise.
8483 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8485         [BZ #19363]
8486         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8488 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8490         [BZ #19375]
8491         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8492         negative subnormals.
8494 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8496         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8497         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8498         (INTERNAL_SYSCALL_NCS): Use it.
8499         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8501 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8503         [BZ #19243]
8504         * malloc/arena.c (get_free_list): Remove assert and adjust
8505         reference count handling.  Add comment about reused_arena
8506         interaction.
8507         (reused_arena): Add comments abount get_free_list interaction.
8508         * malloc/tst-malloc-thread-exit.c: New file.
8509         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8510         (tst-malloc-thread-exit): Link against libpthread.
8512 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8514         [BZ #19367]
8515         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8516         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8517         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8518         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8519         (index_Prefer_MAP_32BIT_EXEC): Likewise.
8521 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8523         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8524         Silvermont optimizations for Knights Landing.
8526 2015-12-15  Andreas Schwab  <schwab@suse.de>
8528         [BZ #17197]
8529         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8530         immediately after emitting SI.
8531         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8532         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8533         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8534         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8535         * iconvdata/bug-iconv10.c: New file.
8536         * iconvdata/Makefile (tests): Add bug-iconv10.
8537         ($(objpfx)bug-iconv10.out): New rule.
8539 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8541         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8542         aliasing violation.
8544 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8546         [BZ #18472]
8547         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8548         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8549         conditionals for them.
8550         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8551         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8552         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8553         sys/kdaemon.h.
8554         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8555         compat-only syscall, obsoleted in glibc 2.23.
8556         (create_module): Likewise.
8557         (get_kernel_syms): Likewise.
8558         (query_module): Likewise.
8559         (uselib): Likewise.
8560         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8562 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8564         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8565         <linux/version.h>.
8566         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8567         conditional code.
8568         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8569         and ioshift_name initialization.
8571 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8573         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8574         Fix indentation.
8576 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8578         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8580 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8582         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8584 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8585             Jakub Wilk  <jwilk@debian.org>
8587         [BZ #19347]
8588         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8589         to change the group of the device to the tty group.
8591 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8593         Split large string section; add truncation advice
8594         * manual/examples/strncat.c: Remove.
8595         This example was misleading, as the code would have undefined
8596         behavior if "hello" was longer than SIZE.  Anyway, the manual
8597         shouldn't encourage strncpy+strncat for this sort of thing.
8598         * manual/string.texi (Copying Strings and Arrays): Split into
8599         three sections Copying Strings and Arrays, Concatenating Strings,
8600         and Truncating Strings, as this section was way too long.  All
8601         cross-referenced changed.  Add advice about string-truncation
8602         functions.  Remove misleading strncat example.
8604 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
8606         * manual/nss.texi (NSS Modules Interface): Document
8607         NSS_STATUS_NOTFOUND and SUCCESS.
8609 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8611         [BZ 18568]
8612         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8613         201505L, for Unicode 8.
8615 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
8617         * locale/C-translit.h: Regenerate.
8619 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8621         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8622         and U+0153.
8624 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
8626         [BZ #19351]
8627         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8628         expanding log(1+z), compare z rather than its square with epsilon
8629         to determine when to avoid evaluating the expansion.
8631         [BZ #19350]
8632         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8633         Increase overflow threshold.
8635         [BZ #19349]
8636         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8637         when small.
8639         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8640         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8641         New macro.
8642         [__LINUX_KERNEL_VERSION >= 0x040300]
8643         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8644         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8645         Likewise.
8646         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8647         Likewise.
8648         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8649         Likewise.
8650         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8651         Likewise.
8652         [__LINUX_KERNEL_VERSION >= 0x040300]
8653         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8654         [__LINUX_KERNEL_VERSION >= 0x040300]
8655         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8656         [__LINUX_KERNEL_VERSION >= 0x040300]
8657         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8658         [__LINUX_KERNEL_VERSION >= 0x040300]
8659         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8660         [__LINUX_KERNEL_VERSION >= 0x040300]
8661         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8662         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8663         Likewise.
8664         [__LINUX_KERNEL_VERSION >= 0x040300]
8665         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8666         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8667         Likewise.
8668         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8669         Likewise.
8670         [__LINUX_KERNEL_VERSION >= 0x040300]
8671         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8672         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8673         Likewise.
8674         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8675         Likewise.
8676         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8677         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8678         Likewise.
8679         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8680         Likewise.
8681         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8682         Likewise.
8683         [__LINUX_KERNEL_VERSION >= 0x040300]
8684         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8685         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8686         Likewise.
8687         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8688         Likewise.
8689         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8690         Likewise.
8691         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8692         Likewise.
8693         [__LINUX_KERNEL_VERSION >= 0x040300]
8694         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8695         [__LINUX_KERNEL_VERSION >= 0x040300]
8696         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8697         [__LINUX_KERNEL_VERSION >= 0x040300]
8698         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8699         [__LINUX_KERNEL_VERSION >= 0x040300]
8700         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8701         [__LINUX_KERNEL_VERSION >= 0x040300]
8702         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8703         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8704         Likewise.
8705         [__LINUX_KERNEL_VERSION >= 0x040300]
8706         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8707         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8708         Likewise.
8709         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8710         Likewise.
8711         [__LINUX_KERNEL_VERSION >= 0x040300]
8712         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8713         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8714         Likewise.
8715         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8716         Likewise.
8717         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8718         (__ASSUME_SOCKET_SYSCALL): Likewise.
8719         (__ASSUME_BIND_SYSCALL): Likewise.
8720         (__ASSUME_CONNECT_SYSCALL): Likewise.
8721         (__ASSUME_LISTEN_SYSCALL): Likewise.
8722         (__ASSUME_ACCEPT_SYSCALL): Likewise.
8723         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8724         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8725         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8726         (__ASSUME_SEND_SYSCALL): Likewise.
8727         (__ASSUME_SENDTO_SYSCALL): Likewise.
8728         (__ASSUME_RECV_SYSCALL): Likewise.
8729         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8730         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8731         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8732         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8733         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8734         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8735         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8736         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8737         Likewise.
8738         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8739         Likewise.
8740         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8741         Likewise.
8742         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8743         Likewise.
8744         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8745         Likewise.
8746         [__LINUX_KERNEL_VERSION >= 0x020625]
8747         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8748         [__LINUX_KERNEL_VERSION >= 0x020625]
8749         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8750         [__LINUX_KERNEL_VERSION >= 0x020625]
8751         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8752         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8753         Likewise.
8754         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8755         Likewise.
8756         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8757         Likewise.
8758         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8759         Likewise.
8760         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8761         Likewise.
8762         [__LINUX_KERNEL_VERSION >= 0x020625]
8763         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8764         [__LINUX_KERNEL_VERSION >= 0x020625]
8765         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8766         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8767         Likewise.
8768         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8769         Likewise.
8771 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8773         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8774         record the current if the current ABI and CPU support the FP64
8775         extension.
8776         (has-modd-spreg): Define to record the current if the current ABI and
8777         CPU support 32-bit floating point values in odd FPU registers.
8778         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8779         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8780         $(has-modd-spreg) equals yes.
8781         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8782         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8783         $(has-modd-spreg) equal yes.
8785 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8787         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8788         basename.
8790 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
8792         * benchtests/Makefile (bench-math): Move ffs and ffsll...
8793         (bench-string): ... here.
8794         (bench): Add bench-string.
8795         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8796         to *-benchset to reflect what they are.
8797         (benchset): Adjust.
8799         * benchtests/sincos-inputs: Add inputs from sin-inputs and
8800         cos-inputs.
8802 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
8804         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
8805         __attribute__ ((__simd__)) for vector math function declarations.
8807 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8809         Fix typo in strncat, wcsncat manual entries
8810         * manual/string.texi (Copying and Concatenation): Fix typos in
8811         sample implementations of strncat and wcsncat, by having them use
8812         the old value of the destination length, not the new one.
8814 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
8816         [BZ #16961]
8817         [BZ #16962]
8818         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8819         string on the stack for strtod.
8820         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8821         a string on the stack for strtof.
8822         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8823         constructing a string on the stack for strtold.
8824         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8825         __strtold_nan to GLIBC_PRIVATE.
8826         * math/test-nan-overflow.c: New file.
8827         * math/test-nan-payload.c: Likewise.
8828         * math/Makefile (tests): Add test-nan-overflow and
8829         test-nan-payload.
8831 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8833         Consistency about byte vs character in string.texi
8834         * manual/string.texi (String and Array Utilities):
8835         Distinguish more carefully among bytes, multibyte characters,
8836         and wide characters.  Use "byte" when talking about C 'char',
8837         to distinguish it more clearly from multibyte characters.
8838         Say "wide character" or "multibyte character" instead of
8839         "character", when a wide or multibyte character is intended.
8840         Similarly for "multibyte string" versus "string".
8841         Define these terms more carefully.
8843 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
8845         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8846         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8847         Likewise.
8848         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8849         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8850         * sysdeps/sh/math_private.h: New file.
8851         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8852         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8853         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8854         long double function name.
8855         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8856         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8857         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8858         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8859         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8861         Remove __finitel, __isinfl, and __isnanl.
8862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8863         Likewise.
8864         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8866         Remove __finitel.
8867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8868         Likewise.
8869         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8871 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
8873         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8874         installed libmvec_nonshared.a.
8876 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8878         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8879         (sysdep_routines): Likewise.
8880         (sysdep-rtld-routines): Likewise.
8881         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8882         [$(subdir) = nptl](tests-static): test-get_hwcap-static
8883         * sysdeps/powerpc/Versions: Added new
8884         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8885         * sysdeps/powerpc/hwcapinfo.c: New file.
8886         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8887         and parse hwcap, hwcap2 and platform number information.
8888         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
8889         to store HWCAP+HWCAP2 and platform number.
8890         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8891         for HWCAP+HWCAP2 and platform number in the TCB.
8892         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
8893         the HWCAP, HWCAP2 and platform number in the TCB.
8894         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8895         (TLS_INIT_TP): Included calls to add the hwcap and
8896         at_platform values in the TCB in TP initialization.
8897         (TLS_DEFINE_INIT_TP): Likewise.
8898         (THREAD_GET_HWCAP): New macro.
8899         (THREAD_SET_HWCAP): Likewise.
8900         (THREAD_GET_AT_PLATFORM): Likewise.
8901         (THREAD_SET_AT_PLATFORM): Likewise.
8902         * sysdeps/powerpc/powerpc32/dl-machine.h:
8903         (dl_platform_init): New function that calls
8904         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8905         powerpc32.
8906         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8907         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
8908         this functionality, static linking case.
8909         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
8910         linking case.
8911         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8912         __parse_hwcap_and_convert_at_platform for the static linking case.
8913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8914         Included the new __parse_hwcap_and_convert_at_platform symbol in the
8915         ABI list for GLIBC 2.23.
8916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8917         Likewise.
8918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8919         Likewise.
8921 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
8923         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8924         * configure: Regenerate.
8925         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8926         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
8928 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
8930         * iconvdata/ibm930.c: Add comment explaining encoding uses.
8931         * iconvdata/ibm933.c: Likewise.
8932         * iconvdata/ibm935.c: Likewise.
8933         * iconvdata/ibm937.c: Likewise.
8934         * iconvdata/ibm939.c: Likewise.
8936 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8938         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8939         pthread_join.
8940         * nptl/tst-cancel21.c (tf): Likewise.
8942 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8944         [BZ #19313]
8945         * bits/typesizes.h (__CPU_MASK_TYPE): New.
8946         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8947         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8948         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8949         Likewise.
8950         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8951         Likewise.
8952         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8953         Likewise.
8954         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8955         Likewise.
8956         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8957         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8958         unsigned long int with __CPU_MASK_TYPE.
8960 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8962         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8964 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
8966         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8967         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8968         t512.x.
8969         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8971 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
8973         [BZ #19214]
8974         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8975         argument to return extended model.  Update family and model
8976         with extended family and model when family == 0x0f.
8977         (init_cpu_features): Updated.
8979 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8981         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
8982         signed off_t, so 32bit bigger than 2GiB values are fine actually.
8984         * sysdeps/mach/hurd/mmap64.c: New file.
8986 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
8988         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
8989         rights for its main user thread in NEWTASK.
8991 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
8993         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
8994         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
8996 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
8998         [BZ #14259]
8999         * Makeconfig: Rename localedir to complocaledir.
9000         Rename inst_localedir to inst_complocaledir.
9001         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9002         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9003         * configure.ac: Use libc_cv_complocaledir.
9004         * configure: Regenerate.
9005         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9006         -DCOMPLOCALEDIR.
9007         * locale/findlocale.c: Use COMPLOCALEDIR.
9008         * locale/loadarchive.c: Likewise.
9009         * locale/programs/locale.c: Likewise.
9010         * locale/programs/localedef.c: Likewise.
9011         * locale/programs/locarchive.c: Likewise.
9012         * localedata/Makefile: Use inst_complocaledir.
9013         * sysdeps/gnu/configure: Regenerate.
9014         * sysdeps/hppa/configure: Regenerate.
9015         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9016         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9018         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9019         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9020         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9021         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9023 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9025         [BZ #19058]
9026         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9027         AS_NEEDED.
9028         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9029         workaround.
9030         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9031         libmvec-static-only-routines): Added new file.
9032         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9034 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9036         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9037         of interrupted RPC instead of restoring it.
9039         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9040         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9041         libc_hidden_def.
9042         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9043         into initialized data instead of common. Define rtld_hidden_data_def.
9044         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9045         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9046         libc_hidden_def.
9047         (if_freenameindex): Add libc_hidden_weak.
9048         (if_nameindex): Add libc_hidden_weak.
9049         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9050         __open64.
9051         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9052         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9053         * sysdeps/mach/nanosleep.c: Include <time.h>
9054         (__nanosleep): Rename to __libc_nanosleep.
9055         (__nanosleep): Add weak_alias.
9056         (nanosleep): Update alias.
9058 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9060         * stdlib/strtod_nan.c: New file.
9061         * stdlib/strtod_nan_double.h: Likewise.
9062         * stdlib/strtod_nan_float.h: Likewise.
9063         * stdlib/strtod_nan_main.c: Likewise.
9064         * stdlib/strtod_nan_narrow.h: Likewise.
9065         * stdlib/strtod_nan_wide.h: Likewise.
9066         * stdlib/strtof_nan.c: Likewise.
9067         * stdlib/strtold_nan.c: Likewise.
9068         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9069         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9070         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9071         * wcsmbs/wcstod_nan.c: Likewise.
9072         * wcsmbs/wcstof_nan.c: Likewise.
9073         * wcsmbs/wcstold_nan.c: Likewise.
9074         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9075         strtold_nan.
9076         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9077         wcstof_nan.
9078         * include/stdlib.h (__strtof_nan): Declare and use
9079         libc_hidden_proto.
9080         (__strtod_nan): Likewise.
9081         (__strtold_nan): Likewise.
9082         (__wcstof_nan): Likewise.
9083         (__wcstod_nan): Likewise.
9084         (__wcstold_nan): Likewise.
9085         * include/wchar.h (____wcstoull_l_internal): Declare.
9086         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9087         (____strtoull_l_internal): Remove declaration.
9088         (STRTOF_NAN): Define macro.
9089         (SET_MANTISSA): Remove macro.
9090         (STRTOULL): Likewise.
9091         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9092         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9093         (STRTOF_NAN): Define macro.
9094         (SET_MANTISSA): Remove macro.
9095         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9096         (SET_MANTISSA): Remove macro.
9097         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9098         macro.
9099         (SET_MANTISSA): Remove macro.
9100         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9101         macro.
9102         (SET_MANTISSA): Remove macro.
9103         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9104         (SET_MANTISSA): Remove macro.
9105         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9106         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9107         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9109         [BZ #19266]
9110         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9111         upper case and lower case letters inside NAN(), not using TOLOWER.
9112         * stdlib/tst-strtod-nan-locale-main.c: New file.
9113         * stdlib/tst-strtod-nan-locale.c: Likewise.
9114         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9115         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9116         Depend on $(gen-locales).
9117         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9118         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9119         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9120         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9121         Depend on $(gen-locales).
9122         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9124 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9126         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9128         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9130         __finitel, __isinfl, and __isnanl.
9131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9132         Likewise.
9133         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9135         __finitel.
9136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9137         Likewise.
9138         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9140 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9142         * malloc/memusage.c (me): Remove redundant getenv call.
9144 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9146         [BZ #19143]
9147         [BZ #19164]
9148         * nptl/check-cpuset.h: Remove.
9149         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9150         Remove CPU set size check.
9151         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9152         Likewise.
9153         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9154         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9155         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9156         (__pthread_setaffinity_new): Remove CPU set size check.
9157         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9158         (__kernel_cpumask_size): Remove.
9159         (__sched_setaffinity_new): Remove CPU set size check.
9160         * manual/threads.texi (Default Thread Attributes): Remove stale
9161         reference to check_cpuset_attr, determine_cpumask_size in comment.
9162         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9163         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9164         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9165         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9166         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9167         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9168         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9169         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9170         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9171         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9172         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9173         skeleton test file.
9174         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9175         tst-affinity-pid.
9177 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9179         * scripts/update-abilist.sh: New file.
9180         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9181         * Makerules (update-all-abi-%, update-all-abi)
9182         (subdir_update-all-abi): New targets.
9183         * elf/Makefile (update-all-abi): New target.
9185 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9187         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9188         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9189         (__libc_lock_define_initialized): Use it.
9190         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9191         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9192         * malloc/malloc.c (main_arena): Likewise.
9193         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9194         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9196 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9198         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9199         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9200         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9201         (PTRACE_O_MASK): Update value.
9202         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9203         New value in enum __ptrace_setoptions.
9204         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9205         (PTRACE_O_MASK): Update value.
9206         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9207         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9208         (PTRACE_O_MASK): Update value.
9209         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9210         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9211         (PTRACE_O_MASK): Update value.
9212         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9213         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9214         (PTRACE_O_MASK): Update value.
9215         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9216         New value in enum __ptrace_setoptions.
9217         (PTRACE_O_MASK): Update value.
9218         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9219         New value in enum __ptrace_setoptions.
9220         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9221         (PTRACE_O_MASK): Update value.
9223         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9224         New macro.
9225         (PACKET_AUXDATA): Likewise.
9226         (PACKET_ORIGDEV): Likewise.
9227         (PACKET_VERSION): Likewise.
9228         (PACKET_HDRLEN): Likewise.
9229         (PACKET_RESERVE): Likewise.
9230         (PACKET_TX_RING): Likewise.
9231         (PACKET_LOSS): Likewise.
9232         (PACKET_VNET_HDR): Likewise.
9233         (PACKET_TX_TIMESTAMP): Likewise.
9234         (PACKET_TIMESTAMP): Likewise.
9235         (PACKET_FANOUT): Likewise.
9236         (PACKET_TX_HAS_OFF): Likewise.
9237         (PACKET_QDISC_BYPASS): Likewise.
9238         (PACKET_ROLLOVER_STATS): Likewise.
9239         (PACKET_FANOUT_DATA): Likewise.
9240         (PACKET_MR_UNICAST): Likewise.
9242         [BZ #19242]
9243         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9244         (TOUPPER): Likewise.
9245         * stdlib/tst-strtol-locale-main.c: New file.
9246         * stdlib/tst-strtol-locale.c: Likewise.
9247         * stdlib/Makefile (tests): Add tst-strtol-locale.
9248         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9249         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9250         Depend on $(gen-locales).
9251         * wcsmbs/tst-wcstol-locale.c: New file.
9252         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9253         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9254         tr_TR.ISO-8859-9.
9255         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9256         Depend on $(gen-locales).
9258 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9260         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9261         __glibc_likely instead of __builtin_expect.  After falling back to
9262         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9263         system interface to register the code pages as occupied.
9265 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9267         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9268         [!ARM_MATH_PRIVATE_H].
9269         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9270         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9271         [!HPPA_MATH_PRIVATE_H].
9272         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9273         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9274         to [!I386_MATH_PRIVATE_H].
9275         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9276         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9277         Change guard to [!M68K_MATH_PRIVATE_H].
9278         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9279         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9280         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9281         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9282         macro.
9283         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9284         [!MIPS_MATH_PRIVATE_H].
9285         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9286         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9287         [!NIO2_MATH_PRIVATE_H].
9288         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9289         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9290         [!TILE_MATH_PRIVATE_H].
9291         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9293         [BZ #15421]
9294         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9295         initialize with 0 and define as weak alias of __signgam.
9296         * include/math.h [!_ISOMAC] (__signgam): Declare.
9297         * math/Makefile (libm-calls): Add w_lgamma_compat.
9298         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9299         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9300         test-signgam-ullong-init.
9301         (tests-static): Add test-signgam-uchar-static,
9302         test-signgam-uchar-init-static, test-signgam-uint-static,
9303         test-signgam-uint-init-static, test-signgam-ullong-static and
9304         test-signgam-ullong-init-static.
9305         (CFLAGS-test-signgam-uchar.c): New variable.
9306         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9307         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9308         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9309         (CFLAGS-test-signgam-uint.c): Likewise.
9310         (CFLAGS-test-signgam-uint-init.c): Likewise.
9311         (CFLAGS-test-signgam-uint-static.c): Likewise.
9312         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9313         (CFLAGS-test-signgam-ullong.c): Likewise.
9314         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9315         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9316         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9317         * math/Versions (libm): Add GLIBC_2.23.
9318         * math/lgamma-compat.h: New file.
9319         * math/test-signgam-main.c: Likewise.
9320         * math/test-signgam-uchar-init-static.c: Likewise.
9321         * math/test-signgam-uchar-init.c: Likewise.
9322         * math/test-signgam-uchar-static.c: Likewise.
9323         * math/test-signgam-uchar.c: Likewise.
9324         * math/test-signgam-uint-init-static.c: Likewise.
9325         * math/test-signgam-uint-init.c: Likewise.
9326         * math/test-signgam-uint-static.c: Likewise.
9327         * math/test-signgam-uint.c: Likewise.
9328         * math/test-signgam-ullong-init-static.c: Likewise.
9329         * math/test-signgam-ullong-init.c: Likewise.
9330         * math/test-signgam-ullong-static.c: Likewise.
9331         * math/test-signgam-ullong.c: Likewise.
9332         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9333         wrapper of w_lgamma_main.c.
9334         * math/w_lgamma_compat.c: New file.
9335         * math/w_lgamma_compatf.c: Likewise.
9336         * math/w_lgamma_compatl.c: Likewise.
9337         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9338         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9339         defining compatibility symbols.
9340         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9341         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9342         wrapper of w_lgammaf_main.c.
9343         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9344         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9345         defining compatibility symbols.
9346         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9347         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9348         wrapper of w_lgammal_main.c.
9349         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9350         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9351         defining compatibility symbols.
9352         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9353         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9354         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9355         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9356         <lgamma-compat.h>.
9357         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9358         (__ieee754_gamma): Define as alias.
9359         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9360         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9361         <lgamma-compat.h>.
9362         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9363         (__ieee754_gammaf): Define as alias.
9364         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9365         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9366         <lgamma-compat.h>.
9367         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9368         (__ieee754_gammal): Define as alias.
9369         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9370         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9371         <math/w_lgamma_compat.c>.
9372         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9373         Define as alias of __lgamma_compat and use in defining lgammal.
9374         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9375         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9376         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9377         (USE_AS_COMPAT): New macro.
9378         (LGAMMA_OLD_VER): Undefine and redefine.
9379         (lgammal): Do not define here.
9380         (gammal): Only define here if [GAMMA_ALIAS].
9381         * conform/linknamespace.pl (@whitelist): Remove signgam.
9382         * sysdeps/nacl/libm.abilist: Update.
9383         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9384         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9385         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9386         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9387         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9388         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9389         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9390         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9391         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9392         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9393         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9394         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9396         Likewise.
9397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9398         Likewise.
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9400         Likewise.
9401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9402         Likewise.
9403         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9404         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9405         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9406         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9407         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9409         Likewise.
9410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9411         Likewise.
9412         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9413         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9414         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9416 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9418         [BZ #16364]
9419         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9420         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9422 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9424         * sysdeps/s390/fpu/bits/mathinline.h:
9425         Use __asm__ [__volatile__] instead of asm [volatile].
9426         * sysdeps/s390/abort-instr.h: Likewise.
9427         * sysdeps/s390/atomic-machine.h: Likewise.
9428         * sysdeps/s390/bits/string.h: Likewise.
9429         * sysdeps/s390/dl-tls.h: Likewise.
9430         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9431         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9432         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9433         * sysdeps/s390/fpu/fesetround.c: Likewise.
9434         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9435         * sysdeps/s390/fpu/s_fma.c: Likewise.
9436         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9437         * sysdeps/s390/memusage.h: Likewise.
9438         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9439         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9440         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9441         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9442         * sysdeps/s390/nptl/tls.h: Likewise.
9443         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9444         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9445         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9446         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9447         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9448         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9449         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9450         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9451         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9452         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9453         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9454         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9455         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9456         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9457         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9458         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9459         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9460         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9461         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9462         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9463         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9464         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9465         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9467 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9468             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9470         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9471         Add lwarx hint, and use macro for acquire instruction.
9472         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9473         Likewise.
9474         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9475         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9476         update to use new atomic macros.
9478 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9480         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9481         (__lll_trylock_elision): Fix setting of adapt_count.
9482         * sysdeps/unix/sysv/linux/powerpc/htm.h
9483         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9484         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9485         (_ABORT_SYSCALL): Renumber, and clarify definition.
9486         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9488 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9490         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9491         after system headers to prevent MIN/MAX redefinition.  Define
9492         HAVE_ALLOCA to preserve builtin alloca usage.
9494 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9496         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9497         static and don't set or restore rounding.
9498         (__cos)[IN_SINCOS]: Likewise.
9499         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9500         (__sincos): Set and restore rounding mode.  Remove check for infinite
9501         or NaN input.
9503         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9505         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9506         as used.
9508 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9510         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9512 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9514         * config.make.in (have-glob-dat-reloc): New.
9515         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9516         target supports GLOB_DAT relocaton. AC_SUBST.
9517         * configure: Regenerated.
9518         * elf/Makefile (tests): Add tst-prelink.
9519         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9520         (tst-prelink-ENV): New.
9521         ($(objpfx)tst-prelink-conflict.out): Likewise.
9522         ($(objpfx)tst-prelink-cmp.out): Likewise.
9523         * sysdeps/x86/tst-prelink.c: Moved to ...
9524         * elf/tst-prelink.c: Here.
9525         * sysdeps/x86/tst-prelink.exp: Moved to ...
9526         * elf/tst-prelink.exp: Here.
9527         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9528         (tst-prelink-ENV): Removed.
9529         ($(objpfx)tst-prelink-conflict.out): Likewise.
9530         ($(objpfx)tst-prelink-cmp.out): Likewise.
9531         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9533 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
9535         [BZ #14551]
9536         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9537         (__mpn_construct_long_double): If high part overflows to infinity,
9538         set errno and recompute overflowed result of the correct sign.
9539         * sysdeps/ieee754/ldbl-128ibm/Makefile
9540         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9541         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9542         $(libm).
9543         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9545 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9547         [BZ #15479]
9548         [BZ #19238]
9549         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9550         floating-point state after first operation on input.  Restore full
9551         state rather than just rounding mode.
9552         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9553         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9554         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9556         [BZ #19235]
9557         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9558         add 0.5 to integer arguments.
9559         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9560         Likewise.
9561         (.LC2): New object.
9563 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9565         * scripts/pylintrc (reports): Set to no.
9567 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9569         * elf/dl-load.c (open_verify): Take new argument FD.
9570         Skip __open call if passed FD is not -1.
9571         (_dl_map_object, open_path): Update callers.
9572         * elf/dl-sysdep-open.h: New file.
9573         * elf/dl-load.c: Include it.
9574         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9575         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9576         * sysdeps/nacl/dl-sysdep-open.h: New file.
9577         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9578         from libc to rtld.
9580 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9582         [BZ #19228]
9583         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9584         and restore full floating-point state.
9585         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9586         Likewise.
9587         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9588         Likewise.
9589         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9590         Likewise.
9591         * math/test-nearbyint-except-2.c: New file.
9592         * math/Makefile (tests): Add test-nearbyint-except-2.
9594 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
9596         [BZ #19178]
9597         * sysdeps/x86/Makefile (tests): Add tst-prelink.
9598         (tst-prelink-ENV): New.
9599         ($(objpfx)tst-prelink-conflict.out): Likewise.
9600         ($(objpfx)tst-prelink-cmp.out): Likewise.
9601         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9602         * sysdeps/x86/tst-prelink.c: New file.
9603         * sysdeps/x86/tst-prelink.exp: Likewise.
9605 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9607         * math/auto-libm-test-in: Add another test of pow.
9608         * math/auto-libm-test-out: Regenerated.
9609         * math/libm-test.inc (pow_test_data): Add another test.
9611 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9613         [BZ #19219]
9614         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9615         weak_alias to nearbyintl.
9617 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9619         * sysdeps/aarch64/bits/string.h: New file.
9620         (_STRING_ARCH_unaligned): Define.
9622 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9624         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9625         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9626         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9627         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9630 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
9632         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9633         for original name of the DSO.  Add it to the name list of the DSO
9634         if it is actually given.
9635         (_dl_map_object): Keep track of whether an audit module rewrote
9636         the file name.  If yes, pass the original name to
9637         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
9638         debugging is enabled, log the change of the file name.
9639         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9640         _dl_map_object_from_fd.
9641         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9642         * elf/tst-audit11.c: New file
9643         * elf/tst-auditmod11.c: New file.
9644         * elf/tst-audit11mod1.c: New file.
9645         * elf/tst-audit11mod2.c: New file.
9646         * elf/tst-audit11mod2.map: New file.
9647         * elf/tst-audit12.c: New file
9648         * elf/tst-auditmod12.c: New file.
9649         * elf/tst-audit12mod1.c: New file.
9650         * elf/tst-audit12mod2.c: New file.
9651         * elf/tst-audit12mod2.map: New file.
9652         * elf/tst-audit12mod3.c: New file.
9654 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9656         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9657         Don't create weak aliases,
9658         because versioned symbols are created later.
9659         * sysdeps/s390/s390-32/setjmp.S
9660         (setjmp, _setjmp): Remove weak and rename to an unique name
9661         in SHARED case due to existing versioned symbols.
9662         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9663         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9664         (getcontext): Create weak alias only in non SHARED case.
9665         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9667 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9669         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9670         (__ASSUME_*_SYSCALL) Define new macros.
9671         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9672         Remove socketcall syscalls.
9673         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9674         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9675         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9676         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9677         * sysdeps/unix/sysv/linux/send.c (__libc_send):
9678         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9680 2015-11-09  Florian Weimer  <fweimer@redhat.com>
9682         [BZ #12926]
9683         Terminate process on invalid netlink response.
9684         * sysdeps/unix/sysv/linux/netlinkaccess.h
9685         (__netlink_assert_response): Declare.
9686         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9687         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9688         (sysdep_routines): Add netlink_assert_response.
9689         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9690         __netlink_assert_response.
9691         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9692         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9693         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9694         __netlink_assert_response.
9696 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9698         [BZ #19178]
9699         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9700         (RTYPE_CLASS_PLT): Likewise.
9701         (RTYPE_CLASS_COPY): Likewise.
9702         (RTYPE_CLASS_TLS): Likewise.
9703         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9704         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
9705         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9706         DL_DEBUG_PRELINK.
9708 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
9710         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9711         calls with argument -0.5.
9712         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9714         * configure.ac (libc_cv_z_nodelete): Remove configure test.
9715         (libc_cv_z_nodlopen): Likewise.
9716         (libc_cv_z_initfirst): Likewise.
9717         * configure: Regenerated.
9719 2015-11-06  Florian Weimer  <fweimer@redhat.com>
9721         Simplify abilist format to be line-based.
9722         * scripts/abilist.awk: Collect descriptors in the descs variable.
9723         (emit): Write descs variable and sort it
9724         externally, with sort.
9725         * sysdeps/**/*.abilist: Convert to new format.
9727 2015-11-06  Mark Wielaard  <mjw@redhat.com>
9729         [BZ #11460]
9730         * io/Makefile (routines): Add fts64.
9731         (tests): Add tst-fts and tst-fts-lfs.
9732         (CFLAGS-fts64.c): New.
9733         * io/Versions (GLIBC_2.23): New.
9734         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9735         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9736         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9737         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9738         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9739         (FTSENT64): Likewise.
9740         (fts64_children): Likewise.
9741         (fts64_close): Likewise.
9742         (fts64_open): Likewise.
9743         (fts64_read): Likewise.
9744         (fts64_set): Likewise.
9745         * io/fts64.c: New file.
9746         * io/tst-fts.c: New test.
9747         * io/tst-fts-lfs.c: Likewise.
9748         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9749         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9750         fts64_set.
9751         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9752         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9753         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9754         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9755         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9756         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9757         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9758         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9759         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9760         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9761         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9762         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9763         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9765         Likewise.
9766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9767         Likewise.
9768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9770         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9771         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9772         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9773         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9774         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9777         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9778         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9779         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9780         * sysdeps/wordsize-64/fts.c: New file.
9781         * sysdeps/wordsize-64/fts64.c: Likewise.
9782         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9783         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9784         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9785         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9787 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9789         * math/libm-test.inc (NON_FINITE): New macro.
9790         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9791         * math/gen-libm-test.pl (show_exceptions): Add argument
9792         $non_finite.
9793         (parse_args): Update call to show_exceptions.
9794         * math/test-math-finite.h: New file.
9795         * math/test-math-no-finite.h: Likewise.
9796         * math/test-double-finite.c: Likewise.
9797         * math/test-float-finite.c: Likewise.
9798         * math/test-ldouble-finite.c: Likewise.
9799         * math/test-double.c: Include "test-math-no-finite.h".
9800         * math/test-float.c: Include "test-math-no-finite.h".
9801         * math/test-ldouble.c: Include "test-math-no-finite.h".
9802         * math/test-math-inline.h (TEST_FINITE): New macro.
9803         * math/test-math-vector.h (TEST_FINITE): Likewise.
9804         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
9805         (libm-tests): Add test-float-finite and test-double-finite.
9806         ($(objpfx)test-float-finite.o): New dependency on
9807         $(objpfx)libm-test.stmp.
9808         ($(objpfx)test-double-finite.o): Likewise.
9809         ($(objpfx)test-ldouble-finite.o): Likewise.
9810         (libm-test-no-inline-cflags): New variable.
9811         (libm-test-finite-cflags): Likewise.
9812         (CFLAGS-test-float-finite.c): Likewise.
9813         (CFLAGS-test-double-finite.c): Likewise.
9814         (CFLAGS-test-ldouble-finite.c): Likewise.
9815         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9816         (CFLAGS-test-double.c): Likewise.
9817         (CFLAGS-test-ldouble.c): Likewise.
9819 2015-11-05  Roland McGrath  <roland@hack.frob.com>
9821         * io/fcntl.c (__fcntl): Add ... to prototype.
9822         * misc/ioctl.c (__ioctl): Likewise.
9823         * misc/syscall.c (syscall): Likewise.
9825 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9827         * scripts/list-fixed-bugs.py: New file.
9829         [BZ #19213]
9830         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9831         returned for argument 1.
9832         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9833         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9834         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9835         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9836         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9837         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9839         [BZ #19211]
9840         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9841         __USE_XOPEN], not if [!__USE_ISOC99].
9842         (lgammaf): Likewise.
9843         (lgammal): Likewise.
9844         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9845         (gammaf): Likewise.
9846         (gammal): Likewise.
9847         * math/test-signgam-finite-c11.c: New file.
9848         * math/test-signgam-finite-c99.c: Likewise.
9849         * math/test-signgam-finite.c: Likewise.
9850         * math/Makefile (tests): Add test-signgam-finite,
9851         test-signgam-finite-c99 and test-signgam-finite-c11.
9852         (CFLAGS-test-signgam-finite.c): New variable.
9853         (CFLAGS-test-signgam-finite-c99.c): Likewise.
9854         (CFLAGS-test-signgam-finite-c11.c): Likewise.
9856         [BZ #19212]
9857         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9858         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9859         500].
9860         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9861         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9862         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9863         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9864         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9865         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9866         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9867         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9868         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9869         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9871         [BZ #19209]
9872         * math/bits/math-finite.h (ldexp): Remove declaration.
9873         (ldexpf): Likewise.
9874         (ldexpl): Likewise.
9876         [BZ #19205]
9877         * math/bits/math-finite.h (acosf): Condition declaration on
9878         [__USE_ISOC99].
9879         (acosl): Likewise.
9880         (acoshf): Likewise.
9881         (acoshl): Likewise.
9882         (asinf): Likewise.
9883         (asinl): Likewise.
9884         (atan2f): Likewise.
9885         (atan2l): Likewise.
9886         (atanhf): Likewise.
9887         (atanhl): Likewise.
9888         (coshf): Likewise.
9889         (coshl): Likewise.
9890         (expf): Likewise.
9891         (expl): Likewise.
9892         (fmodf): Likewise.
9893         (fmodl): Likewise.
9894         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9895         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9896         (j0l): Likewise.
9897         (y0f): Likewise.
9898         (y0l): Likewise.
9899         (j1f): Likewise.
9900         (j1l): Likewise.
9901         (y1f): Likewise.
9902         (y1l): Likewise.
9903         (jnf): Likewise.
9904         (jnl): Likewise.
9905         (ynf): Likewise.
9906         (ynl): Likewise.
9907         (lgammaf_r): Condition declaration on [__USE_ISOC99].
9908         (lgammal_r): Likewise.
9909         (__lgamma_r_finite): New declaration.
9910         (__lgammaf_r_finite): Likewise.
9911         (__lgammal_r_finite): Likewise.
9912         (lgamma): Use __lgamma_r_finite.
9913         (lgammaf): Condition definition on [__USE_ISOC99].  Use
9914         __lgammaf_r_finite.
9915         (lgammal): Condition definition on [__USE_ISOC99].  Use
9916         __lgammal_r_finite.
9917         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
9918         __lgamma_r_finite.
9919         (gammaf): Condition definition on [__USE_ISOC99].  Use
9920         __lgammaf_r_finite.
9921         (gammal): Condition definition on [__USE_ISOC99].  Use
9922         __lgammal_r_finite.
9923         (logf): Condition declaration on [__USE_ISOC99].
9924         (logl): Likewise.
9925         (log10f): Likewise.
9926         (log10l): Likewise.
9927         (ldexpf): Likewise.
9928         (ldexpl): Likewise.
9929         (powf): Likewise.
9930         (powl): Likewise.
9931         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9932         __USE_ISOC99].
9933         (remainderf): Condition declaration on [__USE_ISOC99].
9934         (remainderl): Likewise.
9935         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9936         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9937         (scalbl): Likewise.
9938         (sinhf): Condition declaration on [__USE_ISOC99].
9939         (sinhl): Likewise.
9940         (sqrtf): Likewise.
9941         (sqrtl): Likewise.
9943 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9945         * sysdeps/arm/atomic-machine.h
9946         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9947         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9948         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9949         Remove conditional code.
9950         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9951         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9952         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9953         Change conditional to [__ASSEMBLER__].
9954         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9955         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9956         [!__ASSEMBLER__].
9957         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9958         code.
9959         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9960         conditional macro definitions.
9961         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9962         (__arch_compare_and_exchange_val_16_acq): Likewise.
9963         (__arch_compare_and_exchange_val_32_acq): Likewise.
9964         (atomic_exchange_and_add): Likewise.
9965         (atomic_add): Likewise.
9966         (atomic_add_negative): Likewise.
9967         (atomic_add_zero): Likewise.
9968         (atomic_bit_set): Likewise.
9969         (atomic_bit_test_set): Likewise.
9970         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9971         code unconditional.
9972         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9974         * math/test-math-errno.h: New file.
9975         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
9976         empty.
9977         (TEST_ERRNO): New macro.
9978         (TEST_EXCEPTIONS): Likewise.
9979         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
9980         (TEST_EXCEPTIONS): Likewise.
9981         * math/test-math-vector.h (TEST_ERRNO): Likewise.
9982         * math/test-double.c: Include "test-math-errno.h".
9983         * math/test-float.c: Likewise.
9984         * math/test-ldouble.c: Likewise.
9985         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
9986         code unconditional.
9987         (test_exceptions): Only run code if TEST_EXCEPTIONS.
9988         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
9989         unconditional.
9990         (test_errno): Only run code if TEST_ERRNO.
9991         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
9993 2015-11-04  Florian Weimer  <fweimer@redhat.com>
9995         * nptl/tst-once5.cc: Remove attribution.
9997 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9999         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10000         sqrt, tan, tanh, y0, y1 and yn.
10001         * math/auto-libm-test-out: Regenerated.
10002         * math/libm-test.inc (scalb_test_data): Add more tests.
10003         (scalbn_test_data): Likewise.
10004         (scalbln_test_data): Likewise.
10005         (signbit_test_data): Likewise.
10006         (sin_test_data): Likewise.
10007         (sincos_test_data): Likewise.
10008         (sinh_test_data): Likewise.
10009         (sqrt_test_data): Likewise.
10010         (tan_test_data): Likewise.
10011         (tanh_test_data): Likewise.
10012         (tgamma_test_data): Likewise.
10013         (y0_test_data): Likewise.
10014         (y1_test_data): Likewise.
10015         (yn_test_data): Likewise.
10016         (significand_test_data): Likewise.
10017         * sysdeps/i386/fpu/libm-test-ulps: Update.
10019 2015-11-03  David Kastrup  <dak@gnu.org>
10021         [BZ #18604]
10022         * assert/assert.h (assert): Don't macro-expand failed assertion
10023         expression in error message.
10024         * malloc/malloc.c (assert): Likewise.
10026 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10028         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10029         test.
10030         * configure: Regenerated.
10032 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10034         * math/libm-test.inc (modf_test_data): Add more tests.
10035         (nearbyint_test_data): Likewise.
10036         (nextafter_test_data): Likewise.
10037         (nexttoward_test_data): Likewise.
10038         (pow_test_data): Likewise.
10039         (remainder_test_data): Likewise.
10040         (remquo_test_data): Likewise.
10041         (rint_test_data): Likewise.
10043         [BZ #19201]
10044         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10045         Check for zero remainder in case of large exponents and ensure
10046         correct sign of result in that case.
10047         * math/libm-test.inc (remainder_test_data): Add more tests.
10049         [BZ #6799]
10050         * math/s_nextafter.c: Include <errno.h>.
10051         (__nextafter): Set errno on overflow and underflow.
10052         * math/s_nexttowardf.c: Include <errno.h>.
10053         (__nexttowardf): Set errno on overflow and underflow.
10054         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10055         (__nextafterl): Set errno on overflow and underflow.
10056         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10057         (__nexttoward): Set errno on overflow and underflow.
10058         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10059         (__nexttowardf): Set errno on overflow and underflow.
10060         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10061         (__nextafterf): Set errno on overflow and underflow.
10062         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10063         (__nextafterl): Set errno on overflow and underflow.
10064         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10065         (__nexttoward): Set errno on overflow and underflow.
10066         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10067         (__nexttowardf): Set errno on overflow and underflow.
10068         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10069         (__nextafterl): Set errno on overflow and underflow.
10070         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10071         (__nexttoward): Set errno on overflow and underflow.
10072         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10073         (__nexttowardf): Set errno on overflow and underflow.
10074         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10075         (__nexttoward): Set errno on overflow and underflow.
10076         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10077         (__nexttowardf): Set errno on overflow and underflow.
10078         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10079         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10080         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10081         (__nextafterl): Set errno on overflow and underflow.
10082         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10083         setting to be missing on overflow.  Add more tests.
10084         (nexttoward_test_data): Likewise.
10086         * configure.ac (libc_cv_initfini_array): Remove configure test.
10087         * configure: Regenerated.
10089 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10091         [BZ #19189]
10092         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10093         non-finite argument handle arguments with negative sign.
10095         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10096         result from infinite argument.
10097         (j1_test_data): Likewise.
10098         (jn_test_data): Likewise.
10099         (y0_test_data): Likewise.
10100         (y1_test_data): Likewise.
10101         (yn_test_data): Likewise.
10103         [BZ #16171]
10104         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10105         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10106         * math/w_remainderf.c (dremf): Define as weak alias of
10107         __remainderf.
10108         * math/w_remainderl.c (dreml): Define as weak alias of
10109         __remainderl.
10110         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10111         __remainder.
10112         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10113         __remainderf.
10114         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10115         __remainderl.
10116         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10117         weak alias of remainderl.
10118         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10119         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10120         alias of __remainder.
10121         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10122         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10123         strong alias of __remainderl.
10124         (dreml): Use long_double_symbol.
10125         * math/Makefile (libm-calls): Remove w_drem.
10126         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10127         (CFLAGS-nldbl-drem.c): Remove variable.
10128         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10129         * math/w_drem.c: Remove file.
10130         * math/w_dremf.c: Likewise.
10131         * math/w_dreml.c: Likewise.
10132         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10133         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10134         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10136         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10137         * sysdeps/i386/configure: Regenerated.
10138         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10139         * sysdeps/x86_64/configure: Regenerated.
10141         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10142         test.
10143         (libc_cv_visibility_attribute): Likewise.
10144         (libc_cv_protected_data): Test unconditionally.
10145         (libc_cv_broken_visibility_attribute): Remove configure test.
10146         (libc_cv_have_sdata_section): Test unconditionally.
10147         * configure: Regenerated.
10149         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10150         * include/scratch_buffer.h: Include <stddef.h> instead of
10151         <libc-internal.h>.
10152         (struct scratch_buffer): Use max_align_t instead of
10153         libc_max_align_t.
10155 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10157         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10158         instead of extend_alloca.  Change control flow to avoid a goto.
10159         Remove assert which is trivially always true.
10161 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10163         [BZ #16068]
10164         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10165         (FE_ALL_EXCEPT_X86): New macro.
10166         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10167         FE_ALL_EXCEPT.  Ensure precision control is included in
10168         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10169         handle "denormal operand exception" and clear FZ and DAZ bits.
10170         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10171         (FE_ALL_EXCEPT_X86): New macro.
10172         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10173         FE_ALL_EXCEPT.  Ensure precision control is included in
10174         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10175         handle "denormal operand exception" and clear FZ and DAZ bits.
10176         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10177         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10178         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10179         test-fenv-x87 and test-fenv-sse-2.
10180         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10182         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10183         * math/test-double.h (BUILD_COMPLEX): New macro.
10184         * math/test-float.h (BUILD_COMPLEX): Likewise.
10185         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10187         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10188         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10189         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10190         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10191         instead of DBL_DENORM_MIN in comment.
10192         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10193         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10194         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10195         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10196         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10197         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10199 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10201         [BZ# 19048]
10202         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10203         attached_threads member.
10204         (main_arena): Initialize attached_threads.
10205         * malloc/arena.c (list_lock): Update comment.
10206         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10207         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10208         (deattach_arena): New function.
10209         (_int_new_arena): Initialize arena reference count and deattach
10210         replaced arena.
10211         (get_free_list, reused_arena): Update reference count and deattach
10212         replaced arena.
10213         (arena_thread_freeres): Update arena reference count and only put
10214         unreferenced arenas on the free list.
10216 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10218         [BZ #19181]
10219         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10220         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10221         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10222         * math/test-fenv-clear-main.c: New file.
10223         * math/test-fenv-clear.c: Likewise.
10224         * math/Makefile (tests): Add test-fenv-clear.
10225         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10226         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10227         test-fenv-clear-sse.
10228         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10230         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10231         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10232         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10234 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10236         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10237         static libc.
10239 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10241         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10242         test.
10243         * sysdeps/i386/configure: Regenerated.
10244         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10245         test.
10246         * sysdeps/x86_64/configure: Regenerated.
10247         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10248         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10249         memset-avx2 unconditionally instead of conditionally on
10250         [$(config-cflags-avx2) = yes].
10251         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10252         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10253         unconditional.
10254         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10255         * sysdeps/x86_64/multiarch/memset_chk.S
10256         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10257         to [IS_IN (libc) && SHARED].
10259 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10261         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10262         configure test.
10263         * sysdeps/arm/configure: Regenerated.
10264         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10265         Define variable if not already defined.
10267         [BZ #17404]
10268         * sysdeps/mips/atomic-machine.h
10269         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10270         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10271         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10273         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10274         unconditional.
10275         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10276         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10277         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10278         unconditional.
10279         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10280         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10281         unconditional.
10282         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10283         * stdlib/setenv.c
10284         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10285         code unconditional.
10286         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10287         Remove conditional code.
10288         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10289         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10290         unconditional.
10291         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10292         code.
10293         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10294         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10295         unconditional.
10296         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10297         code.
10298         * sysdeps/ieee754/ldbl-128/k_tanl.c
10299         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10300         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10301         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10302         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10303         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10304         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10305         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10306         unconditional.
10307         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10308         code.
10309         * sysdeps/ieee754/ldbl-96/k_tanl.c
10310         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10311         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10313         * nptl/tst-initializers1-c11.c: New file.
10314         * nptl/tst-initializers1-gnu11.c: Likewise.
10315         * nptl/Makefile (tests): Add these new tests.
10316         (CFLAGS-tst-initializers1-c11.c): New variable.
10317         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10319         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10320         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10321         instead of -std=gnu99.
10322         * configure.ac (systemtap): Test with -std=gnu11 instead of
10323         -std=gnu99.
10324         * configure: Regenerated.
10325         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10326         in compilation command in comment.
10328         * sysdeps/nptl/configure.ac: Remove file.
10329         * sysdeps/nptl/configure: Remove generated file.
10330         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10331         * configure: Regenerated.
10332         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10333         * config.make.in (have-forced-unwind): Remove variable.
10334         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10335         unconditional.
10336         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10337         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10338         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10339         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10340         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10341         unconditional.
10343 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10345         [BZ #19174]
10346         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10347         .skip_lock_out_of_tbegin_retries.
10348         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10349         (__lll_lock_elision): Likewise, and respect a value of
10350         try_tbegin <= 0.
10352 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10354         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10355         statement.
10357 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10359         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10360         variable.
10361         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10362         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10364         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10365         of -std=c1x -D_ISOC11_SOURCE.
10367         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10368         * configure: Regenerated.
10369         * manual/install.texi (Tools for Compilation): Document
10370         requirement for GCC 4.7 or later.
10371         * INSTALL: Regenerated.
10373 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10375         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10376         on CNT to a conditional jump to 'puntdata'.
10378 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10380         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10381         (libc_cv_gcc_tls_model_attr): Likewise.
10382         * configure: Regenerated.
10384         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10385         * configure: Regenerated.
10386         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10388 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10390         * configure.ac (old_glibc_headers): Remove configure test.
10391         * configure: Regenerated.
10392         * config.make.in (old-glibc-headers): Remove variable.
10393         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10394         (install): Remove dependency on remove-old-headers.
10395         (headers2_0): Remove variable.
10396         (remove-old-headers): Remove rule.
10398         * configure.ac (libc_cv_dot_text): Remove configure test.
10399         (libc_cv_asm_set_directive): Use .text instead of
10400         ${libc_cv_dot_text} in configure test.
10401         * configure: Regenerated.
10403 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10405         [BZ #19168]
10406         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10408 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10410         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10411         not support static linking.
10412         * configure: Regenerate.
10414 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10416         * math/libm-test.inc (check_float_internal): Do not special-case
10417         errors up to 0.5 ulp.
10419         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10420         log2.
10421         * math/auto-libm-test-out: Regenerated.
10422         * math/libm-test.inc (MAX_EXP): New macro.
10423         (ilogb_test_data): Add more tests.
10424         (isfinite_test_data): Likewise.
10425         (isgreater_test_data): Likewise.
10426         (isgreaterequal_test_data): Likewise.
10427         (isinf_test_data): Likewise.
10428         (isless_test_data): Likewise.
10429         (islessequal_test_data): Likewise.
10430         (islessgreater_test_data): Likewise.
10431         (isnan_test_data): Likewise.
10432         (isnormal_test_data): Likewise.
10433         (issignaling_test_data): Likewise.
10434         (isunordered_test_data): Likewise.
10435         (j0_test_data): Likewise.
10436         (j1_test_data): Likewise.
10437         (jn_test_data): Likewise.
10438         (lgamma_test_data): Likewise.
10439         (log_test_data): Likewise.
10440         (log10_test_data): Likewise.
10441         (log1p_test_data): Likewise.
10442         (log2_test_data): Likewise.
10443         (logb_test_data): Likewise.
10444         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10446         [BZ #18611]
10447         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10448         avoid excess range and precision on underflow.
10449         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10450         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10451         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10452         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10453         underflow.
10454         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10455         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10456         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10457         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10458         * math/auto-libm-test-in: Do not allow missing errno setting for
10459         tests of j1 and jn.
10460         * math/auto-libm-test-out: Regenerated.
10462 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10464         [BZ #15491]
10465         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10466         floating-point environment instead of clearing all exceptions.
10467         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10468         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10469         merging in "invalid" exceptions from frndint.
10470         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10471         * math/test-nearbyint-except.c: New file.
10472         * math/Makefile (tests): Add test-nearbyint-except.
10474 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10476         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10478         * sysdeps/tile/libm-test-ulps: Regenerated.
10480 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10483         (__NR_sync_file_range2): Assume it is always defined.
10484         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10485         (__NR_sync_file_range): Assume it is always defined.
10487 2015-10-22  Andreas Schwab  <schwab@suse.de>
10489         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10490         INTERNAL_SYSCALL_ERRNO.
10491         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10492         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10493         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10494         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10495         Likewise.
10496         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10498 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10500         * io/tst-fcntl.c (fd): New static variable.
10501         (do_prepare): Open temporary file here....
10502         (do_test): ...not here.
10504         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10506 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10508         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10509         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10510         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10511         Moved before "#ifdef __ASSEMBLER__".
10513 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10515         [BZ #19156]
10516         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10517         arguments very close to 0.
10519 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
10521         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10522         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10524 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10526         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10527         New.  Defined for GCC 5 and above when not compiling for
10528         profiling.
10529         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10531         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10532         Renamed to ...
10533         (CFLAGS-epoll_pwait.o): This.
10534         (CFLAGS-mmap.c): Renamed to ...
10535         (CFLAGS-mmap.o): This.
10536         (CFLAGS-mmap64.c): Renamed to ...
10537         (CFLAGS-mmap64.o): This.
10538         (CFLAGS-epoll_pwait.os): New.
10539         (CFLAGS-mmap.os): Likewise.
10540         (CFLAGS-mmap64.os): Likewise.
10541         (CFLAGS-semtimedop.os): Likewise.
10542         (CFLAGS-semtimedop.c): Renamed to ...
10543         (CFLAGS-semtimedop.o): This.
10545 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10547         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10548         warning message.
10550 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10552         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10553         * Makefile ($(objpfx)c++-types-check.out): Filter out
10554         $(+gccwarn-c) instead of -Wstrict-prototypes.
10556         * io/fts.c (fts_open): Convert to prototype-style function
10557         definition.
10558         * malloc/mcheck.c (mcheck): Likewise.
10559         (mcheck_pedantic): Likewise.
10560         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10561         internal_function.
10562         (re_search_internal): Likewise.
10563         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10564         prototype-style function definition.
10565         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10566         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10567         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10568         (xdr_utmpptr): Likewise.
10569         (xdr_utmparr): Likewise.
10570         (xdr_utmpidle): Likewise.
10571         (xdr_utmpidleptr): Likewise.
10572         (xdr_utmpidlearr): Likewise.
10574         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10575         log, log10 and log2.
10576         * math/auto-libm-test-out: Regenerated.
10577         * math/libm-test.inc (fmod_test_data): Add more tests.
10578         (fpclassify_test_data): Likewise.
10579         (frexp_test_data): Likewise.
10580         (hypot_test_data): Likewise.
10581         (ilogb_test_data): Likewise.
10583 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10585         * debug/fortify_fail.c (__fortify_fail): Convert to
10586         prototype-style function definition.  Use internal_function.
10587         * libio/genops.c (save_for_backup): Convert to prototype-style
10588         function definition.
10589         * libio/wgenops.c (save_for_wbackup): Likewise.
10590         * login/grantpt.c (grantpt): Likewise.
10591         * login/ptsname.c (ptsname): Likewise.
10592         (__ptsname_r): Likewise.
10593         * login/unlockpt.c (unlockpt): Likewise.
10594         * mach/msgserver.c (__mach_msg_server): Likewise.
10595         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10596         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10597         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10598         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10599         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10600         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10601         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10602         Likewise.
10603         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
10604         internal_function.
10605         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10606         prototype-style function definition.
10607         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10608         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10609         (__pthread_create_2_0): Likewise.
10610         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10611         * nptl/register-atfork.c (__register_atfork): Likewise.
10612         * posix/glob.c (glob): Likewise.
10613         * posix/regcomp.c (re_comp): Likewise.
10614         * posix/regexec.c (re_exec): Likewise.
10615         * stdlib/add_n.c [__STDC__]: Make code unconditional.
10616         [!__STDC__]: Remove conditional code.
10617         * stdlib/cmp.c [__STDC__]: Make code unconditional.
10618         [!__STDC__]: Remove conditional code.
10619         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10620         [!__STDC__]: Remove conditional code.
10621         * stdlib/divrem.c [__STDC__]: Make code unconditional.
10622         [!__STDC__]: Remove conditional code.
10623         * stdlib/lshift.c [__STDC__]: Make code unconditional.
10624         [!__STDC__]: Remove conditional code.
10625         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10626         [!__STDC__]: Remove conditional code.
10627         * stdlib/mul.c [__STDC__]: Make code unconditional.
10628         [!__STDC__]: Remove conditional code.
10629         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10630         [!__STDC__]: Remove conditional code.
10631         * stdlib/rshift.c [__STDC__]: Make code unconditional.
10632         [!__STDC__]: Remove conditional code.
10633         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10634         function definition.
10635         (STRTOF): Likewise.
10636         * stdlib/strtod_l.c (__STRTOF): Likewise.
10637         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10638         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10639         (__strtol_l): Likewise.
10640         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10641         [!__STDC__]: Remove conditional code.
10642         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10643         definition.
10644         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10645         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10646         type.
10647         (__strcasecmp): Convert to prototype-style function definition.
10648         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10649         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10650         type.
10651         (__strncasecmp): Convert to prototype-style function definition.
10652         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10653         * sunrpc/xdr.c (xdr_union): Likewise.
10654         * sunrpc/xdr_array.c (xdr_array): Likewise.
10655         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10656         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10657         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10658         Likewise.
10659         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10660         Likewise.
10661         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10662         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10663         Likewise.
10664         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10665         (LOCALE_PARAM_PROTO): Likewise.
10666         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10667         argument type.
10668         (ut_argument_spec): Remove macro.
10669         (ut_argument_spec_iso): Rename to ut_argument_spec.
10670         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
10671         prototype-style function definition.
10672         (memcpy_uppcase): Likewise.
10673         (__strftime_internal): Likewise.
10674         (my_strftime): Likewise.
10675         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10676         (LOCALE_PARAM_DECL): Likewise.
10677         [_LIBC] (LOCALE_PARAM): Include argument type.
10678         (__strptime_internal): Convert to prototype-style function
10679         definition.
10680         (strptime): Likewise.
10681         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10682         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10683         type.
10684         (__wcscasecmp): Convert to prototype-style function definition.
10685         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10686         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10687         type.
10688         (__wcsncasecmp): Convert to prototype-style function definition.
10690         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10691         function definition.
10692         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10693         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10694         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10695         * elf/dl-minimal.c (_itoa): Likewise.
10696         * hurd/hurdmalloc.c (malloc): Likewise.
10697         (free): Likewise.
10698         (realloc): Likewise.
10699         * inet/inet6_option.c (inet6_option_space): Likewise.
10700         (inet6_option_init): Likewise.
10701         (inet6_option_append): Likewise.
10702         (inet6_option_alloc): Likewise.
10703         (inet6_option_next): Likewise.
10704         (inet6_option_find): Likewise.
10705         * io/ftw.c (FTW_NAME): Likewise.
10706         (NFTW_NAME): Likewise.
10707         (NFTW_NEW_NAME): Likewise.
10708         (NFTW_OLD_NAME): Likewise.
10709         * libio/iofwide.c (_IO_fwide): Likewise.
10710         * libio/strops.c (_IO_str_init_static_internal): Likewise.
10711         (_IO_str_init_static): Likewise.
10712         (_IO_str_init_readonly): Likewise.
10713         (_IO_str_overflow): Likewise.
10714         (_IO_str_underflow): Likewise.
10715         (_IO_str_count): Likewise.
10716         (_IO_str_seekoff): Likewise.
10717         (_IO_str_pbackfail): Likewise.
10718         (_IO_str_finish): Likewise.
10719         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10720         (_IO_wstr_overflow): Likewise.
10721         (_IO_wstr_underflow): Likewise.
10722         (_IO_wstr_count): Likewise.
10723         (_IO_wstr_seekoff): Likewise.
10724         (_IO_wstr_pbackfail): Likewise.
10725         (_IO_wstr_finish): Likewise.
10726         * locale/programs/localedef.c (normalize_codeset): Likewise.
10727         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10728         (add_locales_to_archive): Likewise.
10729         (delete_locales_from_archive): Likewise.
10730         * malloc/malloc.c (__libc_mallinfo): Likewise.
10731         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10732         * misc/tsearch.c (__tfind): Likewise.
10733         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10734         * nptl/pthread_attr_getdetachstate.c
10735         (__pthread_attr_getdetachstate): Likewise.
10736         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10737         Likewise.
10738         * nptl/pthread_attr_getinheritsched.c
10739         (__pthread_attr_getinheritsched): Likewise.
10740         * nptl/pthread_attr_getschedparam.c
10741         (__pthread_attr_getschedparam): Likewise.
10742         * nptl/pthread_attr_getschedpolicy.c
10743         (__pthread_attr_getschedpolicy): Likewise.
10744         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10745         Likewise.
10746         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10747         Likewise.
10748         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10749         Likewise.
10750         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10751         Likewise.
10752         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10753         (__pthread_attr_init_2_0): Likewise.
10754         * nptl/pthread_attr_setdetachstate.c
10755         (__pthread_attr_setdetachstate): Likewise.
10756         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10757         Likewise.
10758         * nptl/pthread_attr_setinheritsched.c
10759         (__pthread_attr_setinheritsched): Likewise.
10760         * nptl/pthread_attr_setschedparam.c
10761         (__pthread_attr_setschedparam): Likewise.
10762         * nptl/pthread_attr_setschedpolicy.c
10763         (__pthread_attr_setschedpolicy): Likewise.
10764         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10765         Likewise.
10766         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10767         Likewise.
10768         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10769         Likewise.
10770         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10771         Likewise.
10772         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10773         Likewise.
10774         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10775         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10776         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10777         use internal_function.
10778         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10779         prototype-style function definition.
10780         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10781         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
10782         internal_function.
10783         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10784         Convert to prototype-style function definition.
10785         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10786         Likewise.
10787         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10788         Likewise.
10789         (__pthread_mutex_unlock): Likewise.
10790         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10791         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10792         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10793         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10794         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10795         * nss/makedb.c (process_input): Likewise.
10796         * posix/fnmatch.c (__strchrnul): Likewise.
10797         (__wcschrnul): Likewise.
10798         (fnmatch): Likewise.
10799         * posix/fnmatch_loop.c (FCT): Likewise.
10800         * posix/glob.c (globfree): Likewise.
10801         (__glob_pattern_type): Likewise.
10802         (__glob_pattern_p): Likewise.
10803         * posix/regcomp.c (re_compile_pattern): Likewise.
10804         (re_set_syntax): Likewise.
10805         (re_compile_fastmap): Likewise.
10806         (regcomp): Likewise.
10807         (regerror): Likewise.
10808         (regfree): Likewise.
10809         * posix/regexec.c (regexec): Likewise.
10810         (re_match): Likewise.
10811         (re_search): Likewise.
10812         (re_match_2): Likewise.
10813         (re_search_2): Likewise.
10814         (re_search_stub): Likewise.  Use internal_function
10815         (re_copy_regs): Likewise.
10816         (re_set_registers): Convert to prototype-style function
10817         definition.
10818         (prune_impossible_nodes): Likewise.  Use internal_function.
10819         * resolv/inet_net_pton.c (inet_net_pton): Convert to
10820         prototype-style function definition.
10821         (inet_net_pton_ipv4): Likewise.
10822         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10823         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10824         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10825         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10826         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10827         Make variadic.
10828         * time/strptime_l.c (localtime_r): Convert to prototype-style
10829         function definition.
10830         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10831         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10832         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10833         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10835         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10836         definition.
10837         (_ufc_doit_r): Likewise.
10838         * crypt/crypt_util.c (_ufc_copymem): Likewise.
10839         (_ufc_output_conversion_r): Likewise.
10840         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10841         * inet/rcmd.c (rcmd_af): Likewise.
10842         (rcmd): Likewise.
10843         (ruserok_af): Likewise.
10844         (ruserok): Likewise.
10845         (ruserok2_sa): Likewise.
10846         (ruserok_sa): Likewise.
10847         (iruserok_af): Likewise.
10848         (iruserok): Likewise.
10849         (__ivaliduser): Likewise.
10850         (__validuser2_sa): Likewise.
10851         * inet/rexec.c (rexec_af): Likewise.
10852         (rexec): Likewise.
10853         * inet/ruserpass.c (ruserpass): Likewise.
10854         * locale/programs/xmalloc.c (xcalloc): Likewise.
10855         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10856         * math/w_drem.c (__drem): Likewise.
10857         * math/w_dremf.c (__dremf): Likewise.
10858         * math/w_dreml.c (__dreml): Likewise.
10859         * misc/daemon.c (daemon): Likewise.
10860         * resolv/res_debug.c (p_fqnname): Likewise.
10861         * stdlib/div.c (div): Likewise.
10862         * string/memcmp.c (memcmp_bytes): Likewise.
10863         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10864         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10866         * crypt/cert.c (main): Convert to prototype-style function
10867         definition.
10868         * io/pipe.c (__pipe): Likewise.
10869         * io/pipe2.c (__pipe2): Likewise.
10870         * misc/futimesat.c (futimesat): Likewise.
10871         * misc/utimes.c (__utimes): Likewise.
10872         * posix/execve.c (__execve): Likewise.
10873         * posix/execvp.c (execvp): Likewise.
10874         * posix/execvpe.c (__execvpe): Likewise.
10875         * posix/fexecve.c (fexecve): Likewise.
10876         * socket/socketpair.c (socketpair): Likewise.
10877         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10878         * stdlib/erand48.c (erand48): Likewise.
10879         * stdlib/erand48_r.c (__erand48_r): Likewise.
10880         * stdlib/jrand48.c (jrand48): Likewise.
10881         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10882         * stdlib/lcong48.c (lcong48): Likewise.
10883         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10884         * stdlib/nrand48.c (nrand48): Likewise.
10885         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10886         * stdlib/seed48.c (seed48): Likewise.
10887         * stdlib/seed48_r.c (__seed48_r): Likewise.
10888         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10889         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10890         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10892 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10894         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10895         * configure: Regenerated.
10896         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10897         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10898         unconditional.
10899         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10900         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10901         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10902         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10903         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10904         unconditional.
10905         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10907         * posix/Makefile (CFLAGS-regex.c): Remove variable.
10908         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10910         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10911         function definition.
10912         * crypt/crypt_util.c (__encrypt_r): Likewise.
10913         * libio/genops.c (_IO_no_init): Likewise.
10914         * libio/iofopncook.c (_IO_fopencookie): Likewise.
10915         (_IO_old_fopencookie): Likewise.
10916         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10917         * libio/iogetline.c (_IO_getline): Likewise.
10918         (_IO_getline_info): Likewise.
10919         * libio/iogetwline.c (_IO_getwline): Likewise.
10920         (_IO_getwline_info): Likewise.
10921         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10922         * libio/vswprintf.c (_IO_vswprintf): Likewise.
10923         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10924         (find_entry): Likewise.
10925         (iterate_table): Likewise.
10926         (lookup): Likewise.
10927         * login/forkpty.c (forkpty): Likewise.
10928         * misc/hsearch_r.c (__hsearch_r): Likewise.
10929         * misc/select.c (__select): Likewise.
10930         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10931         Likewise.
10932         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10933         Likewise.
10934         * nptl/old_pthread_cond_timedwait.c
10935         (__pthread_cond_timedwait_2_0): Likewise.
10936         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10937         * nptl/pthread_barrierattr_getpshared.c
10938         (pthread_barrierattr_getpshared): Likewise.
10939         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10940         Likewise.
10941         * nptl/pthread_mutex_setprioceiling.c
10942         (pthread_mutex_setprioceiling): Likewise.
10943         * nptl/pthread_mutexattr_getprioceiling.c
10944         (pthread_mutexattr_getprioceiling): Likewise.
10945         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10946         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10947         Likewise.
10948         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10949         Likewise.
10950         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10951         Likewise.
10952         * socket/recvfrom.c (__recvfrom): Likewise.
10953         * socket/sendto.c (__sendto): Likewise.
10954         * socket/setsockopt.c (__setsockopt): Likewise.
10955         * stdio-common/_itoa.c (_itoa): Likewise.
10956         * stdio-common/_itowa.c (_itowa): Likewise.
10957         * stdio-common/reg-printf.c (__register_printf_specifier):
10958         Likewise.
10959         (__register_printf_function): Likewise.
10960         * stdio-common/tempname.c (__path_search): Likewise.
10961         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10962         * stdlib/mul_1.c (mpn_mul_1): Likewise.
10963         * stdlib/random_r.c (__initstate_r): Likewise.
10964         * stdlib/setenv.c (__add_to_environ): Likewise.
10965         * stdlib/submul_1.c (mpn_submul_1): Likewise.
10966         * streams/getpmsg.c (getpmsg): Likewise.
10967         * streams/putmsg.c (putmsg): Likewise.
10968         * streams/putpmsg.c (putpmsg): Likewise.
10969         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10970         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10971         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10972         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10973         * sunrpc/pm_getport.c (pmap_getport): Likewise.
10974         * sunrpc/svc_udp.c (cache_get): Likewise.
10975         * sunrpc/xdr_array.c (xdr_vector): Likewise.
10976         * sysdeps/mach/hurd/getcwd.c
10977         (__canonicalize_directory_name_internal): Likewise.
10978         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
10979         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
10980         * sysdeps/mach/hurd/select.c (__select): Likewise.
10981         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10982         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10983         * sysdeps/sparc/nptl/pthread_barrier_init.c
10984         (__pthread_barrier_init): Likewise.
10985         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
10986         (__pthread_cond_timedwait): Likewise.
10987         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
10988         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
10989         Likewise.
10990         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
10991         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
10992         Likewise.
10993         * sysvipc/semtimedop.c (semtimedop): Likewise.
10994         * time/setitimer.c (__setitimer): Likewise.
10995         * time/strftime_l.c (emacs_strftime): Likewise.
10997 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10999         * config.make.in (have-ssp): Delete.
11000         (stack-protector): New variable.
11001         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11002         cache test for -fstack-protector-strong.  Export stack_protector to
11003         the best ssp flag.
11004         * configure: Regenerated.
11005         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11006         * nscd/Makefile (CFLAGS-nscd): Likewise.
11007         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11009 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11011         [BZ #19122]
11012         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11013         attribute_hidden.
11015 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11017         [BZ #18743]
11018         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11019         code to...
11020         (ELIDE_LOCK): ...here.
11021         (__get_new_count): New function with part of the code from
11022         __elide_lock that updates the value of adapt_count after a
11023         transaction abort.
11024         (__elided_trylock): Moved this code to...
11025         (ELIDE_TRYLOCK): ...here.
11027 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11029         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11030         * configure: Regenerate.
11031         * INSTALL: Regenerate.
11032         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11033         and tweak grammar.
11035 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11037         * login/programs/pt_chown.c: Include signal.h
11038         (main): Clear any signal mask from the parent process.
11040 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11042         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11043         * configure: Regenerated.
11044         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11045         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11046         $(gnu89-inline-CFLAGS).
11048         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11049         test.
11050         (libc_cv_asm_weakext_directive): Likewise.
11051         * configure: Regenerated.
11052         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11053         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11054         * include/libc-symbols.h
11055         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11056         #error.
11057         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11058         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11060         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11061         prototype-style function definition.
11062         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11063         * sysdeps/i386/ffs.c (__ffs): Likewise.
11064         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11065         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11066         Likewise.
11067         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11068         Likewise.
11069         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11070         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11071         Likewise.
11072         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11073         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11074         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11075         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11076         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11077         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11078         * sysdeps/mach/hurd/access.c (__access): Likewise.
11079         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11080         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11081         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11082         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11083         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11084         (cthread_getspecific): Likewise.
11085         (cthread_setspecific): Likewise.
11086         (__libc_getspecific): Likewise.
11087         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11088         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11089         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11090         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11091         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11092         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11093         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11094         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11095         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11096         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11097         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11098         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11099         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11100         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11101         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11102         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11103         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11104         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11105         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11106         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11107         * sysdeps/mach/hurd/link.c (__link): Likewise.
11108         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11109         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11110         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11111         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11112         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11113         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11114         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11115         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11116         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11117         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11118         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11119         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11120         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11121         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11122         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11123         * sysdeps/mach/hurd/send.c (__send): Likewise.
11124         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11125         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11126         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11127         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11128         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11129         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11130         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11131         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11132         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11133         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11134         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11135         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11136         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11137         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11138         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11139         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11140         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11141         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11142         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11143         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11144         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11145         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11146         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11147         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11148         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11149         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11150         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11151         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11152         * sysdeps/posix/alarm.c (alarm): Likewise.
11153         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11154         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11155         * sysdeps/posix/dup.c (__dup): Likewise.
11156         * sysdeps/posix/dup2.c (__dup2): Likewise.
11157         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11158         (main): Likewise.
11159         * sysdeps/posix/flock.c (__flock): Likewise.
11160         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11161         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11162         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11163         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11164         * sysdeps/posix/isatty.c (__isatty): Likewise.
11165         * sysdeps/posix/killpg.c (killpg): Likewise.
11166         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11167         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11168         * sysdeps/posix/raise.c (raise): Likewise.
11169         * sysdeps/posix/remove.c (remove): Likewise.
11170         * sysdeps/posix/rename.c (rename): Likewise.
11171         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11172         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11173         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11174         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11175         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11176         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11177         * sysdeps/posix/sigset.c (sigset): Likewise.
11178         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11179         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11180         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11181         * sysdeps/posix/time.c (time): Likewise.
11182         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11183         (ttyname): Likewise.
11184         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11185         * sysdeps/posix/utime.c (utime): Likewise.
11186         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11187         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11188         Likewise.
11189         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11190         (pthread_spin_trylock): Likewise.
11191         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11192         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11193         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11194         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11195         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11196         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11197         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11198         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11199         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11200         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11201         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11202         * sysdeps/s390/ffs.c (__ffs): Likewise.
11203         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11204         Likewise.
11205         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11206         Likewise.
11207         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11208         Likewise.
11209         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11210         (pthread_barrier_destroy): Likewise.
11211         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11212         (__pthread_barrier_wait): Likewise.
11213         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11214         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11215         (__pthread_barrier_wait): Likewise.
11216         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11217         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11218         (memcmp_not_common_alignment): Likewise.
11219         (MEMCMP): Likewise.
11220         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11221         (_wordcopy_fwd_dest_aligned): Likewise.
11222         (_wordcopy_bwd_aligned): Likewise.
11223         (_wordcopy_bwd_dest_aligned): Likewise.
11224         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11225         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11226         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11227         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11228         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11229         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11230         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11231         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11232         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11233         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11234         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11235         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11236         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11237         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11238         * sysdeps/unix/stime.c (stime): Likewise.
11239         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11240         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11241         Likewise.  Use internal_function.
11242         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11243         Convert to prototype-style function definition.
11244         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11245         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11246         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11247         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11248         Likewise.  Use internal_function.
11249         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11250         prototype-style function definition
11251         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11252         Likewise.
11253         (__getlogin_r): Likewise.
11254         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11255         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11256         (__pthread_cond_broadcast): Likewise.
11257         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11258         (__pthread_cond_destroy): Likewise.
11259         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11260         (__pthread_cond_init): Likewise.
11261         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11262         (__pthread_cond_signal): Likewise.
11263         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11264         (__pthread_cond_wait): Likewise.
11265         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11266         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11267         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11268         Likewise.
11269         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11270         Likewise.
11271         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11272         Likewise.
11273         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11274         Likewise.
11275         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11277         (__ftruncate64): Likewise.
11278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11279         (truncate64): Likewise.
11280         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11281         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11282         (pthread_getcpuclockid): Likewise.
11283         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11284         Likewise.
11285         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11286         Likewise.
11287         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11288         Likewise.
11289         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11290         Likewise.
11291         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11292         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11293         (__libc_sigaction): Likewise.
11294         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11295         Likewise.
11296         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11297         (__sigprocmask): Likewise.
11298         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11299         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11300         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11301         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11302         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11303         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11304         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11305         Likewise.
11306         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11307         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11308         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11309         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11310         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11311         Likewise.
11312         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11313         (__sigprocmask): Likewise.
11314         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11315         (cfgetispeed): Likewise.
11316         (cfsetospeed): Likewise.
11317         (cfsetispeed): Likewise.
11318         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11319         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11320         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11321         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11322         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11323         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11324         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11325         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11326         Likewise.
11327         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11328         Likewise.
11329         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11330         Likewise.
11331         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11332         Likewise.
11333         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11335 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11337         sunrpc: Rewrite with explicit TLS access using __thread.
11338         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11339         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11340         directly.
11341         (__rpc_thread_variables): Access thread_rpc_vars directly.
11342         Eliminate redundant assignment of the tvp variable.
11344 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11346         malloc: Rewrite with explicit TLS access using __thread.
11347         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11348         (tsd_setspecific, tsd_getspecific): Remove.
11349         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11350         (tsd_setspecific, tsd_getspecific): Likewise.
11351         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11352         (tsd_setspecific, tsd_getspecific): Likewise.
11353         * malloc/arena.c (thread_arena): New TLS variable.
11354         (arena_key): Remove variable.
11355         (arena_get): Use thread_arena.
11356         (arena_lookup): Remove macro.
11357         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11358         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11359         (_int_new_arena, get_free_list, reused_arena)
11360         (arena_thread_freeres): Use thread_arena.
11361         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11362         tsd_getspecific, tsd_setspecific from safety annotations.
11363         (Allocating Cleared Space): Remove arena_lookup from safety
11364         annotations.
11366 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11368         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11369         struct scratch_buffer instead of extend_alloca.
11371 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11373         * sysdeps/unix/sysv/linux/kernel-features.h
11374         (__ASSUME_SOCK_CLOEXEC): Remove.
11375         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11376         (__have_paccept): Remove unused macro.
11377         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11378         * misc/syslog.c (openlog_internal): Remove fallback code for
11379         !__ASSUME_SOCK_CLOEXEC.
11380         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11381         missing SOCK_CLOEXEC.
11382         * nscd/connections.c (have_sock_cloexec): Remove definition.
11383         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11384         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11385         !__ASSUME_SOCK_CLOEXEC.
11386         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11387         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11388         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11389         definition.
11390         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11391         code for !__ASSUME_SOCK_CLOEXEC.
11393 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11395         [BZ #18982]
11396         * manual/stdio.texi (Variable Arguments Output): Add portability
11397         note, explaining that vfprintf clobbers the va_list pointer.
11399 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11401         * math/libm-test.inc (fabs_test_data): Add more tests.
11402         (fdim_test_data): Likewise.
11403         (fma_test_data): Likewise.
11404         (fmax_test_data): Likewise.
11405         (fmin_test_data): Likewise.
11406         (fmod_test_data): Likewise.
11408 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11410         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11411         data.
11413 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11415         * math/libm-test.inc (ceil_test_data): Add more tests and more
11416         expectations for "inexact".
11417         (floor_test_data): Add more tests.
11418         (round_test_data): Likewise.
11419         (trunc_test_data): Likewise.
11421         * crypt/cert.c (good_bye): Convert to prototype-style function
11422         definition.
11423         (get8): Likewise.
11424         (put8): Likewise.
11425         * crypt/crypt-entry.c (crypt): Likewise.
11426         (__fcrypt): Likewise.
11427         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11428         (_ufc_set_bits): Likewise.
11429         (_ufc_clearmem): Likewise.
11430         (__init_des_r): Likewise.
11431         (shuffle_sb): Likewise.
11432         (shuffle_sb): Likewise.
11433         (_ufc_setup_salt_r): Likewise.
11434         (_ufc_mk_keytab_r): Likewise.
11435         (_ufc_dofinalperm_r): Likewise.
11436         (encrypt): Likewise.
11437         (__setkey_r): Likewise.
11438         (setkey): Likewise.
11439         * crypt/md5.c (md5_init_ctx): Likewise.
11440         (md5_read_ctx): Likewise.
11441         (md5_finish_ctx): Likewise.
11442         (md5_stream): Likewise.
11443         (md5_buffer): Likewise.
11444         (md5_process_bytes): Likewise.
11445         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11446         (__sha256_finish_ctx): Likewise.
11447         (__sha256_process_bytes): Likewise.
11448         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11449         (__sha512_finish_ctx): Likewise.
11450         (__sha512_process_bytes): Likewise.
11451         * ctype/isctype.c (__isctype): Likewise.
11452         * debug/backtrace.c (__backtrace): Likewise.
11453         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11454         * debug/fgets_chk.c (__fgets_chk): Likewise.
11455         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11456         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11457         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11458         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11459         * debug/memset_chk.c (__memset_chk): Likewise.
11460         * debug/strcat_chk.c (__strcat_chk): Likewise.
11461         * debug/strncat_chk.c (__strncat_chk): Likewise.
11462         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11463         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11464         * dirent/dirfd.c (dirfd): Likewise.
11465         * dirent/getdents.c (__getdirentries): Likewise.
11466         * dirent/getdents64.c (getdirentries64): Likewise.
11467         * dirent/rewinddir.c (__rewinddir): Likewise.
11468         * dirent/seekdir.c (seekdir): Likewise.
11469         * dirent/telldir.c (telldir): Likewise.
11470         * elf/sln.c (makesymlinks): Likewise.
11471         (makesymlink): Likewise.
11472         * gmon/gmon.c (__moncontrol): Likewise.
11473         (__monstartup): Likewise.
11474         (write_hist): Likewise.
11475         (write_call_graph): Likewise.
11476         (write_bb_counts): Likewise.
11477         * grp/setgroups.c (setgroups): Likewise.
11478         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11479         * inet/inet_net.c (inet_network): Likewise.
11480         * inet/inet_netof.c (inet_netof): Likewise.
11481         * inet/rcmd.c (rresvport_af): Likewise.
11482         (rresvport): Likewise.
11483         * io/access.c (__access): Likewise.
11484         * io/chdir.c (__chdir): Likewise.
11485         * io/chmod.c (__chmod): Likewise.
11486         * io/chown.c (__chown): Likewise.
11487         * io/close.c (__close): Likewise.
11488         * io/creat.c (creat): Likewise.
11489         * io/creat64.c (creat64): Likewise.
11490         * io/dup.c (__dup): Likewise.
11491         * io/dup2.c (__dup2): Likewise.
11492         * io/dup3.c (__dup3): Likewise.
11493         * io/euidaccess.c (__euidaccess): Likewise.
11494         * io/faccessat.c (faccessat): Likewise.
11495         * io/fchmod.c (__fchmod): Likewise.
11496         * io/fchmodat.c (fchmodat): Likewise.
11497         * io/fchown.c (__fchown): Likewise.
11498         * io/fchownat.c (fchownat): Likewise.
11499         * io/fcntl.c (__fcntl): Likewise.
11500         * io/flock.c (__flock): Likewise.
11501         * io/fts.c (fts_load): Likewise.
11502         (fts_close): Likewise.
11503         (fts_read): Likewise.
11504         (fts_set): Likewise.
11505         (fts_children): Likewise.
11506         (fts_build): Likewise.
11507         (fts_stat): Likewise.
11508         (fts_sort): Likewise.
11509         (fts_alloc): Likewise.
11510         (fts_lfree): Likewise.
11511         (fts_palloc): Likewise.
11512         (fts_padjust): Likewise.
11513         (fts_maxarglen): Likewise.
11514         (fts_safe_changedir): Likewise.
11515         * io/getwd.c (getwd): Likewise.
11516         * io/isatty.c (__isatty): Likewise.
11517         * io/lchown.c (__lchown): Likewise.
11518         * io/link.c (__link): Likewise.
11519         * io/linkat.c (linkat): Likewise.
11520         * io/lseek.c (__libc_lseek): Likewise.
11521         * io/mkdir.c (__mkdir): Likewise.
11522         * io/mkdirat.c (mkdirat): Likewise.
11523         * io/mkfifo.c (mkfifo): Likewise.
11524         * io/mkfifoat.c (mkfifoat): Likewise.
11525         * io/open.c (__libc_open): Likewise.
11526         * io/open64.c (__libc_open64): Likewise.
11527         * io/readlink.c (__readlink): Likewise.
11528         * io/readlinkat.c (readlinkat): Likewise.
11529         * io/rmdir.c (__rmdir): Likewise.
11530         * io/symlink.c (__symlink): Likewise.
11531         * io/symlinkat.c (symlinkat): Likewise.
11532         * io/ttyname.c (ttyname): Likewise.
11533         * io/ttyname_r.c (__ttyname_r): Likewise.
11534         * io/umask.c (__umask): Likewise.
11535         * io/unlink.c (__unlink): Likewise.
11536         * io/unlinkat.c (unlinkat): Likewise.
11537         * io/utime.c (utime): Likewise.
11538         * libio/clearerr.c (clearerr): Likewise.
11539         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11540         * libio/feof.c (_IO_feof): Likewise.
11541         * libio/feof_u.c (feof_unlocked): Likewise.
11542         * libio/ferror.c (_IO_ferror): Likewise.
11543         * libio/ferror_u.c (ferror_unlocked): Likewise.
11544         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11545         * libio/fileno.c (__fileno): Likewise.
11546         * libio/fputc.c (fputc): Likewise.
11547         * libio/fputc_u.c (fputc_unlocked): Likewise.
11548         * libio/fputwc.c (fputwc): Likewise.
11549         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11550         * libio/freopen.c (freopen): Likewise.
11551         * libio/freopen64.c (freopen64): Likewise.
11552         * libio/fseek.c (fseek): Likewise.
11553         * libio/fseeko.c (fseeko): Likewise.
11554         * libio/fseeko64.c (fseeko64): Likewise.
11555         * libio/ftello.c (__ftello): Likewise.
11556         * libio/ftello64.c (ftello64): Likewise.
11557         * libio/fwide.c (fwide): Likewise.
11558         * libio/genops.c (_IO_un_link): Likewise.
11559         (_IO_link_in): Likewise.
11560         (_IO_least_marker): Likewise.
11561         (_IO_switch_to_main_get_area): Likewise.
11562         (_IO_switch_to_backup_area): Likewise.
11563         (_IO_switch_to_get_mode): Likewise.
11564         (_IO_free_backup_area): Likewise.
11565         (_IO_switch_to_put_mode): Likewise.
11566         (__overflow): Likewise.
11567         (__underflow): Likewise.
11568         (__uflow): Likewise.
11569         (_IO_setb): Likewise.
11570         (_IO_doallocbuf): Likewise.
11571         (_IO_default_underflow): Likewise.
11572         (_IO_default_uflow): Likewise.
11573         (_IO_default_xsputn): Likewise.
11574         (_IO_sgetn): Likewise.
11575         (_IO_default_xsgetn): Likewise.
11576         (_IO_sync): Likewise.
11577         (_IO_default_setbuf): Likewise.
11578         (_IO_default_seekpos): Likewise.
11579         (_IO_default_doallocate): Likewise.
11580         (_IO_init): Likewise.
11581         (_IO_old_init): Likewise.
11582         (_IO_default_sync): Likewise.
11583         (_IO_default_finish): Likewise.
11584         (_IO_default_seekoff): Likewise.
11585         (_IO_sputbackc): Likewise.
11586         (_IO_sungetc): Likewise.
11587         (_IO_set_column): Likewise.
11588         (_IO_set_column): Likewise.
11589         (_IO_adjust_column): Likewise.
11590         (_IO_get_column): Likewise.
11591         (_IO_init_marker): Likewise.
11592         (_IO_remove_marker): Likewise.
11593         (_IO_marker_difference): Likewise.
11594         (_IO_marker_delta): Likewise.
11595         (_IO_seekmark): Likewise.
11596         (_IO_unsave_markers): Likewise.
11597         (_IO_nobackup_pbackfail): Likewise.
11598         (_IO_default_pbackfail): Likewise.
11599         (_IO_default_seek): Likewise.
11600         (_IO_default_stat): Likewise.
11601         (_IO_default_read): Likewise.
11602         (_IO_default_write): Likewise.
11603         (_IO_default_showmanyc): Likewise.
11604         (_IO_default_imbue): Likewise.
11605         (_IO_iter_next): Likewise.
11606         (_IO_iter_file): Likewise.
11607         * libio/getc.c (_IO_getc): Likewise.
11608         * libio/getwc.c (_IO_getwc): Likewise.
11609         * libio/iofclose.c (_IO_new_fclose): Likewise.
11610         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11611         * libio/iofflush.c (_IO_fflush): Likewise.
11612         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11613         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11614         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11615         * libio/iofgets.c (_IO_fgets): Likewise.
11616         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11617         * libio/iofgetws.c (fgetws): Likewise.
11618         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11619         * libio/iofopen64.c (_IO_fopen64): Likewise.
11620         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11621         (_IO_cookie_write): Likewise.
11622         (_IO_cookie_seek): Likewise.
11623         (_IO_cookie_close): Likewise.
11624         (_IO_cookie_seekoff): Likewise.
11625         (_IO_old_cookie_seek): Likewise.
11626         * libio/iofputs.c (_IO_fputs): Likewise.
11627         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11628         * libio/iofputws.c (fputws): Likewise.
11629         * libio/iofputws_u.c (fputws_unlocked): Likewise.
11630         * libio/iofread.c (_IO_fread): Likewise.
11631         * libio/iofread_u.c (__fread_unlocked): Likewise.
11632         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11633         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11634         * libio/ioftell.c (_IO_ftell): Likewise.
11635         * libio/iofwrite.c (_IO_fwrite): Likewise.
11636         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11637         * libio/iogets.c (_IO_gets): Likewise.
11638         * libio/iopadn.c (_IO_padn): Likewise.
11639         * libio/iopopen.c (_IO_new_proc_open): Likewise.
11640         (_IO_new_popen): Likewise.
11641         (_IO_new_proc_close): Likewise.
11642         * libio/ioputs.c (_IO_puts): Likewise.
11643         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11644         (_IO_seekoff): Likewise.
11645         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11646         (_IO_seekpos): Likewise.
11647         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11648         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11649         * libio/ioungetc.c (_IO_ungetc): Likewise.
11650         * libio/ioungetwc.c (ungetwc): Likewise.
11651         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11652         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11653         * libio/iowpadn.c (_IO_wpadn): Likewise.
11654         * libio/libc_fatal.c (__libc_fatal): Likewise.
11655         * libio/memstream.c (__open_memstream): Likewise.
11656         (_IO_mem_sync): Likewise.
11657         (_IO_mem_finish): Likewise.
11658         * libio/oldfileops.c (_IO_old_file_init): Likewise.
11659         (_IO_old_file_close_it): Likewise.
11660         (_IO_old_file_finish): Likewise.
11661         (_IO_old_file_fopen): Likewise.
11662         (_IO_old_file_attach): Likewise.
11663         (_IO_old_file_setbuf): Likewise.
11664         (_IO_old_do_write): Likewise.
11665         (old_do_write): Likewise.
11666         (_IO_old_file_underflow): Likewise.
11667         (_IO_old_file_overflow): Likewise.
11668         (_IO_old_file_sync): Likewise.
11669         (_IO_old_file_seekoff): Likewise.
11670         (_IO_old_file_write): Likewise.
11671         (_IO_old_file_xsputn): Likewise.
11672         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11673         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11674         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11675         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11676         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11677         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11678         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11679         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11680         (_IO_old_popen): Likewise.
11681         (_IO_old_proc_close): Likewise.
11682         * libio/oldpclose.c (__old_pclose): Likewise.
11683         * libio/pclose.c (__new_pclose): Likewise.
11684         * libio/peekc.c (_IO_peekc_locked): Likewise.
11685         * libio/putc.c (_IO_putc): Likewise.
11686         * libio/putc_u.c (putc_unlocked): Likewise.
11687         * libio/putchar.c (putchar): Likewise.
11688         * libio/putchar_u.c (putchar_unlocked): Likewise.
11689         * libio/putwc.c (putwc): Likewise.
11690         * libio/putwc_u.c (putwc_unlocked): Likewise.
11691         * libio/putwchar.c (putwchar): Likewise.
11692         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11693         * libio/rewind.c (rewind): Likewise.
11694         * libio/setbuf.c (setbuf): Likewise.
11695         * libio/setlinebuf.c (setlinebuf): Likewise.
11696         * libio/vasprintf.c (_IO_vasprintf): Likewise.
11697         * libio/vscanf.c (_IO_vscanf): Likewise.
11698         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11699         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11700         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11701         * libio/wgenops.c (_IO_least_wmarker): Likewise.
11702         (_IO_switch_to_main_wget_area): Likewise.
11703         (_IO_switch_to_wbackup_area): Likewise.
11704         (_IO_wsetb): Likewise.
11705         (_IO_wdefault_pbackfail): Likewise.
11706         (_IO_wdefault_finish): Likewise.
11707         (_IO_wdefault_uflow): Likewise.
11708         (__woverflow): Likewise.
11709         (__wuflow): Likewise.
11710         (__wunderflow): Likewise.
11711         (_IO_wdefault_xsputn): Likewise.
11712         (_IO_wdefault_xsgetn): Likewise.
11713         (_IO_wdoallocbuf): Likewise.
11714         (_IO_wdefault_doallocate): Likewise.
11715         (_IO_switch_to_wget_mode): Likewise.
11716         (_IO_free_wbackup_area): Likewise.
11717         (_IO_switch_to_wput_mode): Likewise.
11718         (_IO_sputbackwc): Likewise.
11719         (_IO_sungetwc): Likewise.
11720         (_IO_adjust_wcolumn): Likewise.
11721         (_IO_init_wmarker): Likewise.
11722         (_IO_wmarker_delta): Likewise.
11723         (_IO_seekwmark): Likewise.
11724         (_IO_unsave_wmarkers): Likewise.
11725         * libio/wmemstream.c (open_wmemstream): Likewise.
11726         (_IO_wmem_sync): Likewise.
11727         (_IO_wmem_finish): Likewise.
11728         * locale/nl_langinfo.c (nl_langinfo): Likewise.
11729         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11730         * locale/programs/simple-hash.c (init_hash): Likewise.
11731         (delete_hash): Likewise.
11732         (insert_entry): Likewise.
11733         (set_entry): Likewise.
11734         (next_prime): Likewise.
11735         (is_prime): Likewise.
11736         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11737         (xmalloc): Likewise.
11738         (xrealloc): Likewise.
11739         * locale/programs/xstrdup.c (xstrdup): Likewise.
11740         * localedata/collate-test.c (xstrcoll): Likewise.
11741         * localedata/xfrm-test.c (xstrcmp): Likewise.
11742         * login/getlogin_r.c (__getlogin_r): Likewise.
11743         * login/getpt.c (__posix_openpt): Likewise.
11744         * login/login_tty.c (login_tty): Likewise.
11745         * login/setlogin.c (setlogin): Likewise.
11746         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11747         (mach_msg_destroy_port): Likewise.
11748         (mach_msg_destroy_memory): Likewise.
11749         * malloc/mcheck.c (flood): Likewise.
11750         * misc/acct.c (acct): Likewise.
11751         * misc/brk.c (__brk): Likewise.
11752         * misc/chflags.c (chflags): Likewise.
11753         * misc/chroot.c (chroot): Likewise.
11754         * misc/fchflags.c (fchflags): Likewise.
11755         * misc/fstab.c (getfsspec): Likewise.
11756         (getfsfile): Likewise.
11757         * misc/fsync.c (fsync): Likewise.
11758         * misc/ftruncate.c (__ftruncate): Likewise.
11759         * misc/ftruncate64.c (__ftruncate64): Likewise.
11760         * misc/getdomain.c (getdomainname): Likewise.
11761         (getdomainname): Likewise.
11762         * misc/gethostname.c (__gethostname): Likewise.
11763         * misc/getpass.c (getpass): Likewise.
11764         * misc/getttyent.c (skip): Likewise.
11765         (value): Likewise.
11766         * misc/gtty.c (gtty): Likewise.
11767         * misc/hsearch.c (hsearch): Likewise.
11768         (hcreate): Likewise.
11769         * misc/hsearch_r.c (__hcreate_r): Likewise.
11770         (__hdestroy_r): Likewise.
11771         * misc/ioctl.c (__ioctl): Likewise.
11772         * misc/mkdtemp.c (mkdtemp): Likewise.
11773         * misc/mkostemp.c (mkostemp): Likewise.
11774         * misc/mkostemp64.c (mkostemp64): Likewise.
11775         * misc/mkostemps.c (mkostemps): Likewise.
11776         * misc/mkostemps64.c (mkostemps64): Likewise.
11777         * misc/mkstemp.c (mkstemp): Likewise.
11778         * misc/mkstemp64.c (mkstemp64): Likewise.
11779         * misc/mkstemps.c (mkstemps): Likewise.
11780         * misc/mkstemps64.c (mkstemps64): Likewise.
11781         * misc/mktemp.c (__mktemp): Likewise.
11782         * misc/preadv.c (preadv): Likewise.
11783         * misc/preadv64.c (preadv64): Likewise.
11784         * misc/pwritev.c (pwritev): Likewise.
11785         * misc/pwritev64.c (pwritev64): Likewise.
11786         * misc/readv.c (__readv): Likewise.
11787         * misc/revoke.c (revoke): Likewise.
11788         * misc/setdomain.c (setdomainname): Likewise.
11789         * misc/setegid.c (setegid): Likewise.
11790         * misc/seteuid.c (seteuid): Likewise.
11791         * misc/sethostid.c (sethostid): Likewise.
11792         * misc/sethostname.c (sethostname): Likewise.
11793         * misc/setregid.c (__setregid): Likewise.
11794         * misc/setreuid.c (__setreuid): Likewise.
11795         * misc/sstk.c (sstk): Likewise.
11796         * misc/stty.c (stty): Likewise.
11797         * misc/syscall.c (syscall): Likewise.
11798         * misc/syslog.c (setlogmask): Likewise.
11799         * misc/truncate.c (__truncate): Likewise.
11800         * misc/truncate64.c (truncate64): Likewise.
11801         * misc/ualarm.c (ualarm): Likewise.
11802         * misc/usleep.c (usleep): Likewise.
11803         * misc/ustat.c (ustat): Likewise.
11804         * misc/writev.c (__writev): Likewise.
11805         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
11806         * nptl/old_pthread_cond_broadcast.c
11807         (__pthread_cond_broadcast_2_0): Likewise.
11808         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
11809         Likewise.
11810         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
11811         Likewise.
11812         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11813         Likewise.
11814         * nptl/pt-raise.c (raise): Likewise.
11815         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11816         Likewise.
11817         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11818         * nptl/pthread_barrierattr_destroy.c
11819         (pthread_barrierattr_destroy): Likewise.
11820         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11821         Likewise.
11822         * nptl/pthread_barrierattr_setpshared.c
11823         (pthread_barrierattr_setpshared): Likewise.
11824         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11825         Likewise.
11826         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11827         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11828         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11829         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11830         Likewise.
11831         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11832         Likewise.
11833         * nptl/pthread_condattr_getpshared.c
11834         (pthread_condattr_getpshared): Likewise.
11835         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11836         Likewise.
11837         * nptl/pthread_condattr_setpshared.c
11838         (pthread_condattr_setpshared): Likewise.
11839         * nptl/pthread_detach.c (pthread_detach): Likewise.
11840         * nptl/pthread_equal.c (__pthread_equal): Likewise.
11841         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11842         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11843         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11844         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11845         Likewise.
11846         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11847         Likewise.
11848         * nptl/pthread_mutex_getprioceiling.c
11849         (pthread_mutex_getprioceiling): Likewise.
11850         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11851         Likewise.
11852         * nptl/pthread_mutexattr_getprotocol.c
11853         (pthread_mutexattr_getprotocol): Likewise.
11854         * nptl/pthread_mutexattr_getpshared.c
11855         (pthread_mutexattr_getpshared): Likewise.
11856         * nptl/pthread_mutexattr_getrobust.c
11857         (pthread_mutexattr_getrobust): Likewise.
11858         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11859         Likewise.
11860         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11861         Likewise.
11862         * nptl/pthread_mutexattr_setprioceiling.c
11863         (pthread_mutexattr_setprioceiling): Likewise.
11864         * nptl/pthread_mutexattr_setprotocol.c
11865         (pthread_mutexattr_setprotocol): Likewise.
11866         * nptl/pthread_mutexattr_setpshared.c
11867         (pthread_mutexattr_setpshared): Likewise.
11868         * nptl/pthread_mutexattr_setrobust.c
11869         (pthread_mutexattr_setrobust): Likewise.
11870         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11871         Likewise.
11872         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11873         Likewise.
11874         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11875         Likewise.
11876         * nptl/pthread_rwlockattr_getkind_np.c
11877         (pthread_rwlockattr_getkind_np): Likewise.
11878         * nptl/pthread_rwlockattr_getpshared.c
11879         (pthread_rwlockattr_getpshared): Likewise.
11880         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11881         Likewise.
11882         * nptl/pthread_rwlockattr_setkind_np.c
11883         (pthread_rwlockattr_setkind_np): Likewise.
11884         * nptl/pthread_rwlockattr_setpshared.c
11885         (pthread_rwlockattr_setpshared): Likewise.
11886         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11887         Likewise.
11888         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11889         Likewise.
11890         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11891         Likewise.
11892         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11893         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11894         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11895         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11896         * nptl/sem_close.c (sem_close): Likewise.
11897         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11898         * nptl/sem_init.c (__old_sem_init): Likewise.
11899         * nptl/sigaction.c (__sigaction): Likewise.
11900         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11901         * posix/_exit.c (_exit): Likewise.
11902         * posix/alarm.c (alarm): Likewise.
11903         * posix/confstr.c (confstr): Likewise.
11904         * posix/fpathconf.c (__fpathconf): Likewise.
11905         * posix/getgroups.c (__getgroups): Likewise.
11906         * posix/getpgid.c (__getpgid): Likewise.
11907         * posix/group_member.c (__group_member): Likewise.
11908         * posix/pathconf.c (__pathconf): Likewise.
11909         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11910         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11911         * posix/setgid.c (__setgid): Likewise.
11912         * posix/setpgid.c (__setpgid): Likewise.
11913         * posix/setuid.c (__setuid): Likewise.
11914         * posix/sleep.c (__sleep): Likewise.
11915         * posix/sysconf.c (__sysconf): Likewise.
11916         * posix/times.c (__times): Likewise.
11917         * posix/uname.c (__uname): Likewise.
11918         * posix/waitid.c (__waitid): Likewise.
11919         * pwd/getpw.c (__getpw): Likewise.
11920         * resolv/base64.c (b64_pton): Likewise.
11921         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11922         * resolv/gethnamaddr.c (Dprintf): Likewise.
11923         (gethostbyname): Likewise.
11924         (gethostbyname2): Likewise.
11925         (gethostbyaddr): Likewise.
11926         (_sethtent): Likewise.
11927         (_gethtbyname): Likewise.
11928         (_gethtbyname2): Likewise.
11929         (_gethtbyaddr): Likewise.
11930         (map_v4v6_address): Likewise.
11931         (map_v4v6_hostent): Likewise.
11932         (addrsort): Likewise.
11933         (ht_sethostent): Likewise.
11934         (ht_gethostbyname): Likewise.
11935         (ht_gethostbyaddr): Likewise.
11936         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11937         (inet_net_ntop_ipv4): Likewise.
11938         * resolv/inet_neta.c (inet_neta): Likewise.
11939         * resolv/inet_ntop.c (inet_ntop): Likewise.
11940         (inet_ntop4): Likewise.
11941         (inet_ntop6): Likewise.
11942         * resolv/inet_pton.c (__inet_pton): Likewise.
11943         (inet_pton4): Likewise.
11944         (inet_pton6): Likewise.
11945         * resolv/res_debug.c (loc_aton): Likewise.
11946         (loc_ntoa): Likewise.
11947         * resource/getpriority.c (__getpriority): Likewise.
11948         * resource/getrusage.c (__getrusage): Likewise.
11949         * resource/nice.c (nice): Likewise.
11950         * resource/setpriority.c (__setpriority): Likewise.
11951         * resource/setrlimit64.c (setrlimit64): Likewise.
11952         * resource/vlimit.c (vlimit): Likewise.
11953         * resource/vtimes.c (vtimes): Likewise.
11954         * rt/aio_error.c (aio_error): Likewise.
11955         * rt/aio_return.c (aio_return): Likewise.
11956         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11957         * signal/kill.c (__kill): Likewise.
11958         * signal/killpg.c (killpg): Likewise.
11959         * signal/raise.c (raise): Likewise.
11960         * signal/sigaction.c (__sigaction): Likewise.
11961         * signal/sigaddset.c (sigaddset): Likewise.
11962         * signal/sigaltstack.c (sigaltstack): Likewise.
11963         * signal/sigandset.c (sigandset): Likewise.
11964         * signal/sigblock.c (__sigblock): Likewise.
11965         * signal/sigdelset.c (sigdelset): Likewise.
11966         * signal/sigempty.c (sigemptyset): Likewise.
11967         * signal/sigfillset.c (sigfillset): Likewise.
11968         * signal/sighold.c (sighold): Likewise.
11969         * signal/sigignore.c (sigignore): Likewise.
11970         * signal/sigintr.c (siginterrupt): Likewise.
11971         * signal/sigisempty.c (sigisemptyset): Likewise.
11972         * signal/sigismem.c (sigismember): Likewise.
11973         * signal/signal.c (signal): Likewise.
11974         * signal/sigorset.c (sigorset): Likewise.
11975         * signal/sigpause.c (__sigpause): Likewise.
11976         * signal/sigpending.c (sigpending): Likewise.
11977         * signal/sigprocmask.c (__sigprocmask): Likewise.
11978         * signal/sigrelse.c (sigrelse): Likewise.
11979         * signal/sigreturn.c (__sigreturn): Likewise.
11980         * signal/sigset.c (sigset): Likewise.
11981         * signal/sigsetmask.c (__sigsetmask): Likewise.
11982         * signal/sigstack.c (sigstack): Likewise.
11983         * signal/sigsuspend.c (__sigsuspend): Likewise.
11984         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
11985         * signal/sysv_signal.c (__sysv_signal): Likewise.
11986         * socket/accept.c (accept): Likewise.
11987         * socket/accept4.c (__libc_accept4): Likewise.
11988         * socket/bind.c (__bind): Likewise.
11989         * socket/connect.c (__connect): Likewise.
11990         * socket/getpeername.c (getpeername): Likewise.
11991         * socket/getsockname.c (__getsockname): Likewise.
11992         * socket/getsockopt.c (getsockopt): Likewise.
11993         * socket/listen.c (__listen): Likewise.
11994         * socket/recv.c (__recv): Likewise.
11995         * socket/recvmsg.c (__recvmsg): Likewise.
11996         * socket/send.c (__send): Likewise.
11997         * socket/sendmsg.c (__sendmsg): Likewise.
11998         * socket/shutdown.c (shutdown): Likewise.
11999         * socket/sockatmark.c (sockatmark): Likewise.
12000         * socket/socket.c (__socket): Likewise.
12001         * stdio-common/ctermid.c (ctermid): Likewise.
12002         * stdio-common/cuserid.c (cuserid): Likewise.
12003         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12004         * stdio-common/remove.c (remove): Likewise.
12005         * stdio-common/rename.c (rename): Likewise.
12006         * stdio-common/renameat.c (renameat): Likewise.
12007         * stdio-common/tempname.c (__gen_tempname): Likewise.
12008         * stdio-common/xbug.c (InitBuffer): Likewise.
12009         (AppendToBuffer): Likewise.
12010         (ReadFile): Likewise.
12011         * stdlib/a64l.c (a64l): Likewise.
12012         * stdlib/drand48_r.c (drand48_r): Likewise.
12013         * stdlib/getcontext.c (getcontext): Likewise.
12014         * stdlib/getenv.c (getenv): Likewise.
12015         * stdlib/l64a.c (l64a): Likewise.
12016         * stdlib/llabs.c (llabs): Likewise.
12017         * stdlib/lldiv.c (lldiv): Likewise.
12018         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12019         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12020         * stdlib/putenv.c (putenv): Likewise.
12021         * stdlib/random.c (__srandom): Likewise.
12022         (__initstate): Likewise.
12023         (__setstate): Likewise.
12024         * stdlib/random_r.c (__srandom_r): Likewise.
12025         (__setstate_r): Likewise.
12026         (__random_r): Likewise.
12027         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12028         * stdlib/setcontext.c (setcontext): Likewise.
12029         * stdlib/setenv.c (setenv): Likewise.
12030         (unsetenv): Likewise.
12031         * stdlib/srand48.c (srand48): Likewise.
12032         * stdlib/srand48_r.c (__srand48_r): Likewise.
12033         * stdlib/swapcontext.c (swapcontext): Likewise.
12034         * stdlib/system.c (__libc_system): Likewise.
12035         * stdlib/tst-strtod.c (expand): Likewise.
12036         * stdlib/tst-strtol.c (expand): Likewise.
12037         * stdlib/tst-strtoll.c (expand): Likewise.
12038         * streams/fattach.c (fattach): Likewise.
12039         * streams/fdetach.c (fdetach): Likewise.
12040         * streams/getmsg.c (getmsg): Likewise.
12041         * streams/isastream.c (isastream): Likewise.
12042         * string/ffs.c (__ffs): Likewise.
12043         * string/ffsll.c (ffsll): Likewise.
12044         * string/memcmp.c (memcmp_common_alignment): Likewise.
12045         (memcmp_not_common_alignment): Likewise.
12046         (MEMCMP): Likewise.
12047         * string/memcpy.c (memcpy): Likewise.
12048         * string/memmove.c (MEMMOVE): Likewise.
12049         * string/memset.c (memset): Likewise.
12050         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12051         * string/strchrnul.c (STRCHRNUL): Likewise.
12052         * string/strerror.c (strerror): Likewise.
12053         * string/strndup.c (__strndup): Likewise.
12054         * string/strverscmp.c (__strverscmp): Likewise.
12055         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12056         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12057         (clnttcp_freeres): Likewise.
12058         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12059         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12060         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12061         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12062         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12063         (xdr_callhdr): Likewise.
12064         * sunrpc/rpcinfo.c (udpping): Likewise.
12065         (tcpping): Likewise.
12066         (pstatus): Likewise.
12067         (pmapdump): Likewise.
12068         (brdcst): Likewise.
12069         (deletereg): Likewise.
12070         (getprognum): Likewise.
12071         (getvers): Likewise.
12072         (get_inet_address): Likewise.
12073         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12074         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12075         (svcudp_stat): Likewise.
12076         (svcudp_recv): Likewise.
12077         (svcudp_reply): Likewise.
12078         (svcudp_getargs): Likewise.
12079         (svcudp_freeargs): Likewise.
12080         (svcudp_destroy): Likewise.
12081         * sunrpc/xdr.c (xdr_bytes): Likewise.
12082         (xdr_netobj): Likewise.
12083         (xdr_string): Likewise.
12084         (xdr_wrapstring): Likewise.
12085         * sunrpc/xdr_float.c (xdr_float): Likewise.
12086         (xdr_double): Likewise.
12087         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12088         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12089         * sysvipc/ftok.c (ftok): Likewise.
12090         * sysvipc/msgctl.c (msgctl): Likewise.
12091         * sysvipc/msgget.c (msgget): Likewise.
12092         * sysvipc/msgrcv.c (msgrcv): Likewise.
12093         * sysvipc/msgsnd.c (msgsnd): Likewise.
12094         * sysvipc/semget.c (semget): Likewise.
12095         * sysvipc/semop.c (semop): Likewise.
12096         * sysvipc/shmat.c (shmat): Likewise.
12097         * sysvipc/shmctl.c (shmctl): Likewise.
12098         * sysvipc/shmdt.c (shmdt): Likewise.
12099         * sysvipc/shmget.c (shmget): Likewise.
12100         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12101         * termios/speed.c (cfgetospeed): Likewise.
12102         (cfgetispeed): Likewise.
12103         (cfsetospeed): Likewise.
12104         (cfsetispeed): Likewise.
12105         * termios/tcflow.c (tcflow): Likewise.
12106         * termios/tcflush.c (tcflush): Likewise.
12107         * termios/tcgetattr.c (__tcgetattr): Likewise.
12108         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12109         * termios/tcgetsid.c (tcgetsid): Likewise.
12110         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12111         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12112         * time/adjtime.c (__adjtime): Likewise.
12113         * time/dysize.c (dysize): Likewise.
12114         * time/ftime.c (ftime): Likewise.
12115         * time/getitimer.c (__getitimer): Likewise.
12116         * time/gettimeofday.c (__gettimeofday): Likewise.
12117         * time/gmtime.c (__gmtime_r): Likewise.
12118         (gmtime): Likewise.
12119         * time/localtime.c (__localtime_r): Likewise.
12120         (localtime): Likewise.
12121         * time/offtime.c (__offtime): Likewise.
12122         * time/settimeofday.c (__settimeofday): Likewise.
12123         * time/stime.c (stime): Likewise.
12124         * time/strftime_l.c (tm_diff): Likewise.
12125         (iso_week_days): Likewise.
12126         * time/strptime.c (strptime): Likewise.
12127         * time/time.c (time): Likewise.
12128         * time/timespec_get.c (timespec_get): Likewise.
12129         * time/tzset.c (tzset_internal): Likewise.
12130         (compute_change): Likewise.
12131         (__tz_compute): Likewise.
12132         * wcsmbs/btowc.c (__btowc): Likewise.
12133         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12134         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12135         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12136         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12137         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12138         * wcsmbs/wcscat.c (__wcscat): Likewise.
12139         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12140         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12141         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12142         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12143         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12144         * wcsmbs/wcslen.c (__wcslen): Likewise.
12145         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12146         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12147         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12148         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12149         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12150         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12151         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12152         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12153         * wcsmbs/wcstok.c (wcstok): Likewise.
12154         * wcsmbs/wctob.c (wctob): Likewise.
12155         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12156         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12157         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12158         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12159         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12160         * wcsmbs/wmemset.c (__wmemset): Likewise.
12161         * wctype/wcfuncs.c (__towlower): Likewise.
12162         (__towupper): Likewise.
12164         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12165         (lll_unlock_elision): Add adapt_count parameter.
12167 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12169         * sysdeps/nptl/configure.ac: Do not give errors based on the
12170         results of top-level configure tests.
12171         * sysdeps/nptl/configure: Regenerated.
12173         * configure.ac (libc_cv_Bgroup): Remove configure test.
12174         * configure: Regenerated.
12175         * config.make.in (have-Bgroup): Remove variable.
12177         * configure.ac (sizeof_long_double): Remove configure test.
12178         * configure: Regenerated.
12179         * config.make.in (sizeof-long-double): Remove variable.
12181         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12182         * configure: Regenerated.
12183         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12184         variable.
12185         (exceptions): Likewise.
12186         * sysdeps/arm/configure: Regenerated.
12187         * config.make.in (exceptions): Remove variable.
12188         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12189         $(exceptions).
12190         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12191         (CFLAGS-vdprintf_chk.c): Likewise.
12192         (CFLAGS-printf_chk.c): Likewise.
12193         (CFLAGS-fprintf_chk.c): Likewise.
12194         (CFLAGS-vprintf_chk.c): Likewise.
12195         (CFLAGS-vfprintf_chk.c): Likewise.
12196         (CFLAGS-gets_chk.c): Likewise.
12197         (CFLAGS-fgets_chk.c): Likewise.
12198         (CFLAGS-fgets_u_chk.c): Likewise.
12199         (CFLAGS-fread_chk.c): Likewise.
12200         (CFLAGS-fread_u_chk.c): Likewise.
12201         (CFLAGS-wprintf_chk.c): Likewise.
12202         (CFLAGS-fwprintf_chk.c): Likewise.
12203         (CFLAGS-vwprintf_chk.c): Likewise.
12204         (CFLAGS-vfwprintf_chk.c): Likewise.
12205         (CFLAGS-fgetws_chk.c): Likewise.
12206         (CFLAGS-fgetws_u_chk.c): Likewise.
12207         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12208         (CFLAGS-fputc.c): Likewise.
12209         (CFLAGS-fputwc.c): Likewise.
12210         (CFLAGS-freopen64.c): Likewise.
12211         (CFLAGS-freopen.c): Likewise.
12212         (CFLAGS-fseek.c): Likewise.
12213         (CFLAGS-fseeko64.c): Likewise.
12214         (CFLAGS-fseeko.c): Likewise.
12215         (CFLAGS-ftello64.c): Likewise.
12216         (CFLAGS-ftello.c): Likewise.
12217         (CFLAGS-fwide.c): Likewise.
12218         (CFLAGS-genops.c): Likewise.
12219         (CFLAGS-getc.c): Likewise.
12220         (CFLAGS-getchar.c): Likewise.
12221         (CFLAGS-getwc.c): Likewise.
12222         (CFLAGS-getwchar.c): Likewise.
12223         (CFLAGS-iofclose.c): Likewise.
12224         (CFLAGS-iofflush.c): Likewise.
12225         (CFLAGS-iofgetpos64.c): Likewise.
12226         (CFLAGS-iofgetpos.c): Likewise.
12227         (CFLAGS-iofgets.c): Likewise.
12228         (CFLAGS-iofgetws.c): Likewise.
12229         (CFLAGS-iofputs.c): Likewise.
12230         (CFLAGS-iofputws.c): Likewise.
12231         (CFLAGS-iofread.c): Likewise.
12232         (CFLAGS-iofsetpos64.c): Likewise.
12233         (CFLAGS-iofsetpos.c): Likewise.
12234         (CFLAGS-ioftell.c): Likewise.
12235         (CFLAGS-iofwrite.c): Likewise.
12236         (CFLAGS-iogetdelim.c): Likewise.
12237         (CFLAGS-iogetline.c): Likewise.
12238         (CFLAGS-iogets.c): Likewise.
12239         (CFLAGS-iogetwline.c): Likewise.
12240         (CFLAGS-ioputs.c): Likewise.
12241         (CFLAGS-ioseekoff.c): Likewise.
12242         (CFLAGS-ioseekpos.c): Likewise.
12243         (CFLAGS-iosetbuffer.c): Likewise.
12244         (CFLAGS-iosetvbuf.c): Likewise.
12245         (CFLAGS-ioungetc.c): Likewise.
12246         (CFLAGS-ioungetwc.c): Likewise.
12247         (CFLAGS-oldfileops.c): Likewise.
12248         (CFLAGS-oldiofclose.c): Likewise.
12249         (CFLAGS-oldiofgetpos64.c): Likewise.
12250         (CFLAGS-oldiofgetpos.c): Likewise.
12251         (CFLAGS-oldiofsetpos64.c): Likewise.
12252         (CFLAGS-oldiofsetpos.c): Likewise.
12253         (CFLAGS-peekc.c): Likewise.
12254         (CFLAGS-putc.c): Likewise.
12255         (CFLAGS-putchar.c): Likewise.
12256         (CFLAGS-putwc.c): Likewise.
12257         (CFLAGS-putwchar.c): Likewise.
12258         (CFLAGS-rewind.c): Likewise.
12259         (CFLAGS-wfileops.c): Likewise.
12260         (CFLAGS-wgenops.c): Likewise.
12261         (CFLAGS-oldiofopen.c): Likewise.
12262         (CFLAGS-iofopen.c): Likewise.
12263         (CFLAGS-iofopen64.c): Likewise.
12264         (CFLAGS-oldtmpfile.c): Likewise.
12265         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12266         (CFLAGS-fprintf.c): Likewise.
12267         (CFLAGS-printf.c): Likewise.
12268         (CFLAGS-vfwprintf.c): Likewise.
12269         (CFLAGS-vfscanf.c): Likewise.
12270         (CFLAGS-vfwscanf.c): Likewise.
12271         (CFLAGS-fscanf.c): Likewise.
12272         (CFLAGS-scanf.c): Likewise.
12273         (CFLAGS-isoc99_vfscanf.c): Likewise.
12274         (CFLAGS-isoc99_vscanf.c): Likewise.
12275         (CFLAGS-isoc99_fscanf.c): Likewise.
12276         (CFLAGS-isoc99_scanf.c): Likewise.
12277         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12278         (CFLAGS-isoc99_fwscanf.c): Likewise.
12279         (CFLAGS-isoc99_vwscanf.c): Likewise.
12280         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12282         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12283         after mkstemp64.
12284         * login/tst-utmp.c (do_prepare): Likewise.
12285         * rt/tst-aio.c (do_prepare): Likewise.
12286         * rt/tst-aio64.c (do_prepare): Likewise.
12288 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12290         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12291         (__lll_lock_elision): Remove adapt_count decrement...
12292         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12293         (__lll_trylock_elision): Likewise.
12294         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12295         (__lll_unlock_elision): ... to here. And utilize
12296         new adapt_count parameter.
12297         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12298         (__lll_unlock_elision): Update to include adapt_count
12299         parameter.
12300         (lll_unlock_elision): Pass pointer to adapt_count
12301         variable.
12303 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12305         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12306         Add elision adapt_count parameter to list of arguments.
12307         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12308         (lll_unlock_elision): Update with new parameter list
12309         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12310         (lll_unlock_elision): Likewise.
12311         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12312         (lll_unlock_elision): Likewise.
12314 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12316         [BZ #19122]
12317         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12318         attribute_hidden.
12320         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12321         attribute_hidden.
12322         [IS_IN (rtld)] (__strdup): Likewise.
12323         [IS_IN (rtld)] (__strerror_r): Likewise.
12324         [IS_IN (rtld)] (__strsep_g): Likewise.
12325         [IS_IN (rtld)] (memchr): Likewise.
12326         [IS_IN (rtld)] (memcmp): Likewise.
12327         [IS_IN (rtld)] (memcpy): Likewise.
12328         [IS_IN (rtld)] (memmove): Likewise.
12329         [IS_IN (rtld)] (memset): Likewise.
12330         [IS_IN (rtld)] (rawmemchr): Likewise.
12331         [IS_IN (rtld)] (stpcpy): Likewise.
12332         [IS_IN (rtld)] (strchr): Likewise.
12333         [IS_IN (rtld)] (strcmp): Likewise.
12334         [IS_IN (rtld)] (strlen): Likewise.
12335         [IS_IN (rtld)] (strnlen): Likewise.
12336         [IS_IN (rtld)] (strsep): Likewise.
12338         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12339         attribute_hidden.
12340         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12342         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12343         attribute_hidden.
12344         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12346         * include/setjmp.h (__longjmp): Add attribute_hidden.
12347         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12349         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12350         Add attribute_hidden.
12352         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12353         [IS_IN (rtld)] (__open): Likewise.
12354         [IS_IN (rtld)] (__fcntl): Likewise.
12356         * include/dirent.h (__opendirat): Add attribute_hidden.
12357         (__getdents): Likewise.
12358         (__getdents64): Likewise.
12359         (__alloc_dir): Likewise.
12360         [IS_IN (rtld)] (__closedir): Likewise.
12361         [IS_IN (rtld)] (__fdopendir): Likewise.
12362         [IS_IN (rtld)] (__readdir): Likewise.
12363         [IS_IN (rtld)] (__readdir64): Likewise.
12364         [IS_IN (rtld)] (__rewinddir): Likewise.
12366         * include/dlfcn.h (_dl_catch_error): Moved to ...
12367         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12368         attribute_hidden.
12370         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12371         (_itoa_word): Likewise.
12373         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12374         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12375         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12376         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12377         (_dl_higher_prime_number): Likewise.
12378         (_dl_debug_printf_c): Likewise.
12379         (_dl_signal_cerror): Likewise.
12380         (_dl_receive_error): Likewise.
12381         (_dl_reloc_bad_type): Likewise.
12382         (_dl_resolve_conflicts): Likewise.
12383         (_dl_check_all_versions): Likewise.
12384         (_dl_check_map_versions): Likewise.
12385         (_dl_sort_fini): Likewise.
12386         (_dl_debug_initialize): Likewise.
12387         (_dl_init_paths): Likewise.
12388         (_dl_show_auxv): Likewise.
12389         (_dl_next_ld_env_entry): Likewise.
12390         (_dl_important_hwcaps): Likewise.
12391         (_dl_load_cache_lookup): Likewise.
12392         (_dl_update_slotinfo): Likewise.
12393         (_dl_show_scope): Likewise.
12395         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12396         attribute_hidden.
12397         (_wordcopy_fwd_dest_aligned): Likewise.
12398         (_wordcopy_bwd_aligned): Likewise.
12399         (_wordcopy_bwd_dest_aligned): Likewise.
12401         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12402         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12403         Likewise.
12404         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12405         Likewise.
12406         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12408 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12410         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12411         GCC 5 requirement.
12413 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12415         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12416         test.
12417         * sysdeps/i386/configure: Regenerated.
12418         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12419         code unconditional.
12421         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12422         test.
12423         (libc_cv_asm_popsection_directive): Likewise.
12424         * configure: Regenerated.
12425         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12426         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12427         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12428         (__make_section_unallocated): Make definition unconditional.
12429         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12430         Remove conditional definition.
12431         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12432         (__make_section_unallocated): Likewise.
12434         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12435         * configure: Regenerated.
12436         * config.make.in (static-libgcc): Remove variable.
12437         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12438         $(static-libgcc).
12439         (build-module-helper): Likewise.
12441         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12442         * configure: Regenerated.
12444 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12446         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12447         (struct char_buffer): New type.
12448         (char_buffer_start, char_buffer_size, char_buffer_error)
12449         (char_buffer_rewind, char_buffer_add): New functions.
12450         (ADDW): Remove macro, replaced by the char_buffer_add function.
12451         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12452         of extend_alloca.  Make control flow more explicit.
12454 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12456         [BZ #19137]
12457         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12458         Add -fomit-frame-pointer.
12459         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12461 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12463         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12464         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12465         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12466         only if !__GNUC_PREREQ (5,0).
12467         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12468         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12469         (INTERNAL_SYSCALL_NCS): Likewise.
12470         (LOADREGS_0): New macro for GCC 5.
12471         (ASMARGS_0): Likewise.
12472         (LOADREGS_1): Likewise.
12473         (ASMARGS_1): Likewise.
12474         (LOADREGS_2): Likewise.
12475         (ASMARGS_2): Likewise.
12476         (LOADREGS_3): Likewise.
12477         (ASMARGS_3): Likewise.
12478         (LOADREGS_4): Likewise.
12479         (ASMARGS_4): Likewise.
12480         (LOADREGS_5): Likewise.
12481         (ASMARGS_5): Likewise.
12482         (LOADREGS_6): Likewise.
12483         (ASMARGS_6): Likewise.
12485 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12487         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12488         -fomit-frame-pointer.
12489         (CFLAGS-mmap64.c): Likewise.
12490         (CFLAGS-semtimedop.c): Likewise.
12491         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12492         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12493         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12494         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12496 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12498         [BZ #18928]
12499         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12500         _dl_pointer_guard member.
12501         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12502         initializer.
12503         (security_init): Always set up pointer guard.
12504         (process_envvars): Do not process LD_POINTER_GUARD.
12506 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12508         [BZ #19134]
12509         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12510         (.LC2): Likewise.
12511         (.LC3): Likewise.
12512         (__lround): Do not add 0.5 to integer or out-of-range arguments.
12514 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12516         [BZ #19129]
12517         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12518         r0 and r1.
12520 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
12522         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12524 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
12526         * include/stap-probe.h: Fix macro definition formatting.
12528 2015-10-14  Florian Weimer  <fweimer@redhat.com>
12530         [BZ #19074]
12531         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12532         load and store num_ifs.
12534 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12536         [BZ #18822]
12537         * sysdeps/unix/sysv/linux/sched_getaffinity.c
12538         (__sched_getaffinity_new): Add libc_hidden_proto and
12539         libc_hidden_def.
12541 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12543         [BZ #19007]
12544         * scripts/localplt.awk: Also allow GOT references.
12545         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12546         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12547         with "+ REL R_386_GLOB_DAT".
12548         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12549         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12551 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12553         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12554         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12555         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12556         Likewise.
12557         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12558         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12559         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12560         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12561         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12562         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12563         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12564         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12565         Likewise.
12566         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12568 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12570         [BZ #19125]
12571         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12572         <math_private.h> and <stdint.h>.
12573         (__llround): Avoid conversions to and from long long int, and
12574         subtractions, where those might raise spurious exceptions.
12575         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12576         <math_private.h> and <stdint.h>.
12577         (__llroundf): Avoid conversions to and from long long int, and
12578         subtractions, where those might raise spurious exceptions.
12580 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12582         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12583         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12584         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12585         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12586         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12587         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12588         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12589         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12590         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12591         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12592         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12593         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12594         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12595         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12596         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12597         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12598         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12599         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12600         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12601         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12602         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12603         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12604         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12605         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12606         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12607         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12608         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12609         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12610         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12611         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12612         (__xstat64_conv): Likewise.
12613         (__xstat32_conv): Likewise.
12615 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12617         * sysdeps/unix/sysv/linux/sysdep.h: New file.
12618         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12619         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12620         <sysdeps/unix/sysv/linux/sysdep.h>.
12621         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12622         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12623         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12624         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12625         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12626         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12627         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12628         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12629         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12632         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12633         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12634         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12635         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12636         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12637         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12638         (sysdep-dl-routines): Add sysdep.
12639         [$(subdir) == nptl] (libpthread-routines): Likewise.
12640         [$(subdir) == rt] (librt-routines): Likewise.
12641         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12642         PIC when branching to SYSCALL_ERROR_LABEL.
12643         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12644         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12645         <sysdeps/unix/sysv/linux/sysdep.h>.
12646         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12647         (SYSCALL_ERROR_ERRNO): Removed.
12648         (SYSCALL_ERROR_HANDLER): Changed to empty.
12649         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12650         (__syscall_error): New prototype.
12651         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12652         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12654 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12656         [BZ #19124]
12657         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12658         (_dl_runtime_resolve_avx512): Make it a hidden alias of
12659         _dl_runtime_resolve_avx.
12660         (_dl_runtime_profile_avx512): Make it a hidden alias of
12661         _dl_runtime_profile_avx.
12663 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12665         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12666         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12667         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12668         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12670         [BZ #16422]
12671         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12672         New configure test.
12673         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12674         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12675         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12676         <math_private.h> and <stdint.h>.
12677         (__llrint): Avoid conversions to long long int where those might
12678         raise spurious exceptions.
12679         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12680         <math_private.h> and <stdint.h>.
12681         (__llrintf): Avoid conversions to long long int where those might
12682         raise spurious exceptions.
12684 2015-10-12  Andreas Schwab  <schwab@suse.de>
12686         [BZ #18969]
12687         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
12688         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12689         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
12690         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12691         $(gen-locales).
12692         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
12693         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12694         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12695         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12696         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12697         $(gen-locales).
12698         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
12699         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12700         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12701         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12702         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12703         ($(objpfx)tst-ftell-active-handler.out)
12704         ($(objpfx)tst-ftell-append.out)
12705         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12706         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12707         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12708         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12709         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
12710         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12711         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12712         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12713         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12714         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12715         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12716         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12717         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12718         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12719         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12720         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12721         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12722         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12723         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
12724         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12725         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12726         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12727         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12728         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
12729         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12730         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12731         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12732         $(gen-locales).
12733         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
12734         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12735         $(gen-locales).
12736         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
12737         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12738         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12739         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12740         $(gen-locales).
12741         * libio/tst_wprintf2.c (main): Use explicit locale.
12742         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12744 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12746         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12747         __msg_sig_post.
12748         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12750 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12752         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12753         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12755         * sysdeps/arm/libm-test-ulps: Regenerated.
12757         [BZ #15470]
12758         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12760         [BZ #16399]
12761         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12762         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12763         and <fix-fp-int-convert-overflow.h>.
12764         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12765         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12766         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12767         and <fix-fp-int-convert-overflow.h>.
12768         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12769         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12770         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12771         <fix-fp-int-convert-overflow.h>.
12772         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12773         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12774         * sysdeps/ieee754/dbl-64/s_lround.c: Include
12775         <fix-fp-int-convert-overflow.h>.
12776         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12777         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12778         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12779         and <fix-fp-int-convert-overflow.h>.
12780         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12781         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12782         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12783         <limits.h> and <fix-fp-int-convert-overflow.h>.
12784         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12785         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12786         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12787         and <fix-fp-int-convert-overflow.h>.
12788         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12789         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12790         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12791         and <fix-fp-int-convert-overflow.h>.
12792         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12793         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12794         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12796 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
12798         [BZ #18589]
12799         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12800         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12801         $(gen-locales).
12803 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12804             Phil Blundell <pb@pbcl.net>
12806         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12807         * nptl/tst-cancel26.c: New file.
12808         * nptl/tst-cancel27.c: Likewise.
12810 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
12812         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12813         __ILP32__ isn't defined.
12814         (lrint): Likewise.
12815         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12816         (lrintf): Likewise.
12817         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12818         (lrintl): Likewise.
12819         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12820         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12821         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12823 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12825         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12826         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12828         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12829         file.
12830         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12831         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12833 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12835         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12836         configure test.
12837         * sysdeps/i386/configure: Regenerated.
12838         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12839         configure test.
12840         * sysdeps/x86_64/configure: Regenerated.
12841         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12842         Make code unconditional.
12844         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12845         test.
12846         * sysdeps/i386/configure: Regenerated.
12847         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12848         test.
12849         * sysdeps/x86_64/configure: Regenerated.
12850         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12851         Make code unconditional.
12852         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12853         Likewise.
12854         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12855         Likewise.
12856         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12857         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12858         code unconditional.
12859         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12860         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12861         code unconditional.
12862         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12863         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12864         code unconditional.
12865         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12866         code unconditional.
12867         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12868         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12869         code unconditional.
12870         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12871         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12872         code unconditional.
12873         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12874         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12875         code unconditional.
12876         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12877         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12878         code unconditional.
12879         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12880         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12882         [BZ #19095]
12883         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12884         mantissa to long int before shifting left.
12886 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12888         [BZ #19094]
12889         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12890         <limits.h>.
12891         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12892         when result overflows but exception would not result from cast.
12893         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12894         <limits.h>.
12895         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12896         when result overflows but exception would not result from cast.
12897         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12898         <limits.h>.
12899         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12900         when result overflows but exception would not result from cast.
12901         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12902         <limits.h>.
12903         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12904         when result overflows but exception would not result from cast.
12905         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12906         <limits.h>.
12907         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12908         when result overflows but exception would not result from cast.
12909         * math/libm-test.inc (lrint_test_data): Add more tests.
12910         (llrint_test_data): Likewise.
12912 2015-10-08  Roland McGrath  <roland@hack.frob.com>
12914         [BZ #18872]
12915         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12916         Move out from under [$(run-built-tests) = yes] conditional.
12917         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12918         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12920 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
12922         [BZ #18589]
12923         * string/Makefile (tests): Add bug-strcoll2.
12924         (LOCALES): Add cs_CZ.UTF-8.
12925         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12927         [BZ #18589]
12928         * string/bug-strcoll2.c: New file.
12929         * locale/categories.def: Revert commit
12930         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12931         * locale/langinfo.h: Likewise.
12932         * locale/localeinfo.h: Likewise.
12933         * locale/C-collate.c: Likewise.
12934         * locale/programs/ld-collate.c (collate_output): Likewise.
12935         * string/strcoll_l.c (STRDIFF): Likewise.
12936         (STRCOLL): Likewise.
12937         * wcsmbs/wcscoll_l.c: Likewise.
12939 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12941         * math/libm-test.inc (lround_test_data): Do not expect the absence
12942         of "inexact" for some tests with non-integer arguments.
12943         (llround_test_data): Likewise.
12945         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12946         test.
12947         (libc_cv_cc_sse2avx): Likewise.
12948         * sysdeps/i386/configure: Regenerated.
12949         * sysdeps/i386/i686/multiarch/Makefile
12950         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12951         [$(subdir) = math].
12952         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12953         code unconditional.
12954         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12955         Likewise.
12956         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12957         Likewise.
12958         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12959         Likewise.
12960         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12961         test.
12962         (libc_cv_cc_sse2avx): Likewise.
12963         * sysdeps/x86_64/configure: Regenerated.
12964         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12965         unconditional.
12966         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12967         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12968         unconditional.
12969         (_dl_runtime_profile)
12970         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12971         conditional code.
12972         * sysdeps/x86_64/fpu/multiarch/Makefile
12973         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12974         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12975         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12976         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12977         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12978         * sysdeps/x86_64/fpu/multiarch/e_log.c
12979         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12980         * sysdeps/x86_64/fpu/multiarch/s_atan.c
12981         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12982         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12983         Likewise.
12984         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12985         Likewise.
12986         * sysdeps/x86_64/fpu/multiarch/s_sin.c
12987         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12988         * sysdeps/x86_64/fpu/multiarch/s_tan.c
12989         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12990         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
12991         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
12992         (HAVE_SSE2AVX_SUPPORT): Likewise.
12994 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
12996         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
12997         instead of #pragma optimize.
12999 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13001         [BZ #17195]
13002         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13003         as is similarly done in systrim and _int_free already.
13005 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13007         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13009 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13011         [BZ #19088]
13012         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13013         <limits.h>.
13014         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13015         overflows but exception would not result from cast.
13016         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13017         and <limits.h>.
13018         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13019         overflows but exception would not result from cast.
13020         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13021         <limits.h>.
13022         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13023         overflows but exception would not result from cast.
13024         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13025         <limits.h>.
13026         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13027         overflows but exception would not result from cast.
13028         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13029         <limits.h>.
13030         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13031         overflows but exception would not result from cast.
13032         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13033         <limits.h>.
13034         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13035         overflows but exception would not result from cast.
13036         * math/libm-test.inc (lround_test_data): Add more tests.
13037         (llround_test_data): Likewise.
13039 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13041         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13042         (CFLAGS-ialloc.c): Ditto.
13043         (CFLAGS-scheck.c): Ditto.
13045 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13047         [BZ #19086]
13048         * manual/filesys.texi (Storage Allocation): Fix argument order for
13049         posix_fallocate64.
13051 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13053         [BZ #19085]
13054         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13055         exponent below 48 inside case for non-overflowing exponent.
13056         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13058 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13060         * iconvdata/cp737.h (from_idx): Add const.
13061         * iconvdata/cp775.h (from_idx): Likewise.
13063 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13065         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13066         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13067         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13069         [BZ #19079]
13070         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13071         file, conditioned on [!_LP64].
13072         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13073         [!_LP64] (__lround): Do not define as function or alias.
13074         [!_LP64] (lround): Likewise.
13075         [!_LP64] (__lroundl): Likewise.
13076         [!_LP64] (lroundl): Likewise.
13077         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13078         macro.
13079         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13080         Likewise.
13082 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13084         * math/libm-test.inc (lrint_test_data): Add more tests.
13085         (llrint_test_data): Likewise.
13086         (lround_test_data): Likewise.
13087         (llround_test_data): Likewise.
13089         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13090         (llrint_test_data): Add tests used for lrint.
13092         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13093         test.
13094         * sysdeps/i386/configure: Regenerated.
13095         * sysdeps/i386/i686/multiarch/Makefile
13096         [$(config-cflags-sse4) = yes]: Make code unconditional.
13097         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13098         Likewise.
13099         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13100         Likewise.
13101         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13102         test.
13103         * sysdeps/x86_64/configure: Regenerated.
13104         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13105         Make code unconditional.
13106         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13107         Likewise.
13108         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13109         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13111         * scripts/rpm2dynsym.sh: Remove file.
13113 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13115         * configure.ac (libc_cv_cxx_thread_local): Define.
13116         * configure: Regenerate.
13117         * config.make.in (have-cxx-thread_local): Define.
13118         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13119         (LDLIBS-tst-thread_local1): Define.
13120         (tests): Add tst-thread_local1.
13121         [have-cxx-thread_local != yes] (tests-unsupported): Add
13122         tst-thread_local1.
13123         * nptl/tst-thread_local1.cc: New file.
13125 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13127         [BZ #19078]
13128         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13129         (u_thres): Likewise.
13130         (__expl): Determine whether to call __kernel_standard_l based on
13131         value of result, not argument.
13133         * math/libm-test.inc (scalb_test_data): Add more expectations for
13134         the "inexact" exception.
13136         [BZ #19077]
13137         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13138         0.0L for argument 1.0L.
13140         [BZ #19076]
13141         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13142         constant 0.0L when computing infinite result.
13144 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13146         [BZ #10432]
13147         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13148         malloc_usable_size.
13150 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13152         [BZ #19018]
13153         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13154         Mangle function pointer before storing it.
13155         (__call_tls_dtors): Demangle function pointer before calling it.
13157 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13159         [BZ #19012]
13160         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13161         Clean up on failure.
13163 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13165         [BZ #19071]
13166         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13167         long int variable to store possibly incremented high part of
13168         mantissa.
13169         * math/libm-test.inc (lround_test_data): Add tests used for
13170         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13171         for tests requiring 64-bit long.  Do not condition tests on
13172         [TEST_FLOAT] unnecessarily.
13173         (llround_test_data): Add tests used for lround.  Add another
13174         expectation for the "inexact" exception.  Do not condition tests
13175         on [TEST_FLOAT] unnecessarily.
13177         [BZ #887]
13178         [BZ #19049]
13179         [BZ #19050]
13180         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13181         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13182         <fix-int-fp-convert-zero.h>.
13183         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13184         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13185         <fix-int-fp-convert-zero.h>.
13186         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13187         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13188         <fix-int-fp-convert-zero.h>.
13189         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13190         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13191         <fix-int-fp-convert-zero.h>.
13192         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13193         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13194         <fix-int-fp-convert-zero.h>.
13195         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13196         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13197         <fix-int-fp-convert-zero.h>.
13198         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13199         * sysdeps/ieee754/flt-32/s_erff.c: Include
13200         <fix-int-fp-convert-zero.h>.
13201         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13202         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13203         <fix-int-fp-convert-zero.h>.
13204         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13205         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13206         <fix-int-fp-convert-zero.h>.
13207         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13208         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13209         <fix-int-fp-convert-zero.h>.
13210         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13211         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13212         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13213         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13214         file.
13215         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13217 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13219         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13221 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13223         [BZ #19059]
13224         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13225         overflowing computation.
13226         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13227         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13228         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13229         Likewise.
13230         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13231         Likewise.
13232         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13233         Likewise.
13234         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13235         Likewise.
13236         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13237         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13238         Likewise.
13239         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13240         Likewise.
13241         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13243         * nss/rewrite_field.c (__nss_rewrite_field): Use
13244         internal_function.
13245         * nss/valid_field.c (__nss_valid_field): Likewise.
13246         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13248 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13250         [BZ #18724]
13251         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13252         (__nss_invalid_field_characters, __nss_valid_field)
13253         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13254         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13255         tst-field.c: New file.
13256         * nss/Makefile (routines): Add valid_field, rewrite_field.
13257         (tests-static): Define unconditionally.
13258         (tests): Include tests-static.
13259         [build-static-nss] (tests-static): Use append.
13260         [build-static-nss] (tests): Remove modification.
13261         * nss/getent.c (print_group): Call putgrent.  Report error.
13262         (print_gshadow): Call putsgent.  Report error.
13263         (print_passwd): Call putpwent.  Report error.
13264         (print_shadow): Call putspent.  Report error.
13265         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13266         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13267         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13268         name, password, directory, shell fields for valid syntax.  Rewrite
13269         GECOS field to match syntax.
13270         * pwd/Makefile (tests): Add tst-putpwent.
13271         * pwd/tst-putpwent.c: New file.
13272         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13273         Check grName, grpasswd, gr_mem fields for valid syntax.
13274         Change loop variable i to size_t.
13275         * grp/Makefile (tests): Add tst-putgrent.
13276         * grp/tst-putgrent.c: New file.
13277         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13278         valid syntax.
13279         * shadow/Makefile (tests): Add tst-putspent.
13280         * shadow/tst-putspent.c: New file.
13281         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13282         sg_mem fields for valid syntax.
13283         * gshadow/Makefile (tests): Add tst-putsgent.
13284         * gshadow/tst-putsgent.c: New file.
13286 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13288         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13289         assembly instructions.
13291 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13293         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13294         prefix from operands.
13296 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13298         [BZ #16347]
13299         [BZ #19046]
13300         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13301         <libc-internal.h>.
13302         (MAXLGM): Do not use diagnostic control macros.
13303         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13304         threshold for ldbl-128ibm.
13305         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13306         instead of multiplying by log then subtracting.
13307         * math/auto-libm-test-in: Add more tests of lgamma.
13308         * math/auto-libm-test-out: Regenerated.
13310         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13311         (TYPE_HEX_DIG): Likewise.
13312         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13313         precisions when printing floating-point numbers.
13314         (check_float_internal): Likewise.
13316 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13318         [BZ #16620]
13319         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13320         of log (10) rounded downward to 48 bits.
13321         (log10_low): Use corresponding low part of log (10).
13323         [BZ #19032]
13324         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13325         compute result as (x - x) / (x - x) not as 0 / 0.
13326         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13327         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13329         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13330         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13331         and expm1.
13332         * math/auto-libm-test-out: Regenerated.
13333         * math/libm-test.inc (acos_test_data): Add more tests.
13334         (asin_test_data): Likewise.
13335         (asinh_test_data): Likewise.
13336         (atan_test_data): Likewise.
13337         (atanh_test_data): Likewise.
13338         (atan2_test_data): Likewise.
13339         (cbrt_test_data): Likewise.
13340         (ceil_test_data): Likewise.
13341         (copysign_test_data): Likewise.
13342         (cos_test_data): Likewise.
13343         (cosh_test_data): Likewise.
13344         (erf_test_data): Likewise.
13345         (erfc_test_data): Likewise.
13346         (exp_test_data): Likewise.
13347         (exp10_test_data): Likewise.
13348         (exp2_test_data): Likewise.
13349         (expm1_test_data): Likewise.
13350         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13352 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13354         [BZ #19006]
13355         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13356         to ...
13357         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13358         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13359         to ...
13360         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13361         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13362         to ...
13363         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13364         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13365         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13366         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13367         to ...
13368         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13369         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13370         Moved to ...
13371         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13372         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13373         Moved to ...
13374         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13375         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13376         to ...
13377         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13378         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13379         Moved to ...
13380         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13381         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13382         to ...
13383         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13384         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13385         Removed.
13386         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13387         Likewise.
13388         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13389         Likewise.
13390         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13391         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13392         Likewise.
13393         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13394         Likewise.
13395         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13396         Likewise.
13397         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13398         Likewise.
13399         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13400         Likewise.
13401         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13402         Likewise.
13403         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13404         Likewise.
13405         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13406         Likewise.
13407         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13408         Likewise.
13409         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13410         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13411         Likewise.
13412         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13413         Likewise.
13414         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13415         Likewise.
13416         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13417         Likewise.
13418         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13419         Likewise.
13420         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13421         Replace ../i486/pthread_cond_timedwait.S with
13422         ../pthread_cond_timedwait.S.
13424 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13426         * math/libm-test.inc (acos_test_data): Refine expectations for
13427         errno and "inexact" exceptions.
13428         (acosh_test_data): Likewise.
13429         (asin_test_data): Likewise.
13430         (asinh_test_data): Likewise.
13431         (atan_test_data): Likewise.
13432         (atanh_test_data): Likewise.
13433         (atan2_test_data): Likewise.
13434         (cbrt_test_data): Likewise.
13435         (ceil_test_data): Likewise.
13436         (copysign_test_data): Likewise.
13437         (cosh_test_data): Likewise.
13438         (erf_test_data): Likewise.
13439         (erfc_test_data): Likewise.
13440         (exp_test_data): Likewise.
13441         (exp10_test_data): Likewise.
13442         (exp2_test_data): Likewise.
13443         (expm1_test_data): Likewise.
13444         (fabs_test_data): Likewise.
13445         (floor_test_data): Likewise.
13446         (fma_test_data): Likewise.
13447         (fmax_test_data): Likewise.
13448         (fmin_test_data): Likewise.
13449         (fmod_test_data): Likewise.
13450         (fpclassify_test_data): Likewise.
13451         (frexp_test_data): Likewise.
13452         (hypot_test_data): Likewise.
13453         (ilogb_test_data): Likewise.
13454         (isgreater_test_data): Likewise.
13455         (isgreaterequal_test_data): Likewise.
13456         (isinf_test_data): Likewise.
13457         (isless_test_data): Likewise.
13458         (islessequal_test_data): Likewise.
13459         (islessgreater_test_data): Likewise.
13460         (isnan_test_data): Likewise.
13461         (isnormal_test_data): Likewise.
13462         (issignaling_test_data): Likewise.
13463         (isunordered_test_data): Likewise.
13464         (j0_test_data): Likewise.
13465         (j1_test_data): Likewise.
13466         (jn_test_data): Likewise.
13467         (lgamma_test_data): Likewise.
13468         (lrint_test_data): Likewise.
13469         (llrint_test_data): Likewise.
13470         (log_test_data): Likewise.
13471         (log10_test_data): Likewise.
13472         (log1p_test_data): Likewise.
13473         (log2_test_data): Likewise.
13474         (logb_test_data): Likewise.
13475         (lround_test_data): Likewise.
13476         (llround_test_data): Likewise.
13477         (modf_test_data): Likewise.
13478         (nearbyint_test_data): Likewise.
13479         (nextafter_test_data): Likewise.
13480         (nexttoward_test_data): Likewise.
13481         (pow_test_data): Likewise.
13482         (remainder_test_data): Likewise.
13483         (remquo_test_data): Likewise.
13484         (rint_test_data): Likewise.
13485         (round_test_data): Likewise.
13486         (signbit_test_data): Likewise.
13487         (sinh_test_data): Likewise.
13488         (sqrt_test_data): Likewise.
13489         (tanh_test_data): Likewise.
13490         (tgamma_test_data): Likewise.
13491         (trunc_test_data): Likewise.
13492         (y0_test_data): Likewise.
13493         (y1_test_data): Likewise.
13494         (yn_test_data): Likewise.
13495         (significand_test_data): Likewise.
13497 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13499         * manual/filesys.texi (Storage Allocation): Document that
13500         posix_fallocate emulation fails when fd is open with O_WRONLY.
13502 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13504         [BZ #19016]
13505         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13506         allow more cases with X^2 + Y^2 >= 0.5.
13507         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13508         normal element in sum instead of special-casing based on values of
13509         arguments.
13510         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13511         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13512         -1 as normal element in sum instead of special-casing based on
13513         values of arguments.
13514         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13515         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13516         (__x2y2m1): Update comment.
13517         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
13518         as normal element in sum instead of special-casing based on values
13519         of arguments.
13520         * math/s_clog.c (__clog): Handle more cases using log1p without
13521         hypot.
13522         * math/s_clog10.c (__clog10): Likewise.
13523         * math/s_clog10f.c (__clog10f): Likewise.
13524         * math/s_clog10l.c (__clog10l): Likewise.
13525         * math/s_clogf.c (__clogf): Likewise.
13526         * math/s_clogl.c (__clogl): Likewise.
13527         * math/auto-libm-test-in: Add more tests of clog and clog10.
13528         * math/auto-libm-test-out: Regenerated.
13529         * sysdeps/i386/fpu/libm-test-ulps: Update.
13530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13532 2015-09-28  Martin Sebor  <msebor@redhat.com>
13534         [BZ #18969]
13535         * string/Makefile (LOCALES): Define.
13536         (gen-locales.mk): Include.
13537         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13538         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13539         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13540         on setlocale failure.
13542 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13544         [BZ #18985]
13545         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13546         (__strftime_internal): Likewise.
13547         * time/tst-strftime.c (do_bz18985): New test.
13548         (do_test): Call it.
13550 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13552         [BZ #18956]
13553         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13554         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13555         extracting high part.
13556         * math/auto-libm-test-in: Add another test of pow.
13557         * math/auto-libm-test-out: Regenerated.
13558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13560 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13562         [BZ #18825]
13563         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13564         New macro.
13565         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13566         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13567         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13568         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13569         DBL_NARROW_EVAL, reloading the PIC register as needed.
13570         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13571         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13572         FLT_NARROW_EVAL.  Use separate return path for case when first
13573         argument is NaN.
13574         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13575         DEFINE_LDBL_MIN.
13576         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13577         PIC register.
13578         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13579         math_check_force_underflow_nonneg.
13580         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13581         underflow for subnormal result.
13582         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13583         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13584         math_check_force_underflow_nonneg.
13585         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13586         math_check_force_underflow.
13587         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13588         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13589         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13590         DEFINE_LDBL_MIN.
13591         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13592         * math/auto-libm-test-in: Add more tests of pow.
13593         * math/auto-libm-test-out: Regenerated.
13595 2015-09-25  Florian Weimer  <fweimer@redhat.com>
13597         * nss/bug17079.c (init_test_items): Add diagnostic for
13598         inconsistent entries.
13599         (test_buffer_size): Skip inconsistent entries.
13601 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13603         [BZ #13304]
13604         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13605         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13606         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13608         [BZ #13304]
13609         * sysdeps/microblaze/s_fma.c: New file.
13610         * sysdeps/microblaze/s_fmaf.c: Likewise.
13611         * sysdeps/microblaze/sfp-machine.h: Likewise.
13613 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
13615         [BZ #17250]
13616         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13617         member.
13619 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13621         [BZ #18803]
13622         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13623         (MO): New macro.
13624         (__ieee754_hypot) [PIC]: Load PIC register.
13625         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13626         DBL_NARROW_EVAL.
13627         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13628         math_check_force_underflow_nonneg in case where result might be
13629         tiny.
13630         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13631         Likewise.
13632         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13633         Likewise.
13634         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13635         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13636         * math/auto-libm-test-in: Add more tests of hypot.
13637         * math/auto-libm-test-out: Regenerated.
13639 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
13641         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13643 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13645         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13646         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13647         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13648         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13649         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13650         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13651         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13653         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13654         LOAD_PIC_REG.
13656         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13657         (FLT_CHECK_FORCE_UFLOW): Likewise.
13658         (DBL_CHECK_FORCE_UFLOW): Likewise.
13659         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13660         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13661         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13662         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13663         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13664         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13665         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13666         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13667         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13668         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13669         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13670         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13671         (flt_min): Replace with use of DEFINE_FLT_MIN.
13672         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13673         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13674         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13675         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13676         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13677         (flt_min): Replace with use of DEFINE_FLT_MIN.
13678         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13679         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13680         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13681         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13682         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13683         (flt_min): Replace with use of DEFINE_FLT_MIN.
13684         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13685         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13686         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13687         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13688         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13689         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13690         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13691         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13692         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13693         (__atan): Use DBL_CHECK_FORCE_UFLOW.
13694         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13695         (flt_min): Replace with use of DEFINE_FLT_MIN.
13696         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13697         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13698         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13699         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
13700         main computation.
13701         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13702         (flt_min): Replace with use of DEFINE_FLT_MIN.
13703         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
13704         main computation.
13705         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13706         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13707         (MO): New macro.
13708         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13709         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13710         (flt_min): Replace with use of DEFINE_FLT_MIN.
13711         (MO): New macro.
13712         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13713         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13714         (__log1pl): Use MO.
13716         [BZ #19003]
13717         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13718         $(config-cflags-nofma).
13720 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13722         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13724 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
13726         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13727         (TWO127): Likewise.
13729         * sysdeps/generic/math_private.h (fabs_tg): New macro.
13730         (min_of_type): Likewise.
13731         (math_check_force_underflow): Likewise.
13732         (math_check_force_underflow_nonneg): Likewise.
13733         (math_check_force_underflow_complex): Likewise.
13734         * math/e_exp2l.c (__ieee754_exp2l): Use
13735         math_check_force_underflow_nonneg.
13736         * math/k_casinh.c (__kernel_casinh): Likewise.
13737         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13738         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13739         * math/s_catan.c (__catan): Use
13740         math_check_force_underflow_complex.
13741         * math/s_catanf.c (__catanf): Likewise.
13742         * math/s_catanh.c (__catanh): Likewise.
13743         * math/s_catanhf.c (__catanhf): Likewise.
13744         * math/s_catanhl.c (__catanhl): Likewise.
13745         * math/s_catanl.c (__catanl): Likewise.
13746         * math/s_ccosh.c (__ccosh): Likewise.
13747         * math/s_ccoshf.c (__ccoshf): Likewise.
13748         * math/s_ccoshl.c (__ccoshl): Likewise.
13749         * math/s_cexp.c (__cexp): Likewise.
13750         * math/s_cexpf.c (__cexpf): Likewise.
13751         * math/s_cexpl.c (__cexpl): Likewise.
13752         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13753         * math/s_clog10.c (__clog10): Likewise.
13754         * math/s_clog10f.c (__clog10f): Likewise.
13755         * math/s_clog10l.c (__clog10l): Likewise.
13756         * math/s_clogf.c (__clogf): Likewise.
13757         * math/s_clogl.c (__clogl): Likewise.
13758         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13759         * math/s_csinf.c (__csinf): Likewise.
13760         * math/s_csinh.c (__csinh): Likewise.
13761         * math/s_csinhf.c (__csinhf): Likewise.
13762         * math/s_csinhl.c (__csinhl): Likewise.
13763         * math/s_csinl.c (__csinl): Likewise.
13764         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13765         * math/s_csqrtf.c (__csqrtf): Likewise.
13766         * math/s_csqrtl.c (__csqrtl): Likewise.
13767         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13768         * math/s_ctanf.c (__ctanf): Likewise.
13769         * math/s_ctanh.c (__ctanh): Likewise.
13770         * math/s_ctanhf.c (__ctanhf): Likewise.
13771         * math/s_ctanhl.c (__ctanhl): Likewise.
13772         * math/s_ctanl.c (__ctanl): Likewise.
13773         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13774         instead of volatile.
13775         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13776         math_check_force_underflow.
13777         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13778         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13779         volatile when forcing underflow.
13780         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13781         math_check_force_underflow_nonneg.
13782         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13783         Likewise.
13784         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13785         math_check_force_underflow.
13786         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13787         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13788         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13789         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13790         math_check_force_underflow_nonneg.
13791         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13792         math_check_force_underflow.
13793         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13795         instead of volatile.
13796         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13797         math_check_force_underflow.
13798         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13799         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13800         math_check_force_underflow_nonneg.
13801         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13802         math_check_force_underflow.
13803         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13804         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13805         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
13806         math_check_force_underflow_nonneg.
13807         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13808         Likewise.
13809         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
13810         math_check_force_underflow.
13811         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13812         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13813         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13814         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13815         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13816         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13817         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13818         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13819         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13820         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13821         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13822         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13823         Likewise.
13824         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13825         math_check_force_underflow_nonneg.
13826         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13827         Likewise.
13828         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13829         math_check_force_underflow.
13830         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13831         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13832         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13833         Likewise.
13834         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13835         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13836         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13837         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13838         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13839         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13841         instead of volatile.
13842         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13843         math_check_force_underflow.
13844         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13845         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13846         math_check_force_underflow.
13847         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13848         Likewise.
13849         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13850         Use math_check_force_underflow_nonneg.
13851         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13852         math_check_force_underflow.
13853         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13854         Likewise.
13855         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13856         Likewise.
13857         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13858         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13859         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13860         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13861         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13862         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13863         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13864         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13865         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13866         math_check_force_underflow_nonneg.
13867         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13868         math_check_force_underflow.
13869         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13870         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13871         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13872         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13873         math_check_force_underflow_nonneg.
13874         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13875         math_check_force_underflow.
13876         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13877         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13878         instead of volatile.
13879         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13880         math_check_force_underflow.
13882         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13883         * stdlib/strtod_l.c: Include <math_private.h>.
13884         (overflow_value): Use math_narrow_eval.
13885         (underflow_value): Likewise.
13886         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13887         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13888         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13889         (__ieee754_gamma_r): Likewise.
13890         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13891         Likewise.
13892         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13893         Likewise.
13894         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13895         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13896         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13897         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13898         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13899         (__ieee754_gammaf_r): Likewise.
13900         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13901         Likewise.
13902         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13903         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13904         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13905         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13906         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13907         volatile.
13908         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13909         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13910         math_narrow_eval.
13911         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13912         Likewise.
13913         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13914         Likewise.
13915         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13916         Likewise.
13917         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13918         volatile.
13919         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13920         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13921         math_narrow_eval.
13922         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13923         Likewise.
13924         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13925         Likewise.
13927 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
13929         * nptl/Versions: Remove ignored symbols.
13931 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13933         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
13934         * nss/Makefile (tests): Update.
13936 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13938         * nss/bug18287.c: New file.
13939         * nss/Makefile (tests): Add bug18287.
13941 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13943         * mach/Versions (__mach_host_self_): Add symbol.
13945 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13947         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13948         vm_page_size.
13950 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13952         Really fix sysdeps/i386/fpu/s_scalbn.S build
13954         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13955         (libc: GLIBC_2_22): Remove unused version set.
13957 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13959         * config.make.in (enable-timezone-tools): New variable.
13960         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13961         (enable_timezone_tools): Export to generated files.
13962         * configure: Regenerate.
13963         * INSTALL: Regenerate.
13964         * manual/install.texi (--disable-timezone-tools): Document new flag.
13965         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13966         ifeq ($(enable-timezone-tools),yes) check.
13968 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13970         * timezone/Makefile: Revert previous change.
13972         [BZ #18980]
13973         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13974         (DEFINE_DBL_MIN): Likewise.
13975         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13976         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13977         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13978         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13979         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
13980         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13981         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13982         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
13983         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
13984         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13985         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13986         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
13987         (flt_min): Replace with use of DEFINE_FLT_MIN.
13988         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13989         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
13990         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13991         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13992         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
13993         (flt_min): Replace with use of DEFINE_FLT_MIN.
13994         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13995         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
13996         (flt_min): Replace with use of DEFINE_FLT_MIN.
13997         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13998         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
13999         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14000         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14001         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14002         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14003         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14004         (__ieee754_pow): Use DBL_NARROW_EVAL.
14005         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14006         (__ieee754_powf): Use FLT_NARROW_EVAL.
14007         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14008         (__ieee754_expf_sse2): Convert double-precision result to single
14009         precision.
14010         * sysdeps/i386/fpu/libm-test-ulps: Update.
14012 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14014         * timezone/Makefile: Ignore unused variable errors due to private.h
14015         (time_t_min) and (time_t_max).
14016         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14017         Likewise.
14019 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14021         [BZ #18981]
14022         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14023         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14024         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14025         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14026         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14027         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14028         (__scalbn): Use DBL_NARROW_EVAL.
14029         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14030         (__scalbnf): Use FLT_NARROW_EVAL.
14032 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14034         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14035         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14036         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14037         * stdio-common/printf_fp.c (___printf_fp):
14038         Use signbit to get the sign. Use isinf macro to allow inlining.
14039         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14040         * stdio-common/printf_size.c (__printf_size): Likewise.
14042 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14044         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14046 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14048         [BZ #18980]
14049         * sysdeps/generic/math_private.h: Include <float.h>.
14050         (math_narrow_eval): New macro.
14051         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14052         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14053         math_narrow_eval on overflowing return value.
14054         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14055         Likewise.
14056         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14057         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14058         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14059         Likewise.
14060         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14062 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14064         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14065         * math/Makefile: Remove isinf_ns.c.
14066         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14067         * math/multc3.c (__multc3): Likewise.
14068         * math/s_casin.c (__casin): Likewise.
14069         * math/s_casinf.c (__casinf): Likewise.
14070         * math/s_casinl.c (__casinl): Likewise.
14071         * math/s_cproj.c (__cproj): Likewise.
14072         * math/s_cprojf.c (__cprojf): Likewise.
14073         * math/s_cprojl.c (__cprofl): Likewise.
14074         * math/s_ctan.c (__ctan): Likewise.
14075         * math/s_ctanf.c (__ctanf): Likewise.
14076         * math/s_ctanh.c (__ctanh): Likewise.
14077         * math/s_ctanhf.c (__ctanhf): Likewise.
14078         * math/s_ctanhl.c (__ctanhl): Likewise.
14079         * math/s_ctanl.c (__ctanl): Likewise.
14080         * math/w_fmod.c (__fmod): Likewise.
14081         * math/w_fmodf.c (__fmodf): Likewise.
14082         * math/w_fmodl.c (_fmodl): Likewise.
14083         * math/w_remainder.c (__remainder): Likewise.
14084         * math/w_remainderf.c (__remainderf): Likewise.
14085         * math/w_remainderl.c (__remainderl): Likewise.
14086         * math/w_scalb.c (__scalb): Likewise.
14087         * math/w_scalbf.c (__scalbf): Likewise.
14088         * math/w_scalbl.c (__scalbl): Likewise.
14089         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14090         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14091         with isinf.
14092         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14093         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14094         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14095         __isinf_nsf with isinf.
14096         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14097         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14098         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14099         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14100         with isinf.
14101         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14102         __isinf_nsl with isinf.
14103         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14104         with isinf.
14105         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14106         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14107         __isinf_nsl with isinf.
14108         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14109         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14110         with isinf.
14112 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14114         * resolv/base64.c (rcsid): Remove unused static.
14115         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14116         static.  (tqpi1): Likewise.
14117         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14118         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14119         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14120         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14121         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14122         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14123         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14124         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14125         Likewise.
14127 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14129         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14130         <nptl/pthreadP.h>.
14131         (_longjmp_unwind): Use __libc_ptf_call.
14132         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14134 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14136         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14137         * sysdeps/arm/__longjmp.S: Likewise.
14139 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14141         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14142         Use __builtin_signbit.
14143         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14144         Use __builtin_signbitf.
14145         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14146         Use __builtin_signbitl.
14147         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14148         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14150 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14152         [BZ #15367]
14153         [BZ #17441]
14155         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14156         * math/math.h (fpclassify): Use __builtin_fpclassify when
14157         available.  (signbit): Use __builtin_signbit(f/l).
14158         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14159         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14160         (isinf): Use __builtin_isinf_sign.
14162 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14164         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14165         * benchtests/bench-math-inlines.c: New benchmark.
14166         * benchtests/bench-util.h: New file.
14167         * benchtests/bench-util.c: New file.
14168         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14170 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14172         * elf/tst-dlmopen1.c: Define TEST_SO.
14173         (do_test): Use TEST_SO.
14175         * elf/dl-load.c: Include libc-internal.h.
14176         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14178 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14180         [BZ #17887]
14181         * time/strptime_l.c (__strptime_internal): Make %z accept
14182         [+-]HH:MM time zones.
14184 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14186         [BZ #17886]
14187         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14188         valid time zone.
14190 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14192         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14193         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14194         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14195         (__ASSUME_FDATASYNC): Delete.
14197 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14199         * conform/linknamespace.pl: Require weak undefined symbols to be
14200         in the standard namespace.
14201         (%strong_syms): Rename to %seen_syms.
14202         (%strong_seen): Rename to %seen_where.
14204 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14206         [BZ #18970]
14207         * misc/error.c (error): Replace pthread_setcancelstate with
14208         __pthread_setcancelstate.
14209         (error_at_line): Likewise.
14210         * posix/wordexp.c (parse_comm): Likewise.
14211         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14212         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14213         (__pthread_setcancelstate): This.
14214         (pthread_setcancelstate): Add an alias.
14215         * nptl/nptl-init.c (pthread_functions): Replace
14216         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14217         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14218         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14219         hidden_proto.
14220         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14221         it with hidden_def.
14222         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14223         (pthread_setcancelstate): Renamed to ...
14224         (__pthread_setcancelstate): This.
14225         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14226         __libc_ptf_call with __pthread_setcancelstate.
14228 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14229             Andreas Schwab  <schwab@suse.de>
14231         [BZ #17118]
14232         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14233         result when imaginary part of argument is infinite using sine and
14234         cosine.
14235         * math/s_ctanf.c (__ctanf): Likewise.
14236         * math/s_ctanl.c (__ctanl): Likewise.
14237         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14238         of result when real part of argument is infinite using sine and
14239         cosine.
14240         * math/s_ctanhf.c (__ctanhf): Likewise.
14241         * math/s_ctanhl.c (__ctanhl): Likewise.
14242         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14243         (ctanh_test_data): Add more tests of ctanh.
14245 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14247         [BZ #15384]
14248         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14249         bit-mask as in subtraction.
14250         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14251         Likewise.
14252         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14253         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14254         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14256         [BZ #18951]
14257         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14258         underflow exception for small results.
14259         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14260         Likewise.
14261         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14262         Likewise.
14263         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14264         Likewise.
14265         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14266         Likewise.
14267         * math/auto-libm-test-in: Add more tests of tgamma.
14268         * math/auto-libm-test-out: Regenerated.
14270 2015-09-17  Andreas Schwab  <schwab@suse.de>
14272         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14274 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14276         [BZ #18977]
14277         * math/bits/mathcalls.h
14278         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14279         not declare.
14280         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14281         Likewise.
14282         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14283         Likewise.
14284         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14285         Likewise.
14286         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14287         Likewise.
14288         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14289         Likewise.
14290         * conform/data/math.h-data
14291         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14292         function.
14293         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14294         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14295         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14296         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14297         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14298         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14299         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14300         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14301         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14302         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14303         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14305         [BZ #6803]
14306         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14307         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14308         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14309         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14310         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14311         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14312         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14313         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14314         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14315         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14316         Likewise.
14317         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14318         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14319         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14320         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14321         long_double_symbol calls.
14322         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14323         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14324         strong alias of __ldexpl.
14325         (scalbnl): Define using long_double_symbol.
14326         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14327         Remove alias.
14328         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14329         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14330         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14331         (scalbln_test_data): Add more errno expectations.
14333 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14335         Cache the host port like we cache the task port.  This way we do not
14336         need to call the kernel just to get the port.  Furthermore, we no
14337         longer increase the reference count on every invocation of
14338         `mach_host_self'.
14340         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14341         Protect declarations against the macro expansion.
14342         * mach/mach_init.c (__mach_host_self_): New variable.
14343         (mach_init): Initialize `__mach_host_self_'.
14344         * mach/mach_init.h (__mach_host_self_): New declaration.
14345         (__mach_host_self, mach_host_self): New macros.
14346         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14347         Release reference.
14349 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14351         [BZ #4404]
14352         * po/de.po: Update from Translation Project.
14354         [BZ #16415]
14355         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14356         (__expm1l): Remove code to handle positive infinity and overflow.
14357         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14358         variable.
14359         (__expm1l): Remove code to handle positive infinity and overflow.
14361 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14362             Paul Pluzhnikov  <ppluzhnikov@google.com>
14364         [BZ #18872]
14365         * stdio-common/Makefile (tst-printf-bz18872): New test.
14366         (tst-printf-bz18872-mem.out): Likewise.
14367         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14368         * stdio-common/vfprintf.c: Fix memory leaks.
14370 2015-09-16  Andreas Schwab  <schwab@suse.de>
14372         [BZ #17244]
14373         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14374         Remove extra va_start/va_end calls.
14376         [BZ #17243]
14377         * posix/execl.c (execl): Add missing va_end.
14378         * posix/execle.c (execle): Likewise.
14379         * posix/execlp.c (execlp): Likewise.
14381 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14383         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14384         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14386 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14388         [BZ #18967]
14389         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14390         undefine around includes of <bits/mathcalls.h>.
14391         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14392         not declare function.
14393         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14394         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14395         (scalb): Likewise.
14396         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14397         not define macro.
14398         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14399         variable.
14400         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14401         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14402         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14404         [BZ #18857]
14405         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14406         return non-finite argument without doing ordered comparisons on
14407         it.
14409         [BZ #16296]
14410         * math/fenv.h (fegetround): Use __attribute_pure__.
14411         * include/fenv.h (__fegetround): Likewise.
14413         [BZ #18595]
14414         * math/s_ctan.c (__ctan): Force underflow exception for results
14415         whose real or imaginary part has small absolute value.
14416         * math/s_ctanf.c (__ctanf): Likewise.
14417         * math/s_ctanh.c (__ctanh): Likewise.
14418         * math/s_ctanhf.c (__ctanhf): Likewise.
14419         * math/s_ctanhl.c (__ctanhl): Likewise.
14420         * math/s_ctanl.c (__ctanl): Likewise.
14421         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14422         and ctanh.  Add more tests of ctan and ctanh.
14424         [BZ #15918]
14425         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14426         handling of cases where one argument is an infinity.
14428         [BZ #18875]
14429         [BZ #18966]
14430         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14431         (MO): New macro.
14432         (__ieee754_exp10): For small results, force underflow exception
14433         and remove excess range and precision from return value.
14434         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14435         (MO): New macro.
14436         (__ieee754_exp10f): For small results, force underflow exception
14437         and remove excess range and precision from return value.
14438         * math/auto-libm-test-in: Add more tests of exp10.
14439         * math/auto-libm-test-out: Regenerated.
14441 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14443         [BZ #18875]
14444         [BZ #18961]
14445         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14446         (MO): New macro.
14447         (__ieee754_exp): For small results, force underflow exception and
14448         remove excess range and precision from return value.
14449         (__exp_finite): Likewise.
14450         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14451         (MO): New macro.
14452         (__ieee754_expf): For small results, force underflow exception and
14453         remove excess range and precision from return value.
14454         (__expf_finite): Likewise.
14455         * math/auto-libm-test-in: Add more tests of exp.
14456         * math/auto-libm-test-out: Regenerated.
14458         [BZ #16521]
14459         [BZ #18875]
14460         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14461         small results.
14462         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14463         (MO): New macro.
14464         (__ieee754_exp2): For small results, force underflow exception and
14465         remove excess range and precision from return value.
14466         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14467         (MO): New macro.
14468         (__ieee754_exp2f): For small results, force underflow exception
14469         and remove excess range and precision from return value.
14470         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14471         (MO): New macro.
14472         (__ieee754_exp2l): Force underflow exception for small results.
14473         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14474         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14475         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14476         (MO): New macro.
14477         (__ieee754_exp2l): Force underflow exception for small results.
14478         * math/auto-libm-test-in: Add more tests or exp2.
14479         * math/auto-libm-test-out: Regenerated.
14481 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14483         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14485         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14486         /dev/null.
14488 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14490         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14491         io fs process)): Drop spurious backslash.
14493 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14495         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14496         Use sysinfo system call instead of parsing /proc/meminfo.
14497         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14498         Likewise.
14500 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14502         [BZ #16985]
14503         * programs/localedef.c (main): Display argv[remaining] when
14504         output_path is NULL.
14506 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14508         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14509         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14510         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14511         tanh.
14512         * math/auto-libm-test-out: Regenerated.
14513         * sysdeps/i386/fpu/libm-test-ulps: Update.
14514         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14515         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14518 2015-09-11  Roland McGrath  <roland@hack.frob.com>
14520         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14521         Use 'override' keyword to freeze the value here, preventing
14522         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14524 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14526         [BZ #14912]
14527         * sysdeps/aarch64/bits/atomic.h: Move to ...
14528         * sysdeps/aarch64/atomic-machine.h: ...here.
14529         (_AARCH64_BITS_ATOMIC_H): Rename macro to
14530         _AARCH64_ATOMIC_MACHINE_H.
14531         * sysdeps/alpha/bits/atomic.h: Move to ...
14532         * sysdeps/alpha/atomic-machine.h: ...here.
14533         * sysdeps/arm/bits/atomic.h: Move to ...
14534         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
14535         * bits/atomic.h: Move to ...
14536         * sysdeps/generic/atomic-machine.h: ...here.
14537         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14538         * sysdeps/i386/bits/atomic.h: Move to ...
14539         * sysdeps/i386/atomic-machine.h: ...here.
14540         * sysdeps/ia64/bits/atomic.h: Move to ...
14541         * sysdeps/ia64/atomic-machine.h: ...here.
14542         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14543         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14544         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14545         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14546         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14547         * sysdeps/microblaze/bits/atomic.h: Move to ...
14548         * sysdeps/microblaze/atomic-machine.h: ...here.
14549         * sysdeps/mips/bits/atomic.h: Move to ...
14550         * sysdeps/mips/atomic-machine.h: ...here.
14551         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14552         * sysdeps/powerpc/bits/atomic.h: Move to ...
14553         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14554         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14555         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14556         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14557         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14558         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14559         <atomic-machine.h> instead of <bits/atomic.h>.
14560         * sysdeps/s390/bits/atomic.h: Move to ...
14561         * sysdeps/s390/atomic-machine.h: ...here.
14562         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14563         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14564         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14565         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14566         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14567         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14568         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14569         * sysdeps/tile/bits/atomic.h: Move to ...
14570         * sysdeps/tile/atomic-machine.h: ...here.
14571         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14572         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14573         <sysdeps/tile/atomic-machine.h> instead of
14574         <sysdeps/tile/bits/atomic.h>.
14575         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14576         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14577         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14578         <sysdeps/tile/atomic-machine.h> instead of
14579         <sysdeps/tile/bits/atomic.h>.
14580         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14581         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14582         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14583         <sysdeps/arm/atomic-machine.h> instead of
14584         <sysdeps/arm/bits/atomic.h>.
14585         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14586         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14587         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14588         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14589         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14590         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14591         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14592         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14593         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14594         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14595         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14596         * sysdeps/x86_64/bits/atomic.h: Move to ...
14597         * sysdeps/x86_64/atomic-machine.h: ...here.
14598         * include/atomic.h: Include <atomic-machine.h> instead of
14599         <bits/atomic.h>.
14601         * sysdeps/mips/mips32/libm-test-ulps: Update.
14602         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14604         [BZ #18952]
14605         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14606         not convert non-integer negative arguments to int to determine the
14607         value of signgam.
14608         * math/auto-libm-test-in: Add more tests of lgamma.
14609         * math/auto-libm-test-out: Regenerated.
14611         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14612         cosh, csqrt, erfc, expm1 and lgamma.
14613         * math/auto-libm-test-out: Regenerated.
14614         * sysdeps/i386/fpu/libm-test-ulps: Update.
14615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14617 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
14619         [BZ #2542]
14620         [BZ #2543]
14621         [BZ #2558]
14622         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14623         __lgamma_neg for arguments from -28.0 to -2.0.
14624         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14625         __lgamma_negf for arguments from -15.0 to -2.0.
14626         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14627         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14628         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14629         Call __lgamma_negl for arguments from -33.0 to -2.0.
14630         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14631         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14632         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14633         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14634         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14635         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14636         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14637         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14638         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14639         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14640         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14641         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14642         (__lgamma_neg): Likewise.
14643         (__lgamma_negl): Likewise.
14644         (__lgamma_product): Likewise.
14645         (__lgamma_productl): Likewise.
14646         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14647         * math/auto-libm-test-in: Add more tests of lgamma.
14648         * math/auto-libm-test-out: Regenerated.
14649         * sysdeps/i386/fpu/libm-test-ulps: Update.
14650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14652 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
14654         [BZ #18675]
14655         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14657 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
14659         [BZ #14912]
14660         * bits/libc-lock.h: Move to ...
14661         * sysdeps/generic/libc-lock.h: ...here.
14662         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14663         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14664         * sysdeps/mach/hurd/libc-lock.h: ...here.
14665         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14666         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14667         * sysdeps/mach/bits/libc-lock.h: Move to ...
14668         * sysdeps/mach/libc-lock.h: ...here.
14669         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14670         * sysdeps/nptl/bits/libc-lock.h: Move to ...
14671         * sysdeps/nptl/libc-lock.h: ...here.
14672         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14673         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14674         * sysdeps/nptl/libc-lockP.h: ...here.
14675         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14676         * crypt/crypt_util.c: Include <libc-lock.h> instead of
14677         <bits/libc-lock.h>.
14678         * dirent/scandir-tail.c: Likewise.
14679         * dlfcn/dlerror.c: Likewise.
14680         * elf/dl-close.c: Likewise.
14681         * elf/dl-iteratephdr.c: Likewise.
14682         * elf/dl-lookup.c: Likewise.
14683         * elf/dl-open.c: Likewise.
14684         * elf/dl-support.c: Likewise.
14685         * elf/dl-writev.h: Likewise.
14686         * elf/rtld.c: Likewise.
14687         * grp/fgetgrent.c: Likewise.
14688         * gshadow/fgetsgent.c: Likewise.
14689         * gshadow/sgetsgent.c: Likewise.
14690         * iconv/gconv_conf.c: Likewise.
14691         * iconv/gconv_db.c: Likewise.
14692         * iconv/gconv_dl.c: Likewise.
14693         * iconv/gconv_int.h: Likewise.
14694         * iconv/gconv_trans.c: Likewise.
14695         * include/link.h: Likewise.
14696         * inet/getnameinfo.c: Likewise.
14697         * inet/getnetgrent.c: Likewise.
14698         * inet/getnetgrent_r.c: Likewise.
14699         * intl/bindtextdom.c: Likewise.
14700         * intl/dcigettext.c: Likewise.
14701         * intl/finddomain.c: Likewise.
14702         * intl/gettextP.h: Likewise.
14703         * intl/loadmsgcat.c: Likewise.
14704         * intl/localealias.c: Likewise.
14705         * intl/textdomain.c: Likewise.
14706         * libidn/idn-stub.c: Likewise.
14707         * libio/libioP.h: Likewise.
14708         * locale/duplocale.c: Likewise.
14709         * locale/freelocale.c: Likewise.
14710         * locale/newlocale.c: Likewise.
14711         * locale/setlocale.c: Likewise.
14712         * login/getutent_r.c: Likewise.
14713         * login/getutid_r.c: Likewise.
14714         * login/getutline_r.c: Likewise.
14715         * login/utmp-private.h: Likewise.
14716         * login/utmpname.c: Likewise.
14717         * malloc/mtrace.c: Likewise.
14718         * misc/efgcvt.c: Likewise.
14719         * misc/error.c: Likewise.
14720         * misc/fstab.c: Likewise.
14721         * misc/getpass.c: Likewise.
14722         * misc/mntent.c: Likewise.
14723         * misc/syslog.c: Likewise.
14724         * nis/nis_call.c: Likewise.
14725         * nis/nis_callback.c: Likewise.
14726         * nis/nss-default.c: Likewise.
14727         * nis/nss_compat/compat-grp.c: Likewise.
14728         * nis/nss_compat/compat-initgroups.c: Likewise.
14729         * nis/nss_compat/compat-pwd.c: Likewise.
14730         * nis/nss_compat/compat-spwd.c: Likewise.
14731         * nis/nss_nis/nis-alias.c: Likewise.
14732         * nis/nss_nis/nis-ethers.c: Likewise.
14733         * nis/nss_nis/nis-grp.c: Likewise.
14734         * nis/nss_nis/nis-hosts.c: Likewise.
14735         * nis/nss_nis/nis-network.c: Likewise.
14736         * nis/nss_nis/nis-proto.c: Likewise.
14737         * nis/nss_nis/nis-pwd.c: Likewise.
14738         * nis/nss_nis/nis-rpc.c: Likewise.
14739         * nis/nss_nis/nis-service.c: Likewise.
14740         * nis/nss_nis/nis-spwd.c: Likewise.
14741         * nis/nss_nisplus/nisplus-alias.c: Likewise.
14742         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14743         * nis/nss_nisplus/nisplus-grp.c: Likewise.
14744         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14745         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14746         * nis/nss_nisplus/nisplus-network.c: Likewise.
14747         * nis/nss_nisplus/nisplus-proto.c: Likewise.
14748         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14749         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14750         * nis/nss_nisplus/nisplus-service.c: Likewise.
14751         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14752         * nis/ypclnt.c: Likewise.
14753         * nptl/libc_pthread_init.c: Likewise.
14754         * nss/getXXbyYY.c: Likewise.
14755         * nss/getXXent.c: Likewise.
14756         * nss/getXXent_r.c: Likewise.
14757         * nss/nss_db/db-XXX.c: Likewise.
14758         * nss/nss_db/db-netgrp.c: Likewise.
14759         * nss/nss_db/nss_db.h: Likewise.
14760         * nss/nss_files/files-XXX.c: Likewise.
14761         * nss/nss_files/files-alias.c: Likewise.
14762         * nss/nsswitch.c: Likewise.
14763         * posix/regex_internal.h: Likewise.
14764         * posix/wordexp.c: Likewise.
14765         * pwd/fgetpwent.c: Likewise.
14766         * resolv/res_hconf.c: Likewise.
14767         * resolv/res_libc.c: Likewise.
14768         * shadow/fgetspent.c: Likewise.
14769         * shadow/lckpwdf.c: Likewise.
14770         * shadow/sgetspent.c: Likewise.
14771         * socket/opensock.c: Likewise.
14772         * stdio-common/reg-modifier.c: Likewise.
14773         * stdio-common/reg-printf.c: Likewise.
14774         * stdio-common/reg-type.c: Likewise.
14775         * stdio-common/vfprintf.c: Likewise.
14776         * stdio-common/vfscanf.c: Likewise.
14777         * stdlib/abort.c: Likewise.
14778         * stdlib/cxa_atexit.c: Likewise.
14779         * stdlib/fmtmsg.c: Likewise.
14780         * stdlib/random.c: Likewise.
14781         * stdlib/setenv.c: Likewise.
14782         * string/strsignal.c: Likewise.
14783         * sunrpc/auth_none.c: Likewise.
14784         * sunrpc/bindrsvprt.c: Likewise.
14785         * sunrpc/create_xid.c: Likewise.
14786         * sunrpc/key_call.c: Likewise.
14787         * sunrpc/rpc_thread.c: Likewise.
14788         * sysdeps/arm/backtrace.c: Likewise.
14789         * sysdeps/generic/ldsodefs.h: Likewise.
14790         * sysdeps/generic/stdio-lock.h: Likewise.
14791         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14792         * sysdeps/i386/backtrace.c: Likewise.
14793         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14794         * sysdeps/m68k/backtrace.c: Likewise.
14795         * sysdeps/mach/hurd/cthreads.c: Likewise.
14796         * sysdeps/mach/hurd/dirstream.h: Likewise.
14797         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14798         * sysdeps/nptl/malloc-machine.h: Likewise.
14799         * sysdeps/nptl/stdio-lock.h: Likewise.
14800         * sysdeps/posix/dirstream.h: Likewise.
14801         * sysdeps/posix/getaddrinfo.c: Likewise.
14802         * sysdeps/posix/system.c: Likewise.
14803         * sysdeps/pthread/aio_suspend.c: Likewise.
14804         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14805         * sysdeps/s390/s390-64/backtrace.c: Likewise.
14806         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14807         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14808         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
14809         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
14810         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
14811         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14812         * sysdeps/unix/sysv/linux/system.c: Likewise.
14813         * sysdeps/x86_64/backtrace.c: Likewise.
14814         * time/alt_digit.c: Likewise.
14815         * time/era.c: Likewise.
14816         * time/tzset.c: Likewise.
14817         * wcsmbs/wcsmbsload.c: Likewise.
14818         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14819         instead of <bits/libc-lock.h> in comment.
14821 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
14823         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14824         Only use .set mips2 if the current ISA is below mips2.
14825         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14826         Likewise.
14827         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14828         mips32r2 if the current ISA is below mips32r2.
14829         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14830         (TLS_IE): Updated to use the TLD_RDHWR macro.
14831         (TLS_LE): Likewise.
14832         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14833         __ASSEMBLER__ condition.
14835 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14837         Fix parallel build of before-compile targets.
14839         * sysdeps/mach/Makefile ($(patsubst
14840         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14841         mach-before-compile target.
14842         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14843         io fs process)): Move rule to dedicated hurd-before-compile target.
14845 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14847         Fix rules generating headers in hurd/ and mach/ when initial make call
14848         has subdir= explicitly set.
14850         * sysdeps/mach/Makefile ($(patsubst
14851         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14852         calling $(MAKE).
14853         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14854         io fs process)): Force subdir to hurd when calling $(MAKE).
14855         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14856         subdir to mach when calling $(MAKE).
14858 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
14860         Check sysheaders when looking for Mach and Hurd headers
14862         * sysdeps/mach/configure.ac: Add sysheaders check.
14863         * sysdeps/mach/configure: Regenerate.
14864         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14865         * sysdeps/mach/hurd/configure: Regenerate.
14867 2015-09-04  Roland McGrath  <roland@hack.frob.com>
14869         [BZ #18921]
14870         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14871         Fix inverted sense of test of 'o_directory_works' value.
14872         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14873         Bernhard Voelker <mail@bernhard-voelker.de>.
14875 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14877         [BZ #14912]
14878         * bits/linkmap.h: Move to ...
14879         * sysdeps/generic/linkmap.h: ...here.
14880         * sysdeps/aarch64/bits/linkmap.h: Move to ...
14881         * sysdeps/aarch64/linkmap.h: ...here.
14882         * sysdeps/arm/bits/linkmap.h: Move to ...
14883         * sysdeps/arm/linkmap.h: ...here.
14884         * sysdeps/hppa/bits/linkmap.h: Move to ...
14885         * sysdeps/hppa/linkmap.h: ...here.
14886         * sysdeps/ia64/bits/linkmap.h: Move to ...
14887         * sysdeps/ia64/linkmap.h: ...here.
14888         * sysdeps/mips/bits/linkmap.h: Move to ...
14889         * sysdeps/mips/linkmap.h: ...here.
14890         * sysdeps/s390/bits/linkmap.h: Move to ...
14891         * sysdeps/s390/linkmap.h: ...here.
14892         * sysdeps/sh/bits/linkmap.h: Move to ...
14893         * sysdeps/sh/linkmap.h: ...here.
14894         * sysdeps/x86/bits/linkmap.h: Move to ...
14895         * sysdeps/x86/linkmap.h: ...here.
14896         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14898 2015-09-04  Andreas Schwab  <schwab@suse.de>
14900         [BZ #18635]
14901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14902         (__makecontext): Terminate FDE before return label.
14903         (__novec_makecontext): Likewise.
14905 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14907         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14908         first member of struct sv in syscall macro.
14910 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14912         [BZ #14912]
14913         * bits/stdio-lock.h: Move to ...
14914         * sysdeps/generic/stdio-lock.h: ...here.
14915         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14916         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14917         * sysdeps/nptl/stdio-lock.h: ...here.
14918         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14919         * include/libio.h: Include <stdio-lock.h> instead of
14920         <bits/stdio-lock.h>.
14921         * sysdeps/nptl/fork.c: Likewise.
14922         * sysdeps/pthread/flockfile.c: Likewise.
14923         * sysdeps/pthread/ftrylockfile.c: Likewise.
14924         * sysdeps/pthread/funlockfile.c: Likewise.
14926         [BZ #14912]
14927         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14928         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14929         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14930         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14931         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14932         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14933         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14935 2015-09-03  Roland McGrath  <roland@hack.frob.com>
14937         * elf/Makefile (test-xfail-tst-protected1a): New variable.
14938         (test-xfail-tst-protected1b): New variable.
14940 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
14942         [BZ #14912]
14943         * bits/libc-tsd.h: Move to ...
14944         * sysdeps/generic/libc-tsd.h: ...here.
14945         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14946         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14947         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14948         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14949         * include/ctype.h: Include <libc-tsd.h> instead of
14950         <bits/libc-tsd.h>.
14951         * include/rpc/rpc.h: Likewise.
14952         * locale/localeinfo.h: Likewise.
14953         * sunrpc/rpc_thread.c: Likewise.
14954         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14955         * sysdeps/nptl/malloc-machine.h: Likewise.
14957         * Makefile (headers): Remove bits/libc-lock.h.
14958         * libio/Makefile (headers): Remove bits/stdio-lock.h.
14960         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14961         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14962         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14963         <bits/stdio-lock.h>.
14964         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14965         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14967 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14969         [BZ #18757]
14970         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14971         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14972         BZ #18757.
14974 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14976         * malloc/mtrace.pl: Filter out NULL entries.
14978 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
14980         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
14981         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
14982         macro.
14984         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
14985         (TCP_CC_INFO): Likewise.
14986         (TCP_SAVE_SYN): Likewise.
14987         (TCP_SAVED_SYN): Likewise.
14989 2015-08-31  Brett Neumeier <brett@neumeier.us>
14991         [BZ #18870]
14992         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
14994 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
14996         [BZ #18873]
14997         Fix broken overflow check in posix_fallocate
14998         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
14999         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15000         Fix parenthesization typo.
15002 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15004         [BZ #18887]
15005         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15006         tst-mntent-blank-passno.
15007         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15008         * misc/tst-mntent-blank-corrupt.c: New test.
15009         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15010         * misc/tst-mntent.c (do_test): ... here.
15012 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15014         [BZ #4404]
15015         * po/de.po: Fix SIGALRM typo.
15017 2015-08-28  James Perkins  <james@loowit.net>
15019         * time/tst-strptime2.c (tests): Replace short list of test
15020         strings for strptime %z specifier with code which exhaustively
15021         tests every combination of sign and 0 to 5 digits. Tests for
15022         rejection of invalid strings.
15024 2015-08-28  James Perkins  <james@loowit.net>
15026         [BZ #16141]
15027         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15028         calculation, removing incorrect decimal time rounding, so that
15029         all minute values result in a valid seconds value.
15030         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15031         offset range limits to UTC-99:59 through UTC+99:59 to parse
15032         current and historical use cases.
15033         * time/tst-strptime2.c (tests): Modify and add tests for the
15034         strptime %z input field descriptor, specifically conversion of
15035         minutes to seconds and validating an offset range of -9959 to
15036         +9959.
15038 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15039             Dmitry V. Levin  <ldv@altlinux.org>
15041         [BZ #18877]
15042         * posix/Makefile (tests): Add tst-mmap-offset.
15043         * posix/tst-mmap.c: New file.
15044         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15045         offset calculation for negative values.
15047 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15049         * sysdeps/i386/init-arch.h: New file.
15050         * sysdeps/i386/i586/init-arch.h: Likewise.
15051         * sysdeps/i386/i686/init-arch.h: Likewise.
15052         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15053         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15054         * sysdeps/x86/cpu-features.h (bit_I586): New.
15055         (bit_I686): Likewise.
15056         (bit_CX8): Likewise.
15057         (bit_CMOV): Likewise.
15058         (index_CX8): Likewise.
15059         (index_CMOV): Likewise.
15060         (index_I586): Likewise.
15061         (index_I686): Likewise.
15062         (reg_CX8): Likewise.
15063         (reg_CMOV): Likewise.
15064         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15065         available at compile-time.
15066         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15067         available at compile-time.
15068         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15069         (USE_I686): Likewise.
15071 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15073         * sysdeps/i386/bcopy.S: New file.
15074         * sysdeps/i386/bzero.S: Likewise.
15075         * sysdeps/i386/memcpy.S: Likewise.
15076         * sysdeps/i386/memmove.S: Likewise.
15077         * sysdeps/i386/mempcpy.S: Likewise.
15078         * sysdeps/i386/memset.S: Likewise.
15079         * sysdeps/i386/bzero.c: Removed.
15080         * sysdeps/i386/memset.c: Likewise.
15081         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15082         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15083         * sysdeps/i386/i586/memset_chk.S: Likewise.
15084         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15085         * sysdeps/i386/memcpy_chk.S: Here.
15086         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15087         * sysdeps/i386/memmove_chk.S: Here.
15088         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15089         * sysdeps/i386/mempcpy_chk.S: Likewise.
15090         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15091         * sysdeps/i386/memset_chk.S: Likewise.
15093 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15095         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15096         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15097         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15098         * soft-fp/fmadf4.c: Ditto.
15099         * soft-fp/fmatf4.c: Ditto.
15101 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15103         * sysdeps/i386/i586/Implies: Removed.
15104         * sysdeps/i386/i686/Implies: Likewise.
15106 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15108         * sysdeps/i386/i486/strlen.S: Moved to ...
15109         * sysdeps/i386/strlen.S: Here.
15111 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15113         * sysdeps/i386/i486/strcat.S: Moved to ...
15114         * sysdeps/i386/strcat.S: Here.
15116 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15118         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15119         * sysdeps/i386/pthread_spin_trylock.S: Here.
15120         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15121         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15123 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15125         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15126         * sysdeps/i386/string-inlines.c: Here.
15128 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15130         * sysdeps/i386/i486/htonl.S: Moved ...
15131         * sysdeps/i386/htonl.S: here.
15133 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15135         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15136         * sysdeps/i386/bits/atomic.h: Here.
15138 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15140         * sysdeps/i386/i486/Versions: Removed.
15142 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15144         [BZ #2898]
15145         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15146         Based on patch by Aurelien Jarno.
15148 2015-08-26  Stan Shebs  <stanshebs@google.com>
15150         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15151         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15153 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15155         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15156         * sysdeps/powerpc/dl-procinfo.c:
15157         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15158         feature so it shows when LD_SHOW_AUXV=1.
15160 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15162         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15163         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15164         definition.  ISA 2.07B no longer requires full sync.
15166 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15168         [BZ #18863]
15169         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15170         (si_call_addr): Define.
15171         (si_syscall): Define.
15172         (si_arch): Define.
15174 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15176         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15177         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15178         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15179         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15180         (__memset_zero_constant_len_parameter): New.
15181         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15182         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15183         (__memset_zero_constant_len_parameter): Don't define if
15184         __memset_chk or USE_AS_BZERO are defined.
15186         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15187         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15188         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15190         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15191         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15192         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15193         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15194         comments.
15195         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15196         -mno-mmx for $(all-rtld-routines).
15197         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15198         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15199         i386.
15201 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15203         * sysdeps/generic/unwind.h
15204         (_Unwind_Word): Use __mode__(__unwind_word__)
15205         instead of __mode__(__word__).
15206         (_Unwind_Sword): Likewise.
15208         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15209         (MAX_NEEDED_INPUT): New define.
15210         (MAX_NEEDED_OUTPUT): New define.
15212         * NEWS: New item for IBM z13 string optimizations.
15214         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15215         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15216         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15217         * sysdeps/s390/multiarch/Makefile
15218         (sysdep_routines): Add memrchr functions.
15219         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15220         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15222         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15223         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15224         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15225         * sysdeps/s390/multiarch/Makefile
15226         (sysdep_routines): Add wmemcmp functions.
15227         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15228         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15229         * benchtests/bench-wmemcmp.c: New File.
15230         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15232         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15233         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15234         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15235         * sysdeps/s390/multiarch/Makefile
15236         (sysdep_routines): Add wmemset functions.
15237         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15238         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15239         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15240         * string/test-memset.c: Add wmemset support.
15241         * wcsmbs/test-wmemset.c: New File.
15242         * wcsmbs/Makefile (strop-tests): Add wmemset.
15243         * benchtests/bench-memset.c: Add wmemset support.
15244         * benchtests/bench-wmemset.c: New File.
15245         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15247         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15248         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15249         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15250         * sysdeps/s390/multiarch/Makefile
15251         (sysdep_routines): Add memccpy functions.
15252         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15253         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15254         * string/memccpy.c: Use MEMCCPY if defined.
15256         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15257         * sysdeps/s390/multiarch/memchr.c: Likewise.
15258         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15259         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15260         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15261         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15262         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15263         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15264         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15265         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15266         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15267         and rawmemchr functions.
15268         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15269         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15270         and wmemchr.
15271         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15272         * string/test-memchr.c: Add wmemchr support.
15273         * wcsmbs/test-wmemchr.c: New File.
15274         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15275         * benchtests/bench-memchr.c: Add wmemchr support.
15276         * benchtests/bench-wmemchr.c: New File.
15277         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15279         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15280         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15281         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15282         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15283         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15284         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15285         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15286         wcscspn functions.
15287         * sysdeps/s390/multiarch/ifunc-impl-list.c
15288         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15289         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15290         * string/test-strcspn.c: Add wcscspn support.
15291         * wcsmbs/test-wcscspn.c: New File.
15292         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15293         * benchtests/bench-strcspn.c: Add wcscspn support.
15294         * benchtests/bench-wcscspn.c: New File.
15295         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15297         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15298         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15299         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15300         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15301         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15302         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15303         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15304         wcspbrk functions.
15305         * sysdeps/s390/multiarch/ifunc-impl-list.c
15306         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15307         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15308         * string/test-strpbrk.c: Add wcspbrk support.
15309         * wcsmbs/test-wcspbrk.c: New File.
15310         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15311         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15312         * benchtests/bench-wcspbrk.c: New File.
15313         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15315         * sysdeps/s390/multiarch/strspn-c.c: New File.
15316         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15317         * sysdeps/s390/multiarch/strspn.c: Likewise.
15318         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15319         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15320         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15321         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15322         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15323         wcsspn functions.
15324         * sysdeps/s390/multiarch/ifunc-impl-list.c
15325         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15326         * string/test-strspn.c: Add wcsspn support.
15327         * wcsmbs/test-wcsspn.c: New File.
15328         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15329         * benchtests/bench-strspn.c: Add wcsspn support.
15330         * benchtests/bench-wcsspn.c: New File.
15331         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15333         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15334         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15335         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15336         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15337         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15338         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15339         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15340         wcsrchr functions.
15341         * sysdeps/s390/multiarch/ifunc-impl-list.c
15342         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15343         * benchtests/bench-wcsrchr.c: New File.
15344         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15346         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15347         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15348         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15349         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15350         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15351         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15352         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15353         wcschrnul functions.
15354         * sysdeps/s390/multiarch/ifunc-impl-list.c
15355         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15356         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15357         * string/test-strchr.c: Add wcschrnul support.
15358         * wcsmbs/test-wcschrnul.c: New File.
15359         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15360         * benchtests/bench-strchr.c: Add wcschrnul support.
15361         * benchtests/bench-wcschrnul.c: New File.
15362         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15364         * sysdeps/s390/multiarch/strchr-c.c: New File.
15365         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15366         * sysdeps/s390/multiarch/strchr.c: Likewise.
15367         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15368         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15369         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15370         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15371         wcschr functions.
15372         * sysdeps/s390/multiarch/ifunc-impl-list.c
15373         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15374         * string/strchr.c (STRCHR): Define and use macro.
15375         * benchtests/bench-wcschr.c: New File.
15376         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15378         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15379         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15380         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15381         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15382         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15383         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15384         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15385         wcsncmp functions.
15386         * sysdeps/s390/multiarch/ifunc-impl-list.c
15387         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15388         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15389         * benchtests/bench-strncmp.c: Add wcsncmp support.
15390         * benchtests/bench-wcsncmp.c: New File.
15391         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15393         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15394         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15395         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15396         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15397         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15398         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15399         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15400         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15401         wcscmp functions.
15402         * sysdeps/s390/multiarch/ifunc-impl-list.c
15403         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15404         * string/strcmp.c (STRCMP): Define and use macro.
15405         * benchtests/bench-wcscmp.c: New File.
15406         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15407         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15408         instead of _HAVE_STRING_ARCH_memchr.
15410         * sysdeps/s390/multiarch/strncat-c.c: New File.
15411         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15412         * sysdeps/s390/multiarch/strncat.c: Likewise.
15413         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15414         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15415         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15416         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15417         wcsncat functions.
15418         * sysdeps/s390/multiarch/ifunc-impl-list.c
15419         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15420         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15421         * string/test-strncat.c: Add wcsncat support.
15422         * wcsmbs/test-wcsncat.c: New File.
15423         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15424         * benchtests/bench-strncat.c: Add wcsncat support.
15425         * benchtests/bench-wcsncat.c: New File.
15426         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15428         * sysdeps/s390/multiarch/strcat-c.c: New File.
15429         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15430         * sysdeps/s390/multiarch/strcat.c: Likewise.
15431         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15432         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15433         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15434         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15435         wcscat functions.
15436         * sysdeps/s390/multiarch/ifunc-impl-list.c
15437         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15438         * string/strcat.c (STRCAT): Define and use macro.
15439         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15440         * string/test-strcat.c: Add wcscat support.
15441         * wcsmbs/test-wcscat.c: New File.
15442         * wcsmbs/Makefile (strop-tests): Add wcscat.
15443         * benchtests/bench-strcat.c: Add wcscat support.
15444         * benchtests/bench-wcscat.c: New File.
15445         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15447         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15448         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15449         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15450         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15451         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15452         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15454         wcpncpy functions.
15455         * sysdeps/s390/multiarch/ifunc-impl-list.c
15456         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15457         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15458         * string/test-stpncpy.c: Add wcpncpy support.
15459         * wcsmbs/test-wcpncpy.c: New File.
15460         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15461         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15462         * benchtests/bench-wcpncpy.c: New File.
15463         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15465         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15466         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15467         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15468         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15469         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15470         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15471         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15472         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15473         wcsncpy functions.
15474         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15475         * sysdeps/s390/multiarch/ifunc-impl-list.c
15476         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15477         * string/test-strncpy.c: Add wcsncpy support.
15478         * wcsmbs/test-wcsncpy.c: New File.
15479         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15480         * benchtests/bench-strncpy.c: Add wcsncpy support.
15481         * benchtests/bench-wcsncpy.c: New File.
15482         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15484         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15485         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15486         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15487         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15488         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15489         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15490         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15491         wcpcpy functions.
15492         * string/stpcpy.c: Use STPCPY if defined.
15493         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15494         * sysdeps/s390/multiarch/ifunc-impl-list.c
15495         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15496         * string/test-stpcpy.c: Add wcpcpy support.
15497         * wcsmbs/test-wcpcpy.c: New File.
15498         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15499         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15500         * benchtests/bench-wcpcpy.c: New File.
15501         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15503         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15504         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15505         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15506         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15507         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15508         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15509         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15510         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15511         wcscpy functions.
15512         * sysdeps/s390/multiarch/ifunc-impl-list.c
15513         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15514         * benchtests/bench-wcscpy.c: New File.
15515         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15517         * sysdeps/s390/multiarch/strnlen-c.c: New File.
15518         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15519         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15520         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15521         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15522         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15523         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15524         wcsnlen functions.
15525         * sysdeps/s390/multiarch/ifunc-impl-list.c
15526         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15527         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15528         * string/test-strnlen.c: Add wcsnlen support.
15529         * wcsmbs/test-wcsnlen.c: New File.
15530         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15531         * benchtests/bench-strnlen.c: Add wcsnlen support.
15532         * benchtests/bench-wcsnlen.c: New File.
15533         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15535         * sysdeps/s390/multiarch/Makefile: New File.
15536         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15537         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15538         * sysdeps/s390/multiarch/strlen.c: Likewise.
15539         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15540         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15541         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15542         * string/strlen.c (STRLEN): Define and use macro.
15543         * sysdeps/s390/multiarch/ifunc-impl-list.c
15544         (IFUNC_VX_IMPL): New macro function.
15545         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15546         * benchtests/Makefile (wcsmbs-bench): New variable.
15547         (string-bench-all): Added wcsmbs-bench.
15548         * benchtests/bench-wcslen.c: New File.
15550         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15551         s390_vx_libc_ifunc2): New macro function.
15553         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15554         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15555         assembler support.
15556         * sysdeps/s390/configure: Regenerated.
15558         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15559         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15561         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15562         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15563         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15565         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15566         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15567         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15568         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15569         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15570         (memcmp, bcmp): Use __memcmp_default as alias source.
15571         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15572         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15573         Rename to __memcmp_default.
15574         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15575         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15576         (memcpy): Use __memcpy_default as alias source.
15577         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15578         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15579         Rename to __memcpy_default.
15580         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15581         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15582         (memset): Use __memset_default as alias source.
15583         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15584         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15585         Rename to __memset_default.
15586         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15587         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15588         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15589         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15590         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15591         (memcmp, bcmp): Use __memcmp_default as alias source.
15592         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15593         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15594         Rename to __memcmp_default.
15595         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15596         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15597         (memcpy): Use __memcpy_default as alias source.
15598         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15599         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15600         Rename to __memcpy_default.
15601         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15602         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15603         (memset): Use __memset_default as alias source.
15604         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15605         * sysdeps/s390/s390-64/memset.S (__memset_z900):
15606         Rename to __memset_default.
15607         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15608         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15610         [BZ #18610]
15611         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15612         __ieee_instruction_pointer to __unused.
15613         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15614         __ieee_instruction_pointer.
15615         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15616         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15617         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15618         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15619         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15620         Mark dxc-field as reserved.
15622 2015-08-25  Roland McGrath  <roland@hack.frob.com>
15624         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15625         if the weak reference is not null.
15627 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15629         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15631         [BZ #11214]
15632         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15634 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15636         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15637         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15638         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15639         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15640         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15641         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15642         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15643         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15644         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15645         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15646         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15647         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15648         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15649         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15650         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15651         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15652         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15653         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15655 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15657         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15658         register other than r0 for tabort, it has special meaning.
15659         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15660         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15661         transaction before starting syscall.
15663 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15665         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15667 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15669         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15671         * sysdeps/x86_64/rtld-memcmp.c: Removed.
15672         * sysdeps/x86_64/rtld-memset.S: Likewise.
15673         * sysdeps/x86_64/rtld-strchr.S: Likewise.
15674         * sysdeps/x86_64/rtld-strlen.S: Likewise.
15675         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15676         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15678         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15680 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
15682         * debug/strcpy_chk.c: Improve performance.
15683         * debug/stpcpy_chk.c: Likewise.
15684         * sysdeps/x86_64/strcpy_chk.S: Remove.
15685         * sysdeps/x86_64/stpcpy_chk.S: Remove.
15687         [BZ #18240]
15688         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15690 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15692         [BZ #15128]
15693         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15694         ifuncmain8.
15695         (modules-names): Add ifuncmod8.
15696         ($(objpfx)ifuncmain8): New rule.
15697         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15698         <cpuid.h>.
15699         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15700         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15701         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15702         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15703         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15704         * sysdeps/x86_64/dl-trampoline.h: Likewise.
15705         * sysdeps/x86_64/ifuncmain8.c: New file.
15706         * sysdeps/x86_64/ifuncmod8.c: Likewise.
15707         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15708         Removed.
15709         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15710         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15711         Change rtld_savespace_sse to __glibc_unused2.
15712         (RTLD_CHECK_FOREIGN_CALL): Removed.
15713         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15714         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15715         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15717 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15719         * sysdeps/aarch64/bzero.S (__bzero): Remove.
15721 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15723         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15724         Unconditionally set __fpcr to avoid uninialized warning.
15725         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15727 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15729         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15730         is corrupt.
15732         * malloc/arena.c (arena_get2): Drop unused argument.
15733         (arena_lock): Adjust.
15734         (arena_get_retry): Likewise.
15736 2015-08-24  Andreas Schwab  <schwab@suse.de>
15738         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15739         Don't define.
15740         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15741         (__ASSUME_IPC64): Don't undef.
15742         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15743         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15744         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15745         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15746         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15747         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15748         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15749         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15750         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15751         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15752         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15753         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15754         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15755         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15756         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15757         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15758         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15759         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15760         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15761         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15762         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15764 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
15766         * manual/Makefile (install): Only build manual when perl is available.
15768 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15770         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15771         '#undef memcpy' by '#undef memchr'.
15773 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15775         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15776         memchr not point to the internal __GI_memchr implementation.
15778 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15780         * timezone/Makefile (CFLAGS-zdump.c): Remove
15781         -Wno-strict-prototypes.
15782         (CFLAGS-zic.c): Likewise.
15783         (CFLAGS-ialloc.c): Likewise.
15784         (CFLAGS-scheck.c): Likewise.
15786         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15787         -Wno-error=undef.
15789 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15791         * i386/i686/multiarch/strcasestr-c.c: Removed.
15792         * x86_64/multiarch/strcasestr.c: Likewise.
15793         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15794         Remove strcasestr.
15796 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15798         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15800         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15801         variables for high and low parts before possibly modifying them.
15803 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15805         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
15806         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
15807         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
15808         of "multiarch/init-arch.h".
15809         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
15810         * sysdeps/x86/init-arch.h: This.
15812 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15814         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15815         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15817 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
15819         [BZ #17787]
15820         * manual/macros.texi: Add twoexp macro.
15821         * manual/filesys.texi: Fix exponents.
15822         * manual/llio.texi: Likewise.
15823         * manual/stdio.texi: Likewise.
15825 2015-08-20  Florian Weimer  <fweimer@redhat.com>
15827         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15828         incorrect use.
15830 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15832         [BZ #18370]
15833         * math/s_csqrt.c (__csqrt): Force underflow exception for results
15834         whose real or imaginary part has small absolute value.
15835         * math/s_csqrtf.c (__csqrtf): Likewise.
15836         * math/s_csqrtl.c (__csqrtl): Likewise.
15837         * math/auto-libm-test-in: Add more tests of csqrt.
15838         * math/auto-libm-test-out: Regenerated.
15839         * sysdeps/i386/fpu/libm-test-ulps: Update.
15841 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15843         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15844         __ppc_set_ppr_very_low): New functions.
15845         * manual/platform.texi: Add documentation about
15846         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15848 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
15850         * string/stpncpy.c (stpncpy): Improve performance using
15851         __strnlen/memcpy/memset.
15853 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15855         [BZ #18796]
15856         * scripts/test-installation.pl: Don't add -lmvec to build options if
15857         libmvec wasn't built.
15859 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15861         [BZ #14341]
15862         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15863         case when there is a gap between DT_REL and DT_JMPREL sections.
15864         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15865         (LDFLAGS-tst-split-dynreloc): New.
15866         (tst-split-dynreloc-ENV): Likewise.
15867         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15868         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15870 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15872         [BZ #18822]
15873         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15874         attribute_hidden.
15875         (__xstat64_conv): Likewise.
15876         (__xstat32_conv): Likewise.
15878 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15880         [BZ #18822]
15881         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15882         Don't load %ebx when calling __setcontext.  Call __setcontext
15883         with HIDDEN_JUMPTARGET.
15884         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15885         libc_hidden_def.
15887 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15889         * sysdeps/i386/i686/Makefile
15890         [$(subdir) == string] (sysdep_routines): Moved to ...
15891         * sysdeps/i386/Makefile: Here.
15892         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15893         * sysdeps/i386/cacheinfo.c: Here.
15894         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15895         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15896         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15897         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15899 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15901         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15902         __i586__ is defined.
15903         (HAS_I686): Defined to 1 if __i686__ is defined.
15905 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15907         * elf/Makefile [$(have-z-execstack) = yes]
15908         (CPPFLAGS-tst-execstack.c): New variable.
15910         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15911         conditional to [defined UTMPX || _HAVE_UT_TYPE].
15912         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15913         UTMPX || _HAVE_UT_TV].
15914         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15915         UTMPX || _HAVE_UT_TV - 0].
15917 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
15919         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15920         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15921         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15923 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15925         * sysdeps/powerpc/dl-procinfo.c:
15926         (_dl_powerpc_cap_flags): Added missing strings for some
15927         hwcap features.
15928         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15930 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
15932         Port the 0x7efe...feff pattern to GCC 6.
15933         See Steve Ellcey's bug report in:
15934         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15935         * string/memrchr.c (MEMRCHR):
15936         * string/rawmemchr.c (RAWMEMCHR):
15937         * string/strchr.c (strchr):
15938         * string/strchrnul.c (STRCHRNUL):
15939         Rewrite code to avoid issues with signed shift overflow.
15941 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
15943         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15944         whether cpuid is available only if HAS_CPUID is 0.
15945         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15946         (HAS_I586): Likewise.
15947         (HAS_I686): Likewise.
15949 2015-08-18  Zack Weinberg  <zackw@panix.com>
15951         * misc/Versions (libc): Add GLIBC_2.23.
15953 2015-08-18  Alan Modra  <amodra@gmail.com>
15955         [BZ #18421]
15956         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15957         .Lp__global.
15958         (_start): Load %dp via .Lp__global.
15959         [!SHARED]: Use .section .rodata.
15961 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15963         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15964         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15966 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15968         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15969         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15971 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15973         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15974         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
15976 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15978         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
15979         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
15981 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15983         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
15984         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
15986 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15988         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
15989         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
15991 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15993         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
15995 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15997         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
15998         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
15999         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16000         (__ASSUME_LWS_CAS): Delete.
16002 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16004         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16005         * sysdeps/hppa/configure: Regenerated.
16006         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16007         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16008         * sysdeps/hppa/nptl/tls.h: Likewise.
16010 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16012         [BZ #18823]
16013         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16014         for scaling up small arguments.
16015         * math/s_csqrtf.c (__csqrtf): Likewise.
16016         * math/s_csqrtl.c (__csqrtl): Likewise.
16017         * math/auto-libm-test-in: Add more tests of csqrt.
16018         * math/auto-libm-test-out: Regenerated.
16020 2015-08-17  Andreas Schwab  <schwab@suse.de>
16022         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16023         version set GLIBC_2.19.
16025 2015-08-16  Zack Weinberg  <zackw@panix.com>
16027         [BZ #18681]
16028         * misc/regexp.h: This interface is no longer supported.
16029         Remove all contents, leaving only an #error directive.
16030         * misc/regexp.c (loc1, loc2, locs, step, advance):
16031         Demote to compatibility symbols.
16033 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16035         [BZ #18084]
16036         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16037         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16038         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16039         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16040         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16041         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16042         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16043         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16044         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16046 2015-08-15  Zack Weinberg  <zackw@panix.com>
16048         [BZ #18795]
16049         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16050         buffer length is known to be too large, not if it's known to be
16051         small enough.
16052         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16053         overflow at runtime, involving a length parameter, twice: once
16054         with a compile-time constant length parameter, once without.
16056 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16058         [BZ #18824]
16059         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16060         scaling x * y up instead of down.
16061         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16062         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16063         * math/auto-libm-test-in: Add more tests of fma.
16064         * math/auto-libm-test-out: Regenerated.
16066 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16068         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16070 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16072         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16073         unnecessary movq.
16074         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16075         Likewise.
16077 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16079         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16080         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16081         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16082         and tgamma.
16083         * math/auto-libm-test-out: Regenerated.
16084         * sysdeps/i386/fpu/libm-test-ulps: Update.
16085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16087         [BZ #16520]
16088         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16089         (__tanh): Force underflow exception for arguments with small
16090         absolute value.
16091         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16092         (__tanhf): Force underflow exception for arguments with small
16093         absolute value.
16094         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16095         (__tanhl): Force underflow exception for arguments with small
16096         absolute value.
16097         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16098         (__tanhl): Force underflow exception for arguments with small
16099         absolute value.
16100         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16101         (__tanhl): Force underflow exception for arguments with small
16102         absolute value.
16103         * math/auto-libm-test-in: Add more tests of tanh.
16104         * math/auto-libm-test-out: Regenerated.
16105         * sysdeps/i386/fpu/libm-test-ulps: Update.
16107 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16109         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16110         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16112 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16114         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16115         <cpuid.h>.
16117 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16119         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16120         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16122 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16124         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16125         Remove $(objpfx)init-arch.o.
16126         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16127         init-arch.
16128         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16129         (INIT_ARCH_EXT): Defined as empty.
16130         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16131         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16132         __init_cpu_features call.  Replace HAS_XXX with
16133         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16134         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16135         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16136         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16137         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16138         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16139         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16140         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16141         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16142         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16143         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16144         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16145         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16146         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16147         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16148         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16149         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16150         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16151         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16152         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16153         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16154         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16155         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16156         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16157         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16158         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16159         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16160         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16161         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16162         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16163         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16164         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16165         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16166         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16167         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16168         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16170 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16172         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16173         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16174         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16175         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16176         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16177         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16178         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16179         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16180         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16181         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16182         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16183         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16184         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16185         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16186         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16187         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16188         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16189         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16190         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16191         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16192         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16193         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16194         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16195         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16196         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16197         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16198         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16199         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16200         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16201         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16202         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16203         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16204         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16205         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16206         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16207         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16208         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16209         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16210         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16211         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16212         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16213         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16214         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16216 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16218         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16219         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16220         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16221         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16222         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16223         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16224         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16225         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16226         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16227         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16228         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16229         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16230         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16231         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16232         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16233         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16234         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16235         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16236         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16237         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16239         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16240         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16241         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16242         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16243         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16244         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16245         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16246         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16247         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16248         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16249         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16250         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16251         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16252         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16253         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16254         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16255         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16256         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16257         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16258         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16259         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16260         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16262 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16264         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16265         (dl_platform_init): Call init_cpu_features.
16266         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16267         * sysdeps/i386/i686/cacheinfo.c
16268         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16269         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16270         * sysdeps/i386/i686/multiarch/Versions: Removed.
16271         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16272         Removed.
16273         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16274         * sysdeps/unix/sysv/linux/x86/Makefile
16275         (libpthread-sysdep_routines): Remove init-arch.
16276         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16277         <sysdeps/x86_64/dl-procinfo.c> instead of
16278         sysdeps/generic/dl-procinfo.c>.
16279         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16280         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16281         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16282         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16283         [$(subdir) == elf] (tests-static): Add
16284         tst-get-cpu-features-static.
16285         * sysdeps/x86/Versions: New file.
16286         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16287         * sysdeps/x86/cpu-features.c: Likewise.
16288         * sysdeps/x86/cpu-features.h: Likewise.
16289         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16290         * sysdeps/x86/libc-start.c: Likewise.
16291         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16292         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16293         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16294         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16295         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16296         Assume USE_MULTIARCH is defined and don't check it.
16297         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16298         (is_amd): Likewise.
16299         (max_cpuid): Likewise.
16300         (intel_check_word): Likewise.
16301         (__cache_sysconf): Don't call __init_cpu_features.
16302         (__x86_preferred_memory_instruction): Removed.
16303         (init_cacheinfo): Don't call __init_cpu_features. Replace
16304         __cpu_features with GLRO(dl_x86_cpu_features).
16305         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16306         (dl_platform_init): Call init_cpu_features.
16307         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16308         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16309         * sysdeps/x86_64/multiarch/Versions: Removed.
16310         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16311         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16312         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16313         Removed.
16314         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16316 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16318         [BZ #18820]
16319         * libio/Makefile (test-fmemopen-mem): New test.
16320         * libio/test-fmemopen.c (do_bz18820): New test.
16321         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16322         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16324 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16326         [BZ #16734]
16327         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16328         (FREE_BUF): Delete.
16329         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16330         * libio/genops.c (_IO_setb): Use malloc and free directly.
16331         (_IO_default_doallocate, _IO_default_finish): Likewise.
16332         ( _IO_unbuffer_all): Likewise.
16333         ( libc_freeres_fn): Likewise.
16334         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16335         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16336         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16337         (_IO_wdefault_doallocate): Likewise.
16339 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16341         [BZ #18086]
16342         * sysdeps/posix/nice.c (nice): Restore old errno.
16343         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16345 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16347         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16349 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16351         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16352         __bcopy and add a weak_alias to bcopy.
16353         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16354         for static build.
16356         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16357         cleanup macro usage.
16358         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16359         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16360         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16361         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16362         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16363         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16364         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16365         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16366         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16367         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16368         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16369         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16370         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16371         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16372         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16373         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16374         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16375         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16376         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16378         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16379         libc_hidden_def.
16380         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16382         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16383         (sysdep_routines): Add strstr-ppc64.
16384         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16386 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16388         [BZ #18778]
16389         * elf/Makefile (tests): Add Add tst-nodelete2.
16390         (modules-names): Add tst-nodelete2mod.
16391         (tst-nodelete2mod.so-no-z-defs): New.
16392         ($(objpfx)tst-nodelete2): Likewise.
16393         ($(objpfx)tst-nodelete2.out): Likewise.
16394         (LDFLAGS-tst-nodelete2): Likewise.
16395         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16396         out of loop through all loaded libraries.
16397         * elf/tst-nodelete2.c: New file.
16398         * elf/tst-nodelete2mod.c: Likewise.
16399         * elf/tst-znodelete-zlib.cc: Delete.
16401 2015-08-11  Andreas Schwab  <schwab@suse.de>
16403         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16404         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16405         (__openat64_nocancel): Likewise.
16407 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16409         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16410         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16411         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16412         * math/auto-libm-test-out: Regenerated.
16413         * sysdeps/i386/fpu/libm-test-ulps: Update.
16414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16416 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16418         [BZ #18790]
16419         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16420         threshold for returning +/- 1.
16421         * math/auto-libm-test-in: Add more tests of tanh.
16422         * math/auto-libm-test-out: Regenerated.
16423         * sysdeps/i386/fpu/libm-test-ulps: Update.
16425 2015-08-10  Andreas Schwab  <schwab@suse.de>
16427         [BZ #18781]
16428         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16429         MORE_OFLAGS to oflag.
16430         * io/test-lfs.c (do_test): Test openat64.
16432 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16434         [BZ #18789]
16435         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16436         smaller threshold for returning the argument.
16437         * math/auto-libm-test-in: Add more tests of sinh.
16438         * math/auto-libm-test-out: Regenerated.
16439         * sysdeps/i386/fpu/libm-test-ulps: Update.
16441 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16443         [BZ #18674]
16444         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16445         break.
16447 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16449         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16450         (generated): Don't add $(addprefix z.,$(tzfiles)).
16452 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16454         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16455         * scripts/sysd-rules.awk: Likewise.
16457 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16459         * iconvdata/tst-tables.sh: Change echo -n to printf.
16460         * nss/db-Makefile: Likewise.
16461         * posix/tst-getconf.sh: Likewise.
16462         * stdio-common/tst-unbputc.sh: Likewise.
16464 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16466         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16467         MADV_*_PAGES defines behind this feature check.
16469 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16471         [BZ #18480]
16472         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16473         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16474         Define.
16475         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16476         LOAD_REGS_5, LOAD_REGS_6): Update.
16477         (INTERNAL_SYSCALL): Update using new LOAD defines.
16478         (INTERNAL_SYSCALL_NCS): Likewise.
16479         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16481 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16483         [BZ #16734]
16484         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16486 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16488         [BZ #17905]
16489         * catgets/Makefile (tst-catgets-mem): New test.
16490         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16491         * catgets/open_catalog.c (__open_catalog): Likewise.
16492         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16494 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16496         [BZ #18787]
16497         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16498         clobber registers.
16499         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16500         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16501         Cast return to __typeof (oldval).
16503 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16505         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16506         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16507         and delete sys/syscall.h include.
16509 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16511         [BZ #16517]
16512         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16513         (tan): Force underflow exception for arguments with small absolute
16514         value.
16515         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16516         (__kernel_tanf): Force underflow exception for arguments with
16517         small absolute value.
16518         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16519         (__kernel_tanl): Force underflow exception for arguments with
16520         small absolute value.
16521         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16522         (__kernel_tanl): Force underflow exception for arguments with
16523         small absolute value.
16524         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16525         (__kernel_tanl): Force underflow exception for arguments with
16526         small absolute value.
16527         * math/auto-libm-test-in: Add more tests of tan.
16528         * math/auto-libm-test-out: Regenerated.
16530 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16532         Fix sysdeps/i386/fpu/s_scalbn.S build
16534         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16536 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
16538         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16540 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16542         Fix gcrt0.o compilation
16544         When static-start-installed-name is different from
16545         start-installed-name, we must not use the shared objects.
16547         * csu/Makefile
16548         (extra-objs): Add gmon-start.o when building shared library and
16549         $(static-start-installed-name) is different from
16550         $(start-installed-name).
16551         $(objpfx)g$(static-start-installed-name): When building shared
16552         library and $(static-start-installed-name) is different from
16553         $(static-start-installed-name), revert to non-shared rule,
16554         i.e. using $(objpfx)% and gmon-start.o.
16556 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16558         [BZ #16519]
16559         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16560         (__ieee754_sinh): Force underflow exception for arguments with
16561         small absolute value.
16562         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16563         (__ieee754_sinhf): Force underflow exception for arguments with
16564         small absolute value.
16565         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16566         (__ieee754_sinhl): Force underflow exception for arguments with
16567         small absolute value.
16568         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16569         (__ieee754_sinhl): Force underflow exception for arguments with
16570         small absolute value.
16571         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16572         (__ieee754_sinhl): Force underflow exception for arguments with
16573         small absolute value.
16574         * math/auto-libm-test-in: Add more tests of sinh.
16575         * math/auto-libm-test-out: Regenerated.
16576         * sysdeps/i386/fpu/libm-test-ulps: Update.
16578 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16580         * libio/oldfileops.c: Include unistd.h.
16582 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16584         * stdlib/isomac.c: Include ctype.h.
16586 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16588         * dirent/tst-seekdir.c (main): Converted to ...
16589         (do_test): ... this.
16590         (TEST_FUNCTION): New macro.
16591         Include test-skeleton.c.
16592         * elf/tst-dlmodcount.c (main): Converted to ...
16593         (do_test): ... this.
16594         (TEST_FUNCTION): New macro.
16595         Include test-skeleton.c.
16596         * elf/tst-order-main.c (main): Converted to ...
16597         (do_test): ... this.
16598         (TEST_FUNCTION): New macro.
16599         Include test-skeleton.c.
16600         * elf/tst-pie2.c (main): Converted to ...
16601         (do_test): ... this.
16602         (TEST_FUNCTION): New macro.
16603         Include test-skeleton.c.
16604         * inet/tst-ether_aton.c (main): Converted to ...
16605         (do_test): ... this.
16606         (TEST_FUNCTION): New macro.
16607         Include test-skeleton.c.
16608         * misc/tst-mntent.c (main): Converted to ...
16609         (do_test): ... this.
16610         (TEST_FUNCTION): New macro.
16611         Include test-skeleton.c.
16612         * misc/tst-tsearch.c (main): Converted to ...
16613         (do_test): ... this.
16614         (TEST_FUNCTION): New macro.
16615         Include test-skeleton.c.
16616         * posix/tst-regexloc.c (main): Converted to ...
16617         (do_test): ... this.
16618         (TEST_FUNCTION): New macro.
16619         Include test-skeleton.c.
16620         * resolv/tst-aton.c (main): Converted to ...
16621         (do_test): ... this.
16622         (TEST_FUNCTION): New macro.
16623         Include test-skeleton.c.
16624         * stdio-common/test-fwrite.c (main): Converted to ...
16625         (do_test): ... this.
16626         (TEST_FUNCTION): New macro.
16627         Include test-skeleton.c.
16628         * stdio-common/tst-ferror.c (main): Converted to ...
16629         (do_test): ... this.
16630         (TEST_FUNCTION): New macro.
16631         Include test-skeleton.c.
16632         * stdio-common/tst-printf.c (main): Converted to ...
16633         (do_test): ... this.
16634         (TEST_FUNCTION): New macro.
16635         Include test-skeleton.c.
16636         * stdio-common/tst-printfsz.c (main): Converted to ...
16637         (do_test): ... this.
16638         (TEST_FUNCTION): New macro.
16639         Include test-skeleton.c.
16640         * stdlib/tst-strtod.c (main): Converted to ...
16641         (do_test): ... this.
16642         (TEST_FUNCTION): New macro.
16643         Include test-skeleton.c.
16644         * string/tst-strlen.c (main): Converted to ...
16645         (do_test): ... this.
16646         (TEST_FUNCTION): New macro.
16647         Include test-skeleton.c.
16648         * string/tst-svc.c (main): Converted to ...
16649         (do_test): ... this.
16650         (TEST_FUNCTION): New macro.
16651         Include test-skeleton.c.
16652         * time/tst-strptime.c (main): Converted to ...
16653         (do_test): ... this.
16654         (TEST_FUNCTION): New macro.
16655         Include test-skeleton.c.
16656         * timezone/tst-timezone.c (main): Converted to ...
16657         (do_test): ... this.
16658         (TEST_FUNCTION): New macro.
16659         Include test-skeleton.c.
16661 2015-08-05  Zack Weinberg  <zackw@panix.com>
16663         * misc/regexp.h: Update comments.
16665 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
16667         [BZ #18635]
16668         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16669         before return label.
16671 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16673         [BZ #18661]
16674         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16675         when calling __errno_location.
16676         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16677         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16679 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16681         [BZ #18661]
16682         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16683         (__lll_timedwait_tid): Align stack to 16 bytes when calling
16684         __gettimeofday.
16686 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16688         [BZ #18661]
16689         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16690         (__start_context): Don't use pop to restore %rdi so that stack
16691         is aligned to 16 bytes when calling __setcontext.
16693 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16695         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16696         only for libc.
16697         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16699 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16701         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16702         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
16703         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16705 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16707         * string/memccpy.c (memccpy):
16708         Improve performance by using memchr/memcpy/__mempcpy.
16710 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16712         * string/strncpy.c (strncpy):
16713         Improve performance by using __strnlen/memcpy.
16715 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16717         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16718         Optimize to avoid an unnecessary FPCR read.
16720 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16722         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16723         Optimize to reduce FPCR/FPSR accesses.
16725 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16727         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16728         dead->data[category] != NULL.
16730 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
16732         [BZ #18647]
16733         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16734         and |x| close to 1, use absolute value of x when computing log.
16735         * math/auto-libm-test-in: Add more tests of pow.
16736         * math/auto-libm-test-out: Regenerated.
16738 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16740         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16741         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16742         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16744 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
16746         [BZ #18525]
16747         * locales/km_KH: Remove timezone definition.
16748         * locales/lo_LA: Likewise.
16749         * locales/my_MM: Likewise.
16750         * locales/nan_TW@latin: Likewise.
16751         * locales/th_TH: Likewise.
16752         * locales/uk_UA: Likewise.
16754 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16756         [BZ #18265]
16757         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16758         (wcsncat): Likewise.
16759         (wcscmp): Likewise.
16760         (wcsncmp): Likewise.
16762 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16764         * test-skeleton.c (usage): New function.
16765         (main): Call usage when opt is '?'.
16767 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16769         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16770         before first use.
16772 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16774         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16775         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
16776         in there too.
16778 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
16780         * version.h (RELEASE): Set to "development".
16781         (VERSION): Set to "2.22.90"
16783         * version.h (RELEASE): Set to "stable".
16784         (VERSION): Set to "2.22"
16785         * include/features.h (__GLIBC_MINOR__): Set to 22.
16787 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
16789         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16790         Restructure macro to avoid "value computed is not used" warning.
16791         (atomic_compare_and_exchange_val_acq): Likewise.
16793 2015-08-04  Andreas Schwab  <schwab@suse.de>
16795         [BZ #18635]
16796         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16797         ret.
16798         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16800 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
16802         * po/pl.po: Updated translation.
16803         * po/uk.po: Likewise.
16804         * po/fi.po: Likewise.
16805         * po/ko.po: Likewise.
16806         * po/ru.po: Likewise.
16807         * po/vi.po: Likewise.
16809 2015-07-31  Zack Weinberg  <zackw@panix.com>
16811         [BZ #18681]
16812         * regexp.h: Add unconditional #warning stating that this header
16813         will be removed soon.  Revise banner comment to match.
16814         (compile): Consistently use ERROR instead of RETURN to report
16815         errors (partial fix for bz#18681).
16816         * regexp.c: Don't include regexp.h. Remove some unnecessary
16817         declarations.
16819 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
16821         * po/libc.pot: Regenerated.
16823 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16825         [BZ #18740]
16826         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16827         float-vlen4-arch-ext-cflags): Removed.
16828         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16829         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16831 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16833         [BZ #14113]
16834         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16835         aligned to __aligned__.
16836         (pthread_cond_t, pthread_rwlock_t): Likewise.
16838 2015-07-30  Torvald Riegel  <triegel@redhat.com>
16840         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16842 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16844         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16845         (struct sigaction): Change sa_flags from a long to an int, and add
16846         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16848 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16850         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16851         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16852         sysdeps/generic/sysdep.h include.
16853         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16854         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
16855         sysdeps/hppa/sysdep.h.
16856         (ENTRY, PSEUDO): Undefine before defining.
16858 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16860         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16861         from scratch to use INTERNAL_SYSCALL.
16863 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
16865         [BZ #18078]
16866         * scripts/check-localplt.awk: Support alternate relocations.
16867         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16868         sections.
16869         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16870         malloc entries with + REL R_386_GLOB_DAT.
16871         * sysdeps/x86_64/localplt.data: New file.
16873 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
16875         [BZ #18731]
16876         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16877         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16878         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16880 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16882         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16884 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16886         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16887         directly in terms of __sync_fetch_and_add and delete (int) cast.
16889 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16891         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16892         the -D_ASM_IA64_CURRENT_H flag.
16894 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16896         [BZ #18641]
16897         * pwd/pwd.h (putpwent): Delete __nonnull markings.
16899 2015-07-27  Andreas Schwab  <schwab@suse.de>
16901         * conform/conformtest.pl (checknamespace): Filter out string
16902         literals while tokenizing.
16904 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16906         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16907         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16908         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16910 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16912         * nptl/tst-join7mod.c: Add #include <string.h>.
16914 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16916         * sysdeps/nios2/libm-test-ulps: Update.
16918 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16920         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16921         Fix order of arguments to the rt_sigprocmask syscall.
16922         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16923         Likewise.
16925 2015-07-24  Roland McGrath  <roland@hack.frob.com>
16927         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16929 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16931         [BZ #18457]
16932         * nptl/Makefile (tests): New test case tst-join7.
16933         (modules-names): New test case module tst-join7mod.
16934         * nptl/tst-join7.c: New file.
16935         * nptl/tst-join7mod.c: New file.
16936         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16937         all translation units in libc.so, libpthread.so and rtld.
16939 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16943 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16945         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16946         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16947         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16948         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16949         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16950         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16951         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16952         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16953         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16954         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16955         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16956         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16957         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16958         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16959         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16960         implementation.
16962 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16964         [BZ #17711]
16965         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16966         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16967         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16968         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16969         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16970         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16972 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16974         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16975         instead of just saying load lock in the comments.
16977 2015-07-23  Roland McGrath  <roland@hack.frob.com>
16979         * sysdeps/unix/Subdirs: Moved ...
16980         * sysdeps/posix/Subdirs: ... here.
16981         * login/pty.h (struct termios, struct winsize): Add forward decls.
16982         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
16983         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
16984         * sysdeps/arm/nacl/libc.abilist: Updated.
16985         * sysdeps/nacl/libutil.abilist: New file.
16987         * bits/signum.h: Update comments to mention 1003.1-2013 too.
16988         (SIGWINCH): New macro.
16990         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
16991         * sysdeps/arm/nacl/libc.abilist: Add it.
16993 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16995         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
16997 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16999         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17000         Swap __glibc_reserved0 and sa_flags order.
17002 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17004         [BZ #18657]
17005         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17006         are pending TLS destructor calls.
17007         * include/link.h (struct link_map): Add concurrency note for
17008         L_TLS_DTOR_COUNT.
17009         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17010         Don't touch the link map flag.  Atomically increment
17011         l_tls_dtor_count.
17012         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17013         Avoid taking the load lock and don't touch the link map flag.
17014         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17015         * stdlib/Makefile (tests): Use it.
17016         * stdlib/tst-tls-atexit.c (do_test): dlopen
17017         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17018         to allow tst-tls-atexit-nodelete test case to use it.
17020 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17022         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17023         to bits/types.h.
17024         (msgqnum_t): New typedef.
17025         (msglen_t): Likewise.
17026         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17027         and msg_qbytes type to msglen_t.
17029 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17031         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17032         pad0 to __glibc_reserved0.
17033         (struct stat64): Likewise.
17035 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17037         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17038         Change sa_flags from a long to an int and add __glibc_reserved0 before
17039         it for padding.
17041 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17043         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17044         anonymous by deleting "siginfo" name.
17046 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17048         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17049         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17050         rather than __nacl_irt_filename.
17051         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17053         * NEWS: New item for arm-nacl port.
17054         * sysdeps/arm/nacl/libc.abilist: New file.
17055         * sysdeps/nacl/ld.abilist: New file.
17056         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17057         * sysdeps/nacl/libanl.abilist: New file.
17058         * sysdeps/nacl/libcrypt.abilist: New file.
17059         * sysdeps/nacl/libdl.abilist: New file.
17060         * sysdeps/nacl/libm.abilist: New file.
17061         * sysdeps/nacl/libpthread.abilist: New file.
17062         * sysdeps/nacl/libresolv.abilist: New file.
17063         * sysdeps/nacl/librt.abilist: New file.
17065 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17067         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17068         __startcontext to initialize the new context.
17069         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17070         up CFI directive to forbid further backtracing.
17072 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17074         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17075         reference.
17076         * charmaps/ANSI_X3.4-1968: Likewise.
17077         * charmaps/BS_4730: Likewise.
17078         * charmaps/BS_VIEWDATA: Likewise.
17079         * charmaps/CP1250: Likewise.
17080         * charmaps/CP1251: Likewise.
17081         * charmaps/CP1252: Likewise.
17082         * charmaps/CP1253: Likewise.
17083         * charmaps/CP1254: Likewise.
17084         * charmaps/CP1255: Likewise.
17085         * charmaps/CP1256: Likewise.
17086         * charmaps/CSN_369103: Likewise.
17087         * charmaps/EBCDIC-DK-NO: Likewise.
17088         * charmaps/GB_1988-80: Likewise.
17089         * charmaps/GREEK-CCITT: Likewise.
17090         * charmaps/GREEK7: Likewise.
17091         * charmaps/INIS-8: Likewise.
17092         * charmaps/ISIRI-3342: Likewise.
17093         * charmaps/ISO_2033-1983: Likewise.
17094         * charmaps/ISO_5427-EXT: Likewise.
17095         * locales/POSIX: Likewise.
17096         * locales/ar_SA: Likewise.
17097         * locales/be_BY: Likewise.
17098         * locales/be_BY@latin: Likewise.
17099         * locales/ca_ES: Likewise.
17100         * locales/cs_CZ: Likewise.
17101         * locales/da_DK: Likewise.
17102         * locales/de_BE: Likewise.
17103         * locales/de_CH: Likewise.
17104         * locales/de_LU: Likewise.
17105         * locales/en_AU: Likewise.
17106         * locales/en_BW: Likewise.
17107         * locales/en_CA: Likewise.
17108         * locales/en_DK: Likewise.
17109         * locales/en_GB: Likewise.
17110         * locales/en_IE: Likewise.
17111         * locales/en_NZ: Likewise.
17112         * locales/en_ZA: Likewise.
17113         * locales/en_ZW: Likewise.
17114         * locales/es_AR: Likewise.
17115         * locales/es_BO: Likewise.
17116         * locales/es_CL: Likewise.
17117         * locales/es_CO: Likewise.
17118         * locales/es_DO: Likewise.
17119         * locales/es_EC: Likewise.
17120         * locales/es_ES: Likewise.
17121         * locales/es_HN: Likewise.
17122         * locales/es_MX: Likewise.
17123         * locales/es_PA: Likewise.
17124         * locales/es_PE: Likewise.
17125         * locales/es_PY: Likewise.
17126         * locales/es_SV: Likewise.
17127         * locales/es_US: Likewise.
17128         * locales/es_UY: Likewise.
17129         * locales/es_VE: Likewise.
17130         * locales/et_EE: Likewise.
17131         * locales/fa_IR: Likewise.
17132         * locales/fo_FO: Likewise.
17133         * locales/fr_CA: Likewise.
17134         * locales/fr_CH: Likewise.
17135         * locales/gv_GB: Likewise.
17136         * locales/he_IL: Likewise.
17137         * locales/hr_HR: Likewise.
17138         * locales/id_ID: Likewise.
17139         * locales/is_IS: Likewise.
17140         * locales/it_CH: Likewise.
17141         * locales/iw_IL: Likewise.
17142         * locales/kl_GL: Likewise.
17143         * locales/ko_KR: Likewise.
17144         * locales/kw_GB: Likewise.
17145         * locales/lg_UG: Likewise.
17146         * locales/lt_LT: Likewise.
17147         * locales/lv_LV: Likewise.
17148         * locales/mi_NZ: Likewise.
17149         * locales/nhn_MX: Likewise.
17150         * locales/nl_BE: Likewise.
17151         * locales/pl_PL: Likewise.
17152         * locales/sk_SK: Likewise.
17153         * locales/sl_SI: Likewise.
17154         * locales/sv_FI: Likewise.
17155         * locales/tl_PH: Likewise.
17156         * locales/tr_TR: Likewise.
17157         * locales/vi_VN: Likewise.
17159 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17161         [BZ #17475]
17162         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17163         of tu_IN and bh_IN.
17165 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17167         [BZ #18694]
17168         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17169         bits/wordsize.h.
17170         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17172 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17174         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17175         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17176         (spawn_thread): New function.
17177         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17178         (do_test): ... here.  Use IS_LOADED to test for its
17179         availability.
17181 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17183         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17185 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17187         [BZ #18696]
17188         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17189         si_addr_bnd.
17190         (si_lower): New.
17191         (si_upper): Likewise.
17193 2015-07-16  David S. Miller  <davem@davemloft.net>
17195         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17197 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17199         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17200         buffer.
17201         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17202         fail output information.
17204 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17207         and strstr-ppc64..
17208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17209         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17210         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17211         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17212         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17214 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17216         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17217         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17218         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17219         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17221 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17223         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17224         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17225         rtld_hidden_proto.
17226         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17228 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17230         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17231         the test can fail.
17233         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17235         [BZ #18676]
17236         * elf/tst-nodelete-opened.c: New test case.
17237         * elf/tst-nodelete-opened-lib.c: New test case module.
17238         * elf/Makefile (tests, modules-names): Use them.
17239         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17240         early.
17242 2015-07-15  David S. Miller  <davem@davemloft.net>
17244         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17245         futex-intenal.h
17246         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17247         * sysdeps/sparc/sparc64/Makefile: Likewise.
17248         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17249         Remove space from macro define.
17250         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17252 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17254         [BZ #17475]
17255         * locale/iso-639.def: Update Bhili and Tulu language codes as
17256         per iso639-3.
17258 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17260         * elf/tst-leaks1.c (main): Converted to ...
17261         (do_test): ... this.
17262         (TEST_FUNCTION): New macro.
17263         Include test-skeleton.c.
17264         * localedata/tst-langinfo.c (main): Converted to ...
17265         (do_test): ... this.
17266         (TEST_FUNCTION): New macro.
17267         Include test-skeleton.c.
17268         * math/test-fpucw.c (main): Converted to ...
17269         (do_test): ... this.
17270         (TEST_FUNCTION): New macro.
17271         Include test-skeleton.c.
17272         * math/test-tgmath.c (main): Converted to ...
17273         (do_test): ... this.
17274         (TEST_FUNCTION): New macro.
17275         Include test-skeleton.c.
17276         * math/test-tgmath2.c (main): Converted to ...
17277         (do_test): ... this.
17278         (TEST_FUNCTION): New macro.
17279         Include test-skeleton.c.
17280         * setjmp/tst-setjmp.c (main): Converted to ...
17281         (do_test): ... this.
17282         (TEST_FUNCTION): New macro.
17283         Include test-skeleton.c.
17284         * stdio-common/tst-sscanf.c (main): Converted to ...
17285         (do_test): ... this.
17286         (TEST_FUNCTION): New macro.
17287         Include test-skeleton.c.
17288         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17289         (do_test): ... this.
17290         (TEST_FUNCTION): New macro.
17291         Include test-skeleton.c.
17293         * elf/tst-audit9.c (main): Converted to ...
17294         (do_test): ... this.
17295         (TEST_FUNCTION): New macro.
17296         Include test-skeleton.c.
17298 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17300         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17302 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17304         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17305         New variable.
17307 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17309         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17311 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17313         * sysdeps/generic/dl-fileid.h: New file.
17314         * sysdeps/posix/dl-fileid.h: New file.
17315         * sysdeps/nacl/dl-fileid.h: New file.
17316         * include/link.h: Include <dl-fileid.h>.
17317         (struct link_map): Replace l_dev and l_ino with l_file_id.
17318         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17319         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17320         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17322 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17324         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17326 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17328         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17329         Add iff $CXX is set.
17330         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17331         Likewise.
17332         (tst-nodelete-zmodiff): Likewise.
17333         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17335 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17337         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17339 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17341         * sysdeps/aarch64/fpu/math_private.h
17342         (define math_opt_barrier): Add AArch64 version.
17343         (math_force_eval): Likewise.
17345 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17347         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17349 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17351         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17352         %ld with %jd and cast to intmax_t.
17353         (do_test_length_zero): Likewise.
17355 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17357         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17359 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17361         * sysdeps/tile/libm-test-ulps: Regenerated.
17363         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17364         Comment out the whole function, not just its body.
17366 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17368         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17369         locks.
17371         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17373 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17375         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17376         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17378 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17380         * sysdeps/nptl/futex-internal.h: New file.
17381         * sysdeps/nacl/futex-internal.h: New file.
17382         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17383         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17384         error checking.
17385         (setxid_unmark_thread): Likewise.
17386         (__nptl_setxid): Likewise.
17387         (__wait_lookup_done): Likewise.
17388         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17389         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17390         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17391         * nptl/pthread_once.c (clear_once_control): Likewise.
17392         (__pthread_once_slow): Likewise.
17393         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17394         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17395         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17396         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17397         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17398         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17399         Likewise.
17400         (__pthread_rwlock_rdlock): Likewise.
17401         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17402         Likewise.
17403         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17404         Likewise.
17405         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17406         Likewise.
17407         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17408         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17409         Likewise.
17410         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17411         __ASSUME_PRIVATE_FUTEX check.
17412         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17413         Check that shared futexes are supported.
17414         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17415         wrappers with error checking.
17416         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17417         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17418         * nptl/pthread_barrierattr_setpshared.c
17419         (pthread_barrierattr_setpshared): Check that shared futexes are
17420         supported.
17421         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17422         Likewise.
17423         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17424         Likewise.
17425         * nptl/sem_init.c (futex_private_if_supported): Remove.
17426         (__new_sem_init): Adapt and check that shared futexes are supported.
17427         * nptl/sem_open.c (sem_open): Likewise.
17428         * nptl/sem_post.c (futex_wake): Remove.
17429         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17430         (do_futex_wait): Use futex wrappers with error checking.
17431         * nptl/sem_wait.c: Include lowlevellock.h.
17432         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17433         Use futex_supports_pshared.
17434         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17435         Use futex wrappers with error checking.
17436         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17437         Likewise.
17438         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17439         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17440         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17441         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17442         (futex_wake): Likewise.
17443         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17444         (do_futex_wait): Use futex wrappers with error checking.
17445         (__new_sem_wait_slow): Update EINTR handling.
17446         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17448 2015-07-09  Martin Sebor  <msebor@redhat.com>
17450         [BZ #18435]
17451         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17452         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17453         * nptl/Makefile (test-xfail-tst-once5): Define.
17455 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17457         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17458         * elf/dl-minimal.c: For readability, reorder some definitions and
17459         introduce more page breaks.  Include <stdio.h>.
17460         (__libc_fatal): New function.
17462         * include/unistd.h: Add rtld_hidden_proto for _exit.
17463         * posix/_exit.c: Add rtld_hidden_def.
17464         * sysdeps/mach/hurd/_exit.c: Likewise.
17465         * sysdeps/nacl/_exit.c: Likewise.
17466         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17467         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17469 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17471         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17472         bndmov encoding with zero displacement.
17474 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17475             H.J. Lu  <hongjiu.lu@intel.com>
17477         [BZ #18134]
17478         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17479         * sysdeps/i386/configure: Regenerated.
17480         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17481         (_dl_runtime_profile): Save and restore Intel MPX return bound
17482         registers when calling _dl_call_pltexit.  Add
17483         PRESERVE_BND_REGS_PREFIX before return.
17484         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17485         (LRV_BND1_OFFSET): Likewise.
17486         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17487         lrv_bnd1.
17488         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17489         typo in bndmov encoding.
17490         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17491         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17492         branch instructions to preserve bounds.
17494 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17497         [GLIBC_2.22]: Add fmemopen.
17499 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17501         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17502         returns an error, also try to use host port from __mach_host_self for
17503         the __vm_wire call.
17504         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17506 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17508         [BZ #18400]
17509         [BZ #18648]
17510         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17511         Fix pr_uid and pr_gid members.
17512         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17513         definition to elf_greg_t.
17515 2015-07-08  Roland McGrath  <roland@hack.frob.com>
17517         [BZ #18383]
17518         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17519         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17520         * sysdeps/arm/configure: Regenerated.
17521         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17522         (test-xfail-tst-tlsalign-static): Variable removed.
17524         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17525         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17526         rather than explicit 'ln -s'.
17528         * resolv/rpc/netdb.h: New file.
17529         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17531 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17533         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17534         length buffers.
17535         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17536         test-skeleton.c.
17538         [BZ #6544]
17539         [BZ #11216]
17540         [BZ #12836]
17541         [BZ #13151]
17542         [BZ #13152]
17543         [BZ #14292]
17544         * include/stdio.h (fmemopen): Remove hidden prototype.
17545         (__fmemopen): Add new hidden prototype.
17546         * libio/Makefile: Add oldfmemopen object.
17547         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17548         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17549         compliance.
17550         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17551         symbol compatibility.
17552         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17553         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17554         fmemopen.
17555         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17556         on append and read mode.
17557         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17558         fmemopen.
17559         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17560         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17561         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17562         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17563         Likewise.
17564         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17565         [GLIBC_2.22]: Likewise.
17566         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17567         Likewise.
17568         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17569         Likewise.
17570         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17571         [GLIBC_2.22]: Likewise.
17572         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17573         [GLIBC_2.22]: Likewise.
17574         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17575         [GLIBC_2.22]: Likewise.
17576         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17577         [GLIBC_2.22]: Likewise.
17578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17579         [GLIBC_2.22]: Likewise.
17580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17581         [GLIBC_2.22]: Likewise.
17582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17583         [GLIBC_2.22]: Likewise.
17584         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17585         Likewise.
17586         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17587         Likewise.
17588         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17589         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17590         [GLIBC_2.22]: Likewise.
17591         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17592         [GLIBC_2.22]: Likewise.
17593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17594         [GLIBC_2.22]: Likewise.
17595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17596         [GLIBC_2.22]: Likewise.
17597         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17598         Likewise.
17599         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17600         Likewise.
17601         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17602         Likewise.
17603         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17604         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17606 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17608         [BZ #18643]
17609         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17610         IPV6_PATHMTU, and IPV6_DONTFRAG.
17612 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
17614         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17615         and _IO_UNBUFFERED.
17616         * libio/oldfileops.c: Likewise.
17617         * libio/wfileops.c: Likewise.
17619 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17621         * nscd/selinux.c: Delete selinux/flask.h include.
17623 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17625         [BZ #18641]
17626         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17627         (putpwent): Likewise.
17628         (getpwnam): Likewise.
17629         (getpwent_r): Likewise.
17630         (getpwuid_r): Likewise.
17631         (getpwnam_r): Likewise.
17632         (fgetpwent_r): Likewise.
17634 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17636         [BZ #18557]
17637         * inet/rcmd.c (__validuser2_sa): Check user first to
17638         short-circuit host check.
17640 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
17641             Mikhail Ilin  <m.ilin@samsung.com>
17643         [BZ #17833]
17644         * elf/Makefile (tests): Add tst-nodelete.
17645         (modules-names): Add tst-nodelete-uniquemod.
17646         (tst-nodelete-uniquemod.so-no-z-defs): New.
17647         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17648         (tst-nodelete-zmod.so-no-z-defs): Likewise.
17649         ($(objpfx)tst-nodelete): Likewise.
17650         ($(objpfx)tst-nodelete.out): Likewise.
17651         (LDFLAGS-tst-nodelete): Likewise.
17652         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17653         * elf/dl-close.c (_dl_close_worker): Add a parameter to
17654         implement forced object deletion.
17655         (_dl_close): Pass false to _dl_close_worker.
17656         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17657         * elf/tst-nodelete.cc: New file.
17658         * elf/tst-nodeletelib.cc: Likewise.
17659         * elf/tst-znodeletelib.cc: Likewise.
17660         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17662 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17664         [BZ #18508]
17665         * stdlib/Makefile ($(objpfx)tst-makecontext3):
17666         Depend on $(libdl).
17667         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17668         is not called infinitely times.
17669         (backtrace_helper): New function.
17670         (trace_arg): New struct.
17671         (st1): Enlarge stack size.
17672         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17673         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17674         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17675         Likewise.
17677 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17679         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17681 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17683         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17684         Include sys/types.h instead of bits/types.h.
17685         Remove inclusion of bits/wordsize.h.
17687 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17689         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17690         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17691         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17692         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17693         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17694         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17696 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17698         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17699         link-defines.sym.
17700         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17701         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17702         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17703         and LR_SIZE.
17704         * sysdeps/i386/link-defines.sym: New file.
17706 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17708         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17709         (modules-names): Add tst-auditmod3a tst-auditmod3b.
17710         ($(objpfx)tst-audit3): New rule.
17711         ($(objpfx)tst-audit3.out): Likewise.
17712         * sysdeps/i386/tst-audit3.c: New file.
17713         * sysdeps/i386/tst-audit3.h: Likewise.
17714         * sysdeps/i386/tst-auditmod3a.c: Likewise.
17715         * sysdeps/i386/tst-auditmod3b.c: Likewise.
17717 2015-07-07  Torvald Riegel  <triegel@redhat.com>
17719         [BZ #18633]
17720         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17721         pointer in C code.
17722         (__strcat_c): Likewise.
17723         (__strcat_g): Likewise.
17725 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
17727         [BZ #18592]
17728         * misc/sbrk.c: Set errno to ENOMEM on overflow.
17730 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17732         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17733         New function.  (__ieee754_sqrtf): New function.
17734         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17735         New function.
17736         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17737         New function.
17739 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17741         * sysdeps/ieee754/support.c: Remove unused file.
17743 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17745         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17746         registers instead of d ones so the layout is kernel abi compatible.
17747         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17748         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17749         Likewise.
17751 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17753         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17755 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17757         [BZ #18619]
17758         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17759         and return argument in case of subnormal argument.
17761 2015-07-01  Martin Sebor  <msebor@redhat.com>
17763         [BZ #18435]
17764         * nptl/Makefile: Add tst-once5.cc.
17765         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17766         Remove macro redefinitions.
17767         * nptl/tst-once5.cc: New test.
17769 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17771         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17773         * sysdeps/arm/libm-test-ulps: Regenerated.
17775         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17776         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17778 2015-06-30  Torvald Riegel  <triegel@redhat.com>
17780         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17781         lll_lock_wait_private and lll_futex_wake probes.
17783         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17784         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17785         Likewise.
17786         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17787         atomic_spin_nop.
17788         * sysdeps/x86_64/bits/atomic.h: Likewise.
17789         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17790         to atomic_spin_nop and move ...
17791         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17792         ... here and ...
17793         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17794         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17795         atomic_spin_nop instead of BUSY_WAIT_NOP.
17796         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17797         Likewise.
17798         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17799         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17800         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17801         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17802         instead of atomic_delay.
17804 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
17806         [BZ #18613]
17807         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
17808         X_ADJ not X when adjusting exponent.
17809         (__ieee754_gamma_r): Do intermediate computations in
17810         round-to-nearest then adjust overflowing and underflowing results
17811         as needed.
17812         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17813         of X_ADJ not X when adjusting exponent.
17814         (__ieee754_gammaf_r): Do intermediate computations in
17815         round-to-nearest then adjust overflowing and underflowing results
17816         as needed.
17817         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17818         log of X_ADJ not X when adjusting exponent.
17819         (__ieee754_gammal_r): Do intermediate computations in
17820         round-to-nearest then adjust overflowing and underflowing results
17821         as needed.  Use 1.0L not 1.0f as numerator of division.
17822         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17823         log of X_ADJ not X when adjusting exponent.
17824         (__ieee754_gammal_r): Do intermediate computations in
17825         round-to-nearest then adjust overflowing and underflowing results
17826         as needed.  Use 1.0L not 1.0f as numerator of division.
17827         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17828         of X_ADJ not X when adjusting exponent.
17829         (__ieee754_gammal_r): Do intermediate computations in
17830         round-to-nearest then adjust overflowing and underflowing results
17831         as needed.  Use 1.0L not 1.0f as numerator of division.
17832         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
17833         to auto-libm-test-in.
17834         (tgamma_test): Use ALL_RM_TEST.
17835         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
17836         tests of tgamma with spurious-overflow.
17837         * math/auto-libm-test-out: Regenerated.
17838         * math/gen-libm-have-vector-test.sh: Do not check for START.
17839         * sysdeps/i386/fpu/libm-test-ulps: Update.
17840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17842         [BZ #18612]
17843         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17844         arguments, just return 0.5 times the argument, with underflow
17845         forced as needed.
17846         * math/auto-libm-test-in: Add more tests of j1.
17847         * math/auto-libm-test-out: Regenerated.
17849         [BZ #16559]
17850         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17851         (__ieee754_j1): Force underflow exception for small results.
17852         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17853         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17854         (__ieee754_j1f): Force underflow exception for small results.
17855         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17856         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17857         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17858         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
17859         (__ieee754_j1l): Force underflow exception for small results.
17860         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17861         * math/auto-libm-test-in: Add more tests of j1 and jn.
17862         * math/auto-libm-test-out: Regenerated.
17864         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17865         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17866         (PF_MPLS): Likewise.
17867         (AF_IB): Likewise.
17868         (AF_MPLS): Likewise.
17869         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17870         value and macro.
17871         (MS_RMT_MASK): Include MS_LAZYTIME.
17873 2015-06-26  Mel Gorman  <mgorman@suse.de>
17875         [BZ #18502]
17876         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17877         already minimal.
17879 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
17881         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17882         (DT_MIPS_NUM): Update.
17883         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17884         DT_MIPS_RLD_MAP_REL.
17886 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
17888         [BZ #16559]
17889         [BZ #18602]
17890         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17891         round-to-nearest internally then recompute results that
17892         underflowed to zero in the original rounding mode.
17893         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17894         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17895         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17896         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17897         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17898         * sysdeps/i386/fpu/libm-test-ulps: Update.
17899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17901 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17903         * NEWS: Fixed description of link with vector math library.
17905 2015-06-25  Andreas Schwab  <schwab@suse.de>
17907         [BZ #18549]
17908         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17909         * libio/test-fmemopen.c (do_test): Add test for it.
17911 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17913         [BZ #17841]
17914         * Makeconfig (no-pie-ldflag): New.
17915         (+link): Set to $(+link-pie) if default to PIE.
17916         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17917         * config.make.in (build-pie-default): New.
17918         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
17919         is default.  AC_SUBST.
17920         * configure: Regenerated.
17921         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17923 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17925         * nptl/descr.h (struct pthread): Change type of field setxid_futex
17926         to 'unsigned int'.
17928         * resolv/gai_misc.h (struct waitlist): Change type of field
17929         counterp to 'volatile unsigned int *'.
17930         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17931         FUTEXADDR and OLDVAL.
17932         * resolv/getaddrinfo_a.c (getaddrinfo_a):
17933         Give local variable TOTAL type 'volatile unsigned int'.
17934         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17935         * resolv/gai_suspend.c (gai_suspend):
17936         Give local variable CNTR type 'unsigned int'.
17938         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17939         counterp to 'volatile unsigned int *'.
17940         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17941         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17942         (aio_suspend): Give local variable CNTR type 'unsigned int'.
17943         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17944         Give local variable TOTAL type 'volatile unsigned int'.
17945         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17947 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17949         [BZ #18383]
17950         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17951         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
17952         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17953         comment for i386/x86-64.
17954         (test-xfail-tst-tlsalign-extern-static): Removed.
17956 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17958         * math/test-double.h: New file.
17959         * math/test-float.h: Likewise.
17960         * math/test-ldouble.h: Likewise.
17961         * math/test-math-inline.h: Likewise.
17962         * math/test-math-no-inline.h: Likewise.
17963         * math/test-math-scalar.h: Likewise.
17964         * math/test-math-vector.h: Likewise.
17965         * math/test-vec-loop.h: Remove file.  Contents moved into
17966         test-math-vector.h.
17967         * math/libm-test.inc (MATHCONST): Do not document macro.
17968         * math/test-double.c: Include test-double.h, test-math-no-inline.h
17969         and test-math-scalar.h.
17970         (FUNC): Remove macro.
17971         (FUNC_TEST): Likewise.
17972         (FLOAT): Likewise.
17973         (MATHCONST): Likewise.
17974         (PRINTF_EXPR): Likewise.
17975         (PRINTF_XEXPR): Likewise.
17976         (PRINTF_NEXPR): Likewise.
17977         (TEST_DOUBLE): Likewise.
17978         (TEST_MATHVEC): Likewise.
17979         (__NO_MATH_INLINES): Likewise.
17980         * math/test-float.c: Include test-float.h, test-math-no-inline.h
17981         and test-math-scalar.h.
17982         (FUNC): Remove macro.
17983         (FUNC_TEST): Likewise.
17984         (FLOAT): Likewise.
17985         (MATHCONST): Likewise.
17986         (PRINTF_EXPR): Likewise.
17987         (PRINTF_XEXPR): Likewise.
17988         (PRINTF_NEXPR): Likewise.
17989         (TEST_FLOAT): Likewise.
17990         (TEST_MATHVEC): Likewise.
17991         (__NO_MATH_INLINES): Likewise.
17992         * math/test-idouble.c: Include test-double.h, test-math-inline.h
17993         and test-math-scalar.h.
17994         (FUNC): Remove macro.
17995         (FUNC_TEST): Likewise.
17996         (FLOAT): Likewise.
17997         (MATHCONST): Likewise.
17998         (PRINTF_EXPR): Likewise.
17999         (PRINTF_XEXPR): Likewise.
18000         (PRINTF_NEXPR): Likewise.
18001         (TEST_DOUBLE): Likewise.
18002         (TEST_MATHVEC): Likewise.
18003         (TEST_INLINE): Likewise.
18004         (__NO_MATH_INLINES): Likewise.
18005         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18006         test-math-scalar.h.
18007         (FUNC): Remove macro.
18008         (FUNC_TEST): Likewise.
18009         (FLOAT): Likewise.
18010         (MATHCONST): Likewise.
18011         (PRINTF_EXPR): Likewise.
18012         (PRINTF_XEXPR): Likewise.
18013         (PRINTF_NEXPR): Likewise.
18014         (TEST_FLOAT): Likewise.
18015         (TEST_MATHVEC): Likewise.
18016         (TEST_INLINE): Likewise.
18017         (__NO_MATH_INLINES): Likewise.
18018         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18019         and test-math-scalar.h.
18020         (FUNC): Remove macro.
18021         (FUNC_TEST): Likewise.
18022         (FLOAT): Likewise.
18023         (MATHCONST): Likewise.
18024         (PRINTF_EXPR): Likewise.
18025         (PRINTF_XEXPR): Likewise.
18026         (PRINTF_NEXPR): Likewise.
18027         (TEST_LDOUBLE): Likewise.
18028         (TEST_MATHVEC): Likewise.
18029         (TEST_INLINE): Likewise.
18030         (__NO_MATH_INLINES): Likewise.
18031         * math/test-ldouble.c: Include test-ldouble.h,
18032         test-math-no-inline.h and test-math-scalar.h.
18033         (FUNC): Remove macro.
18034         (FUNC_TEST): Likewise.
18035         (FLOAT): Likewise.
18036         (MATHCONST): Likewise.
18037         (PRINTF_EXPR): Likewise.
18038         (PRINTF_XEXPR): Likewise.
18039         (PRINTF_NEXPR): Likewise.
18040         (TEST_LDOUBLE): Likewise.
18041         (TEST_MATHVEC): Likewise.
18042         (__NO_MATH_INLINES): Likewise.
18043         * math/test-double-vlen2.h: Include test-double.h,
18044         test-math-no-inline.h and test-math-vector.h.
18045         (FLOAT): Remove macro.
18046         (FUNC): Likewise.
18047         (MATHCONST): Likewise.
18048         (PRINTF_EXPR): Likewise.
18049         (PRINTF_XEXPR): Likewise.
18050         (PRINTF_NEXPR): Likewise.
18051         (TEST_DOUBLE): Likewise.
18052         (TEST_MATHVEC): Likewise.
18053         (__NO_MATH_INLINES): Likewise.
18054         (CNCT): Likewise.
18055         (CONCAT): Likewise.
18056         (WRAPPER_NAME): Likewise.
18057         (WRAPPER_DECL): Likewise.
18058         (WRAPPER_DECL_ff): Likewise.
18059         (WRAPPER_DECL_fFF): Likewise.
18060         (VECTOR_WRAPPER): Likewise.
18061         (VECTOR_WRAPPER_ff): Likewise.
18062         (VECTOR_WRAPPER_fFF): Likewise.
18063         (VEC_LEN): New macro.
18064         * math/test-double-vlen4.h: Include test-double.h,
18065         test-math-no-inline.h and test-math-vector.h.
18066         (FLOAT): Remove macro.
18067         (FUNC): Likewise.
18068         (MATHCONST): Likewise.
18069         (PRINTF_EXPR): Likewise.
18070         (PRINTF_XEXPR): Likewise.
18071         (PRINTF_NEXPR): Likewise.
18072         (TEST_DOUBLE): Likewise.
18073         (TEST_MATHVEC): Likewise.
18074         (__NO_MATH_INLINES): Likewise.
18075         (CNCT): Likewise.
18076         (CONCAT): Likewise.
18077         (WRAPPER_NAME): Likewise.
18078         (WRAPPER_DECL): Likewise.
18079         (WRAPPER_DECL_ff): Likewise.
18080         (WRAPPER_DECL_fFF): Likewise.
18081         (VECTOR_WRAPPER): Likewise.
18082         (VECTOR_WRAPPER_ff): Likewise.
18083         (VECTOR_WRAPPER_fFF): Likewise.
18084         (VEC_LEN): New macro.
18085         * math/test-double-vlen8.h: Include test-double.h,
18086         test-math-no-inline.h and test-math-vector.h.
18087         (FLOAT): Remove macro.
18088         (FUNC): Likewise.
18089         (MATHCONST): Likewise.
18090         (PRINTF_EXPR): Likewise.
18091         (PRINTF_XEXPR): Likewise.
18092         (PRINTF_NEXPR): Likewise.
18093         (TEST_DOUBLE): Likewise.
18094         (TEST_MATHVEC): Likewise.
18095         (__NO_MATH_INLINES): Likewise.
18096         (CNCT): Likewise.
18097         (CONCAT): Likewise.
18098         (WRAPPER_NAME): Likewise.
18099         (WRAPPER_DECL): Likewise.
18100         (WRAPPER_DECL_ff): Likewise.
18101         (WRAPPER_DECL_fFF): Likewise.
18102         (VECTOR_WRAPPER): Likewise.
18103         (VECTOR_WRAPPER_ff): Likewise.
18104         (VECTOR_WRAPPER_fFF): Likewise.
18105         (VEC_LEN): New macro.
18106         * math/test-float-vlen4.h: Include test-float.h,
18107         test-math-no-inline.h and test-math-vector.h.
18108         (FLOAT): Remove macro.
18109         (FUNC): Likewise.
18110         (MATHCONST): Likewise.
18111         (PRINTF_EXPR): Likewise.
18112         (PRINTF_XEXPR): Likewise.
18113         (PRINTF_NEXPR): Likewise.
18114         (TEST_FLOAT): Likewise.
18115         (TEST_MATHVEC): Likewise.
18116         (__NO_MATH_INLINES): Likewise.
18117         (CNCT): Likewise.
18118         (CONCAT): Likewise.
18119         (WRAPPER_NAME): Likewise.
18120         (WRAPPER_DECL): Likewise.
18121         (WRAPPER_DECL_ff): Likewise.
18122         (WRAPPER_DECL_fFF): Likewise.
18123         (VECTOR_WRAPPER): Likewise.
18124         (VECTOR_WRAPPER_ff): Likewise.
18125         (VECTOR_WRAPPER_fFF): Likewise.
18126         (VEC_LEN): New macro.
18127         * math/test-float-vlen8.h: Include test-float.h,
18128         test-math-no-inline.h and test-math-vector.h.
18129         (FLOAT): Remove macro.
18130         (FUNC): Likewise.
18131         (MATHCONST): Likewise.
18132         (PRINTF_EXPR): Likewise.
18133         (PRINTF_XEXPR): Likewise.
18134         (PRINTF_NEXPR): Likewise.
18135         (TEST_FLOAT): Likewise.
18136         (TEST_MATHVEC): Likewise.
18137         (__NO_MATH_INLINES): Likewise.
18138         (CNCT): Likewise.
18139         (CONCAT): Likewise.
18140         (WRAPPER_NAME): Likewise.
18141         (WRAPPER_DECL): Likewise.
18142         (WRAPPER_DECL_ff): Likewise.
18143         (WRAPPER_DECL_fFF): Likewise.
18144         (VECTOR_WRAPPER): Likewise.
18145         (VECTOR_WRAPPER_ff): Likewise.
18146         (VECTOR_WRAPPER_fFF): Likewise.
18147         (VEC_LEN): New macro.
18148         * math/test-float-vlen16.h: Include test-float.h,
18149         test-math-no-inline.h and test-math-vector.h.
18150         (FLOAT): Remove macro.
18151         (FUNC): Likewise.
18152         (MATHCONST): Likewise.
18153         (PRINTF_EXPR): Likewise.
18154         (PRINTF_XEXPR): Likewise.
18155         (PRINTF_NEXPR): Likewise.
18156         (TEST_FLOAT): Likewise.
18157         (TEST_MATHVEC): Likewise.
18158         (__NO_MATH_INLINES): Likewise.
18159         (CNCT): Likewise.
18160         (CONCAT): Likewise.
18161         (WRAPPER_NAME): Likewise.
18162         (WRAPPER_DECL): Likewise.
18163         (WRAPPER_DECL_ff): Likewise.
18164         (WRAPPER_DECL_fFF): Likewise.
18165         (VECTOR_WRAPPER): Likewise.
18166         (VECTOR_WRAPPER_ff): Likewise.
18167         (VECTOR_WRAPPER_fFF): Likewise.
18168         (VEC_LEN): New macro.
18169         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18170         test-vec-loop.h.
18171         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18172         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18173         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18174         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18175         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18176         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18177         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18179 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18181         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18182         (__getlogin_r): ... this.
18184 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18186         [BZ #18594]
18187         * math/s_ccosh.c (__ccosh): Compare with least normal value
18188         instead of comparing class with FP_SUBNORMAL.
18189         * math/s_ccoshf.c (__ccoshf): Likewise.
18190         * math/s_ccoshl.c (__ccoshl): Likewise.
18191         * math/s_cexp.c (__cexp): Likewise.
18192         * math/s_cexpf.c (__cexpf): Likewise.
18193         * math/s_cexpl.c (__cexpl): Likewise.
18194         * math/s_csin.c (__csin): Likewise.
18195         * math/s_csinf.c (__csinf): Likewise.
18196         * math/s_csinh.c (__csinh): Likewise.
18197         * math/s_csinhf.c (__csinhf): Likewise.
18198         * math/s_csinhl.c (__csinhl): Likewise.
18199         * math/s_csinl.c (__csinl): Likewise.
18200         * math/s_ctan.c (__ctan): Likewise.
18201         * math/s_ctanf.c (__ctanf): Likewise.
18202         * math/s_ctanh.c (__ctanh): Likewise.
18203         * math/s_ctanhf.c (__ctanhf): Likewise.
18204         * math/s_ctanhl.c (__ctanhl): Likewise.
18205         * math/s_ctanl.c (__ctanl): Likewise.
18206         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18207         csin, csinh, ctan and ctanh.
18208         * math/auto-libm-test-out: Regenerated.
18209         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18210         * sysdeps/i386/fpu/libm-test-ulps: Update.
18211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18213 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18215         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18216         return value is wrong, print the expected value too.
18218 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18220         [BZ #18585]
18221         * elf/readlib.c (is_gdb_python_file): New.
18222         (process_file): Don't issue errors on filenames with -gdb.py
18223         suffix.
18225 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18227         * math/auto-libm-test-in: Add more tests of csin and csinh.
18228         * math/auto-libm-test-out: Regenerated.
18229         * math/libm-test.inc (csin_test_data): Remove tests moved to
18230         auto-libm-test-in.
18231         (csinh_test_data): Likewise.
18233         [BZ #18593]
18234         * math/s_csin.c (__csin): Negate before rather than after possibly
18235         overflowing multiplication.
18236         * math/s_csinf.c (__csinf): Likewise.
18237         * math/s_csinh.c (__csinh): Likewise.
18238         * math/s_csinhf.c (__csinhf): Likewise.
18239         * math/s_csinhl.c (__csinhl): Likewise.
18240         * math/s_csinl.c (__csinl): Likewise.
18241         * math/auto-libm-test-in: Add some tests of csin and csinh.
18242         * math/auto-libm-test-out: Regenerated.
18243         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18244         (csinh_test_data): Likewise.
18245         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18247         [BZ #18586]
18248         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18249         underflow exception for small results.
18251 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18253         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18254         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18255         variable and included header.
18256         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18257         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18258         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18259         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18260         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18261         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18262         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18263         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18264         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18265         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18266         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18267         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18268         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18269         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18270         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18271         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18273 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18275         [BZ #16526]
18276         [BZ #16538]
18277         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18278         (__sin): Force underflow exception for arguments with small
18279         absolute value.
18280         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18281         (__kernel_sinf): Force underflow exception for arguments with
18282         small absolute value.
18283         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18284         (__kernel_sincosl): Force underflow exception for arguments with
18285         small absolute value.
18286         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18287         (__kernel_sinl): Force underflow exception for arguments with
18288         small absolute value.
18289         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18290         (__kernel_sincosl): Force underflow exception for arguments with
18291         small absolute value.
18292         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18293         (__kernel_sinl): Force underflow exception for arguments with
18294         small absolute value.
18295         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18296         (__kernel_sinl): Force underflow exception for arguments with
18297         small absolute value.
18298         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18299         (__kernel_sinf): Force underflow exception for arguments with
18300         small absolute value.
18301         * math/auto-libm-test-in: Add more tests of sin and sincos.
18302         * math/auto-libm-test-out: Regenerated.
18304         [BZ #18245]
18305         [BZ #18583]
18306         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18307         (__kernel_standard_l): Use feholdexcept and fesetenv around
18308         conversion to double instead of special-casing overflow and
18309         underflow.
18310         * math/libm-test.inc (fmod_test_data): Add more tests.
18311         (remainder_test_data): Likewise.
18312         (sqrt_test_data): Likewise.
18314 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18316         [BZ #17403]
18317         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18318         atomic_read_barrier, atomic_write_barrier): Define.
18319         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18320         atomic_read_barrier, atomic_write_barrier): Define.
18322 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18324         * math/Makefile [$(PERL) != no]
18325         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18326         dependency on libm-test.stmp below the inclusion of Rules.
18328 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18330         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18331         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18332         and included header.
18333         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18334         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18335         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18336         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18337         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18338         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18339         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18340         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18341         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18342         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18343         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18344         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18345         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18346         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18347         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18348         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18349         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18350         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18351         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18353 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18355         [BZ #18371]
18356         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18357         intermediate but not final result might underflow.
18358         * math/s_csqrtf.c (__csqrtf): Likewise.
18359         * math/s_csqrtl.c (__csqrtl): Likewise.
18360         * math/auto-libm-test-in: Add more tests of csqrt.
18361         * math/auto-libm-test-out: Regenerated.
18362         * sysdeps/i386/fpu/libm-test-ulps: Update.
18364         [BZ #18219]
18365         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18366         threshold on absolute value of exponent for which scaling is used.
18367         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18368         * math/auto-libm-test-in: Add more tests of exp2.
18369         * math/auto-libm-test-out: Regenerated.
18371 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18373         [BZ #17977]
18374         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18375         when initializing interface list, based on the bug analysis
18376         and the patch proposed by Eric Newton.
18377         * resolv/tst-res_hconf_reorder.c: New test.
18378         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18379         tst-res_hconf_reorder.
18380         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18381         and $(shared-thread-library).
18382         (tst-res_hconf_reorder-ENV): New variable.
18384         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18385         in comment.
18387 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18389         [BZ #16353]
18390         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18391         (__expm1): Force underflow exception for arguments with small
18392         absolute value.
18393         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18394         (__expm1f): Force underflow exception for arguments with small
18395         absolute value.
18396         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18397         (__expm1): Force underflow exception for arguments with small
18398         absolute value.
18399         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18400         (__expm1f): Force underflow exception for arguments with small
18401         absolute value.
18402         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18403         Check for small arguments before calling __expm1.
18404         * math/auto-libm-test-in: Do not mark underflow exceptions as
18405         possibly missing for bug 16353.
18406         * math/auto-libm-test-out: Regenerated.
18408 2015-06-22  Andreas Schwab  <schwab@suse.de>
18410         [BZ #18513]
18411         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18412         PTR queries.
18414 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18416         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18418         * string/strcoll_l.c: Remove unused struct element idxnow.
18420 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18422         [BZ #18569]
18423         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18424         underflow and return argument in case of subnormal argument.
18425         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18426         Likewise.
18427         * math/auto-libm-test-in: Add more tests of expm1.
18428         * math/auto-libm-test-out: Regenerated.
18430         [BZ #16361]
18431         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18432         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18433         tiny results.
18434         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18435         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18436         tiny results.
18437         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18438         mark underflow exceptions as possibly missing for bug 16361.
18439         * math/auto-libm-test-out: Regenerated.
18441 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18443         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18444         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18445         Remove variable.
18446         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18447         (test-xfail-XOPEN2K8/utmpx.h/conform).
18449         * conform/conformtest.pl ($xerrors): New variable.
18450         (note_error): New function.
18451         (compiletest): New argument $xfail.  Use not_error.
18452         (runtest): Likewise.
18453         (top level): Handle xfail- lines.  Update calls to compiletest and
18454         runtest.  Handle xfail- and optional- in headers listed with
18455         allow-header.
18456         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18457         (O_EXEC): Likewise.
18458         (O_SEARCH): Likewise.
18459         * conform/data/stropts.h-data (ioctl): Likewise.
18460         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18461         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18462         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18463         (msghdr.msg_controllen): Likewise.
18464         (cmsghdr.cmsg_len): Likewise.
18465         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18466         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18467         variable.
18468         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18469         (test-xfail-XPG4/stropts.h/conform): Likewise.
18470         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18471         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18472         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18473         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18474         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18475         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18476         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18477         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18478         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18479         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18480         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18481         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18482         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18483         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18484         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18485         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18486         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18487         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18488         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18490 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18492         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18493         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18494         definitions for proper unfolding of __MATHDECL_VEC.
18496 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18498         * benchtests/bench-strcoll.c:
18499         Include string.h.
18500         (main): Remove unused variable res.
18502 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18504         * timezone/Makefile (%/UTC %/Universal):
18505         Generate test-result files for UTC and Universal.
18507 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18509         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18511 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
18513         [BZ #16350]
18514         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18515         for arguments with small absolute value.
18516         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18517         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18518         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18519         (__asinh): Force underflow exception for arguments with small
18520         absolute value.
18521         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18522         (__asinhf): Force underflow exception for arguments with small
18523         absolute value.
18524         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18525         (__asinhl): Force underflow exception for arguments with small
18526         absolute value.
18527         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18528         (__asinhl): Force underflow exception for arguments with small
18529         absolute value.
18530         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18531         (__asinhl): Force underflow exception for arguments with small
18532         absolute value.
18533         * math/auto-libm-test-in: Do not mark underflow exceptions as
18534         possibly missing for bug 16350.
18535         * math/auto-libm-test-out: Regenerated.
18537         * include/bits/ipc.h: Remove file.
18538         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18539         variable.
18540         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18541         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18542         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18543         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18544         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18545         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18546         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18547         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18548         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18550         * math/auto-libm-test-in: Remove spurious underflow allowance for
18551         tests of cexp.
18552         * math/auto-libm-test-out: Regenerated.
18554         [BZ #18558]
18555         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18556         unconditional definition.
18557         (MCAST_BLOCK_SOURCE): Likewise.
18558         (MCAST_UNBLOCK_SOURCE): Likewise.
18559         (MCAST_LEAVE_GROUP): Likewise.
18560         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18561         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18562         (MCAST_MSFILTER): Likewise.
18563         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18564         Remove variable.
18565         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18566         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18567         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18568         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18569         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18571 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18573         * NEWS: Mention addition of x86_64 vector sincosf.
18574         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18575         * math/test-float-vlen4.h: Likewise.
18576         * math/test-float-vlen8.h: Likewise.
18577         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18578         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18579         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18580         * sysdeps/x86_64/fpu/Versions: New versions added.
18581         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18582         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18583         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18584         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18585         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18586         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18587         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18588         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18589         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18590         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18591         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18592         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18593         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18594         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18595         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18596         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18597         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18598         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18599         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18600         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18601         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18602         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18603         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18604         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18606         * NEWS: Mention addition of x86_64 vector sincos.
18607         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18608         * math/math.h (__MATHDECL_VEC): New macro.
18609         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18610         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18611         declaration under condition.
18612         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18613         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18614         TEST_VEC_LOOP change.
18615         * math/test-double-vlen4.h: Likewise.
18616         * math/test-double-vlen8.h: Likewise.
18617         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18618         * math/test-float-vlen4.h: Likewise.
18619         * math/test-float-vlen8.h: Likewise.
18620         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18621         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18622         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18623         * sysdeps/x86_64/fpu/Versions: New versions added.
18624         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18625         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18626         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18627         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18628         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18629         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18630         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18631         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18632         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18633         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18634         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18635         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18636         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18637         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18638         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18639         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18640         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18641         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18642         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18643         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18644         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18645         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18646         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18647         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18649         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18650         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18651         redirections for powf.
18652         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18653         * sysdeps/x86_64/fpu/Versions: New versions added.
18654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18655         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18656         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18657         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18658         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18659         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18660         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18661         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18662         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18663         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18664         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18665         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18666         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18667         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18668         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18669         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18670         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18671         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18672         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18673         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18674         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18675         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18676         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18677         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18678         * math/test-float-vlen16.h: Fixed 2 argument macro.
18679         * math/test-float-vlen4.h: Likewise.
18680         * math/test-float-vlen8.h: Likewise.
18681         * NEWS: Mention addition of x86_64 vector powf.
18683 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
18685         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18686         and redefine.
18687         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18688         and redefine.
18689         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18690         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18691         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18693         [BZ #18553]
18694         * resource/getpriority.c (getpriority): Rename to __getpriority
18695         and define as weak alias of __getpriority.
18696         * resource/setpriority.c (setpriority): Rename to __setpriority
18697         and define as weak alias of __setpriority.
18698         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18699         __getpriority and define as weak alias of __getpriority.
18700         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18701         __setpriority and define as weak alias of __setpriority.
18702         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18703         strong name.
18704         (setpriority): Use __setpriority as strong name.
18705         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18706         __getpriority and define as weak alias of __getpriority.
18707         * include/sys/resource.h (__getpriority): Declare.  Use
18708         libc_hidden_proto.
18709         (__setpriority): Likewise.
18710         (getpriority): Don't use libc_hidden_proto.
18711         (setpriority): Likewise.
18712         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18713         getpriority.  Call __setpriority instead of setpriority.
18714         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18715         Remove variable.
18717         [BZ #18547]
18718         * misc/getttyent.c (getttynam): Rename to __getttynam and define
18719         as weak alias of __getttynam.  Use prototype function definition.
18720         Call __setttyent, __getttyent and __endttyent instead of
18721         setttyent, getttyent and endttyent.
18722         (getttyent): Rename to __getttyent and define as weak alias of
18723         __getttyent.  Call __setttyent instead of setttyent.  Call
18724         __fgets_unlocked instead of fgets_unlocked.
18725         (setttyent): Rename to __setttyent and define as weak alias of
18726         __setttyent.
18727         (endttyent): Rename to __endttyent and define as weak alias of
18728         __endttyent.
18729         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
18730         (__setttyent): Likewise.
18731         (__endttyent): Likewise.
18732         (getttyent): Don't use libc_hidden_proto.
18733         (setttyent): Likewise.
18734         (endttyent): Likewise.
18735         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18736         __endttyent instead of setttyent, getttyent and endttyent.
18737         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18738         Remove variable.
18740         [BZ #18546]
18741         * socket/recv.c (__recv): Use libc_hidden_def.
18742         * socket/socket.c (__socket): Likewise.
18743         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18744         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18745         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18746         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18747         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18748         libc_hidden_def.
18749         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18750         libc_hidden_weak.
18751         * include/sys/socket.h (__socket): Do not use attribute_hidden.
18752         Use libc_hidden_proto.
18753         (__recv): Likewise.
18754         * socket/Versions (libc): Export __recv and __socket at version
18755         GLIBC_PRIVATE.
18756         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18757         instead of recv.
18758         (init_mq_netlink): Call __socket instead of socket.
18759         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18760         Remove variable.
18762         [BZ #18545]
18763         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18764         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
18765         hidden_weak.
18766         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18767         define as alias of __mq_timedsend.  Use hidden_weak.
18768         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18769         __mq_timedsend as strong name.
18770         (mq_timedreceive): Use __mq_timedreceive as strong name.
18771         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
18772         (__mq_timedreceive): Likewise.
18773         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18774         __mq_timedreceive instead of mq_timedreceive.
18775         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18776         instead of mq_timedsend.
18777         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18778         Remove variable.
18780         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18781         hidden_def and hidden_weak instead of libc_hidden_def and
18782         libc_hidden_weak.
18783         (top level): Refer to hidden_def in comment.
18784         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18785         macro.  Use it instead of libc_hidden_def.
18786         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18787         specify __GI_* name explicitly.
18788         (mq_timedreceive): Likewise.
18789         (mq_setattr): Likewise.
18791         [BZ #18544]
18792         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18793         __pthread_barrier_init and define as weak alias of
18794         __pthread_barrier_init.
18795         * sysdeps/sparc/nptl/pthread_barrier_init.c
18796         (pthread_barrier_init): Likewise.
18797         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18798         __pthread_barrier_wait and define as weak alias of
18799         __pthread_barrier_wait.
18800         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18801         (pthread_barrier_wait): Likewise.
18802         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18803         (pthread_barrier_wait): Likewise.
18804         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
18805         (pthread_barrier_wait): Likewise.
18806         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
18807         (pthread_barrier_wait): Likewise.
18808         * nptl/Versions (libpthread): Export __pthread_barrier_init and
18809         __pthread_barrier_wait at version GLIBC_PRIVATE.
18810         * include/pthread.h (__pthread_barrier_init): Declare.
18811         (__pthread_barrier_wait): Likewise.
18812         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18813         Call __pthread_barrier_wait instead of pthread_barrier_wait.
18814         (helper_thread): Likewise.
18815         (init_mq_netlink): Call __pthread_barrier_init instead of
18816         pthread_barrier_init.
18818         [BZ #18542]
18819         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18820         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18821         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
18822         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18823         vswscanf.
18824         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18825         Remove variable.
18827         [BZ #18540]
18828         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18829         strong alias of _IO_fflush.  Use libc_hidden_def.
18830         * libio/iofflush_u.c (fflush_unlocked): Rename to
18831         __fflush_unlocked and define as weak alias of __fflush_unlocked.
18832         Use libc_hidden_weak.
18833         * include/stdio.h (__fflush_unlocked): Declare.  Use
18834         libc_hidden_proto.
18835         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18836         fflush_unlocked.
18837         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18838         Remove variable.
18840         [BZ #18539]
18841         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18842         define as weak alias of __addseverity.
18843         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18844         Remove variable.
18845         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18846         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18847         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18849         [BZ #18536]
18850         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18851         (__tfind): Likewise.
18852         (__tdelete): Likewise.
18853         (__twalk): Likewise.
18854         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18855         __twalk to GLIBC_PRIVATE.
18856         * include/search.h (__tsearch): Use libc_hidden_proto.
18857         (__tfind): Likewise.
18858         (__tdelete): Likewise.
18859         (__twalk): Likewise.
18860         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18861         Call __tdelete instead of tdelete.
18862         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18863         tfind.  Call __tsearch instead of tsearch.
18864         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18865         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18866         Remove variable.
18867         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18869         [BZ #18534]
18870         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18871         (dprintf): Define as a weak alias of __dprintf, not a strong
18872         alias.
18873         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
18874         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18875         dprintf.
18876         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18877         Remove variable.
18878         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18879         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18881         [BZ #18533]
18882         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18883         not a strong alias.
18884         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18885         Remove variable.
18887         [BZ #18532]
18888         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18889         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
18890         (in6addr_loopback): Rename to __in6addr_loopback and define as
18891         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
18892         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
18893         libc_hidden_proto.
18894         (__in6addr_any): Likewise.
18895         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18896         in6addr_any.
18897         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18898         variable.
18899         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18901 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18903         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18904         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18905         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18906         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18907         redirections for pow.
18908         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18909         * sysdeps/x86_64/fpu/Versions: New versions added.
18910         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18911         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18912         build of SSE, AVX2 and AVX512 IFUNC versions.
18913         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18914         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18915         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18916         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18917         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18918         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18919         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18920         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18921         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18922         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18923         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18924         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18925         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18926         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18927         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18928         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18929         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18930         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18931         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18932         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18933         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18934         * NEWS: Mention addition of x86_64 vector pow.
18936         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18937         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18938         redirections for expf.
18939         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18940         * sysdeps/x86_64/fpu/Versions: New versions added.
18941         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18942         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18943         build of SSE, AVX2 and AVX512 IFUNC versions.
18944         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18945         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18946         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18947         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18948         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18949         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18950         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18951         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18952         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18953         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18954         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18955         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18956         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18957         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18958         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18959         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18960         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18961         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18962         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18963         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18964         * NEWS: Mention addition of x86_64 vector expf.
18966         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18967         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18968         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18969         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18970         redirections for exp.
18971         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18972         * sysdeps/x86_64/fpu/Versions: New versions added.
18973         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18974         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18975         build of SSE, AVX2 and AVX512 IFUNC versions.
18976         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
18977         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
18978         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
18979         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
18980         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
18981         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
18982         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
18983         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
18984         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
18985         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
18986         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
18987         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
18988         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
18989         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18990         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18991         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18992         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18993         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18994         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18995         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18996         * NEWS: Mention addition of x86_64 vector exp.
18998         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18999         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19000         redirections for logf.
19001         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19002         * sysdeps/x86_64/fpu/Versions: New versions added.
19003         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19004         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19005         build of SSE, AVX2 and AVX512 IFUNC versions.
19006         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19007         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19008         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19009         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19010         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19011         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19012         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19013         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19014         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19015         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19016         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19017         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19018         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19019         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19020         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19021         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19022         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19023         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19024         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19025         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19026         * NEWS: Mention addition of x86_64 vector logf.
19028         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19029         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19030         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19031         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19032         redirections for log.
19033         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19034         * sysdeps/x86_64/fpu/Versions: New versions added.
19035         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19036         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19037         build of SSE, AVX2 and AVX512 IFUNC versions.
19038         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19039         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19040         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19041         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19042         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19043         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19044         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19045         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19046         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19047         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19048         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19049         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19050         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19051         test.
19052         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19053         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19054         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19055         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19056         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19057         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19058         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19059         * NEWS: Mention addition of x86_64 vector log.
19061 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19063         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19064         cfi_adjust_cfa_offset argument.
19065         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19066         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19068         [BZ #18034]
19069         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19070         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19071         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19072         ordering using ldar.
19073         (_dl_tlsdesc_dynamic): Likewise.
19074         (_dl_tlsdesc_return_lazy): Likewise.
19075         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19076         relaxed atomics instead of volatile and synchronize with release store.
19077         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19078         volatile.
19079         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19081 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19083         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19084         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19085         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19086         * sysdeps/x86_64/fpu/Versions: New versions added.
19087         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19088         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19089         build of SSE, AVX2 and AVX512 IFUNC versions.
19090         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19091         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19092         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19093         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19094         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19095         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19096         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19097         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19098         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19099         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19100         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19101         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19102         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19103         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19104         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19105         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19106         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19107         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19108         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19109         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19110         * NEWS: Mention addition of x86_64 vector sinf.
19112 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19114         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19115         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19116         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19117         Remove variable.
19118         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19119         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19121 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19123         [BZ #18530]
19124         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19125         strong alias of _IO_fputs.  Use libc_hidden_def.
19126         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19127         and define as weak alias of __fputs_unlocked.  Use
19128         libc_hidden_weak.
19129         * include/stdio.h (__fputs_unlocked): Declare.  Use
19130         libc_hidden_proto.
19131         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19132         fputs_unlocked.
19134         [BZ #18529]
19135         * resolv/netdb.h [__USE_POSIX]: Change condition to
19136         [__USE_XOPEN2K].
19137         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19138         not expect.
19139         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19140         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19141         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19142         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19143         [XPG4 || UNIX98] (AI_ALL): Likewise.
19144         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19145         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19146         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19147         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19148         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19149         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19150         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19151         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19152         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19153         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19154         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19155         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19156         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19157         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19158         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19159         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19160         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19161         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19162         [XPG4 || UNIX98] (gai_strerror): Likewise.
19163         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19164         [XPG4 || UNIX98] (getnameinfo): Likewise.
19166         [BZ #18528]
19167         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19168         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19169         __USE_XOPEN2K8].
19170         (getgrent): Likewise.
19171         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19172         expect.
19173         [XPG3 || POSIX2008] (endgrent): Likewise.
19174         [XPG3] (setgrent): Likewise.
19175         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19176         variable.
19177         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19179         [BZ #18527]
19180         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19181         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19182         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19183         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19184         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19185         * include/unistd.h (__getlogin_r): Declare.  Use
19186         libc_hidden_proto.
19187         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19188         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19189         variable.
19190         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19191         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19192         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19194 2015-06-12  Martin Sebor  <msebor@redhat.com>
19196         [BZ #18512]
19197         * Makerules (check-install-supported): New target.
19198         (install): Add check-install-supported as a dependency.
19199         * manual/install.texi (Installing the C Library): Document
19200         that overriding prefix and exec_prefix is not supported.
19201         Mention DESTDIR.
19202         * INSTALL: Regenerate from the above.
19204 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19206         [BZ #18519]
19207         * posix/Versions (libc): Export __libc_pread at version
19208         GLIBC_PRIVATE.
19209         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19210         instead of pread.
19211         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19212         variable.
19214         [BZ #18522]
19215         * misc/efgcvt_r.c
19216         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19217         (cvt_symbol): Use weak_alias instead of strong_alias.
19218         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19219         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19220         Remove variable.
19221         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19222         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19224         [BZ #18520]
19225         * inet/herrno.c (h_errno): Rename to __h_errno.
19226         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19227         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19228         to __h_errno instead of h_errno.
19229         * nptl/herrno.c (h_errno): Rename to __h_errno.
19230         (__h_errno_location): Refer to __h_errno not h_errno.
19231         * resolv/Versions (h_errno): Rename to __h_errno.
19232         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19233         Remove variable.
19234         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19236 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19238         * configure.ac: More strict check for AVX512 assembler support.
19239         * configure: Regenerated.
19241         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19242         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19243         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19244         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19245         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19246         * sysdeps/x86_64/fpu/Versions: New versions added.
19247         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19248         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19249         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19250         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19251         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19252         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19253         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19254         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19255         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19256         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19257         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19258         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19259         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19260         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19261         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19262         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19263         test.
19264         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19265         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19266         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19267         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19268         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19269         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19270         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19271         * NEWS: Mention addition of x86_64 vector sin.
19273 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19275         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19276         comment.
19278 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19280         [BZ #18479]
19281         * nptl/pt-interp.c: New file.
19282         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19283         Add pt-interp.
19284         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19285         $(common-objpfx)runtime-linker.h.
19287 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19289         * Makeconfig (+interp): Remove unused variable.
19290         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19291         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19292         $(elf-objpfx)runtime-linker.h.
19293         ($(elf-objpfx)runtime-linker.h): Rename to
19294         $(common-objpfx)runtime-linker.h and move ...
19295         * Makerules [$(build-shared) = yes]: ... here.
19296         * elf/interp.c: Include <runtime-linker.h> instead of
19297         <elf/runtime-linker.h>.
19299 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19301         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19302         (__gettimeofday_syscall): Remove vsyscall fallback.
19303         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19304         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19305         Add syscall fallback function.
19306         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19307         if vDSO is not present.
19308         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19309         fallback function.
19310         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19311         present.
19312         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19313         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19315 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19317         [BZ #18497]
19318         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19319         of wcscmp.
19320         (wcscmp): Define as weak alias of WCSCMP.
19321         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19322         wcscoll.
19323         (USE_HIDDEN_DEF): Define.
19324         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19325         __wcscoll.  Don't use libc_hidden_weak.
19326         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19327         wcscmp.
19328         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19329         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19330         __GI_wcscmp.
19331         (weak_alias): Undefine and redefine.
19332         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19333         __wcscmp and define as weak alias of __wcscmp.
19334         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19335         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19336         (__wcscoll): Likewise.
19337         (wcscmp): Don't use libc_hidden_proto.
19338         (wcscoll): Likewise.
19339         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19340         wcscoll.
19341         * posix/regexec.c (check_node_accept_bytes): Likewise.
19342         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19343         variable.
19344         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19345         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19347         [BZ #18507]
19348         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19349         __fstatvfs and define as weak alias of __fstatvfs.  Use
19350         libc_hidden_weak.
19351         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19352         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19353         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19354         Define as alias of __fstatvfs, not fstatvfs.
19355         (fstatvfs64): Likewise.
19356         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19357         Define as alias of __statvfs, not statvfs.
19358         (statvfs64): Likewise.
19359         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19360         Remove variable.
19362 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19365         (HAVE_GETCPU_VSYSCALL): Define.
19366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19367         (HAVE_GETCPU_VSYSCALL): Likewise.
19368         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19369         * sysdeps/unix/sysv/linux/sched_getcpu.c
19370         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19371         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19372         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19373         prototype.
19374         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19375         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19376         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19377         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19378         Define.
19379         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19380         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19381         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19382         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19384 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19386         * sysdeps/x86_64/fpu/Makefile: New file.
19387         * sysdeps/x86_64/fpu/Versions: New file.
19388         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19389         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19390         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19391         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19392         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19393         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19394         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19395         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19396         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19397         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19398         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19399         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19400         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19401         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19402         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19403         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19404         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19405         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19406         * sysdeps/x86_64/configure: Regenerated.
19407         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19408         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19409         * manual/install.texi (Configuring and compiling): Document
19410         --disable-mathvec.
19411         * INSTALL: Regenerated.
19412         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19414         * math/Makefile: Added rules for vector tests.
19415         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19416         declaration under condition.
19417         * math/test-double-vlen2.h: New file.
19418         * math/test-double-vlen4.h: New file.
19419         * math/test-double-vlen8.h: New file.
19420         * math/test-vec-loop.h: Added initialization macro.
19421         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19422         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19423         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19424         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19425         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19426         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19427         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19428         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19429         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19430         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19431         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19433         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19434         * sysdeps/x86_64/fpu/Versions: New versions added.
19435         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19436         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19437         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19438         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19439         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19440         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19441         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19442         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19443         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19444         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19445         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19446         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19447         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19448         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19449         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19450         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19451         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19452         * NEWS: Mention addition of x86_64 vector cosf.
19454         * math/Makefile: Added CFLAGS for new tests.
19455         * math/test-float-vlen16.h: New file.
19456         * math/test-float-vlen4.h: New file.
19457         * math/test-float-vlen8.h: New file.
19458         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19459         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19460         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19461         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19462         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19463         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19464         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19465         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19466         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19467         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19468         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19470 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19472         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19473         * locale/programs/ld-ctype.c: Likewise.
19475 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19477         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19478         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19479         bit_ZMM16_31_state): New macro.
19480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19481         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19483 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19485         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19487 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19489         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19491 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19493         [BZ #18498]
19494         * libio/memstream.c (open_memstream): Rename to __open_memstream
19495         and define as weak alias of __open_memstream.
19496         * include/stdio.h (__open_memstream): Declare.  Use
19497         libc_hidden_proto.
19498         (open_memstream): Don't use libc_hidden_proto.
19499         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19500         open_memstream.
19501         * posix/getopt.c (_getopt_internal_r): Likewise.
19502         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19503         variable.
19504         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19505         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19506         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19508         [BZ #18496]
19509         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19510         instead of wcrtomb.
19512         [BZ #18483]
19513         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19514         [__USE_XOPEN2K8].  Remove redundant #endif.
19515         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19516         Remove redundant #if.
19517         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19518         Remove variable.
19519         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19520         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19522         [BZ #18495]
19523         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19524         (__iswlower): Likewise.
19525         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
19526         (__iswlower): Likewise.
19527         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19528         instead of towlower.
19529         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19530         instead of iswlower.  Call __towupper instead of towupper.
19531         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19532         instead of iswalnum.
19534 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19536         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19537         errors to stderr.
19539 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19541         [BZ #15661]
19542         [BZ #17322]
19543         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19544         Check for overflow properly.  Check for O_APPEND.  Ignore large
19545         file system block sizes.  Add comments about problems.
19546         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19547         * manual/filesys.texi (Storage Allocation): New node.
19549 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19551         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19552         cancellable syscalls.
19553         (SYS_ify): Add guard to no redefine it.
19554         (INLINE_SYSCALL): Likewise.
19555         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19556         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19557         SYSCALL_CANCEL instead.
19558         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19559         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19560         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19561         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19562         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19563         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19564         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19565         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19566         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19567         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19568         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19569         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19570         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19571         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19572         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19573         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19574         Likewise.
19575         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19576         (__libc_pread64): Likewise.
19577         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19578         (__libc_preadv): Likewise.
19579         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19580         (__libc_readv64): Likewise.
19581         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19582         (__libc_pwrite): Likewise.
19583         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19584         (__libc_pwrite64): Likewise.
19585         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19586         (__libc_pwritev): Likewise.
19587         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19588         (__libc_pwritev64): Likewise.
19589         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19590         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19591         (sync_file_range): Likewise.
19592         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19593         Likewise.
19594         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19595         Likewise.
19596         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19597         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19598         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19599         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19600         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19601         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19602         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19603         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19605         Likewise.
19606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19607         (__libc_read64): Likewise.
19608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19609         Likewise.
19610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19611         Likewise.
19612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19613         Likewise.
19614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19615         Likewise.
19616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19617         (__libc_pread64): Likewise.
19618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19619         Likewise.
19620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19621         (__libc_pwrite64): Likewise.
19622         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19623         (sync_file_range): Likewise.
19624         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19625         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19626         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19627         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19628         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19629         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19630         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19631         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19632         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19633         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19634         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19635         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19636         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19637         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19638         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19639         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19640         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19641         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19642         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19643         Likewise.
19644         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19645         Likewise.
19646         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19647         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19648         Likewise.
19649         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19650         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19651         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19652         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19653         Likewise.
19654         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19655         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19656         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19657         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19658         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19660 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
19662         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19663         Include dl-vdso.
19664         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19665         Use VDSO routines for gettimeofday, clock_gettime if
19666         available.
19667         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19668         Declare VDSO symbols.
19669         * sysdeps/unix/sysv/linux/arm/sysdep.h:
19670         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19671         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19672         * sysdeps/unix/sysv/linux/arm/Versions: Add
19673         __vdso_clock_gettime.
19675 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19677         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19678         be an inline implementation regardless of library is built within.
19679         (open_not_cancel_2): Likewise.
19680         (__read_nocancel): Likewise.
19681         (__write_nocancel): Likewise.
19682         (openat_not_cancel): Likewise.
19683         (openat_not_cancel_3): Likewise.
19684         (openat64_not_cancel): Likewise.
19685         (openat64_not_cancel_3): Likewise.
19686         (__close_nocancel): Likewise.
19687         (pause_not_cancel): Likewise.
19688         (nanosleep_not_cancel): Likewise.
19689         (sigsuspend_not_cancel): Likewise.
19691 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19693         [BZ #14958]
19694         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19695         wake-up.
19696         (__pthread_rwlock_rdlock_slow): Likewise.
19697         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19698         Likewise.
19699         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19700         Likewise.
19701         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19702         * nptl/tst-rwlock16.c: New file.
19703         * nptl/Makefile (tests): Add new test.
19705 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19707         [BZ #18324]
19708         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19709         missing wake-up of readers.
19710         * nptl/tst-rwlock15.c: New file.
19711         * nptl/Makefile (tests): Add new test.
19713 2015-06-03  Roland McGrath  <roland@hack.frob.com>
19715         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19716         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19717         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19718         and __nacl_supply_interface_rtld.
19719         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19720         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19721         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19722         Add __nacl_supply_interface_rtld.
19723         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19725 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19727         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19728         isfinite.
19729         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19730         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19732 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19734         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19735         __signbit* with standard C99 macros.
19736         * math/e_exp10l.c: Likewise.
19737         * math/e_exp2l.c: Likewise.
19738         * math/e_scalb.c: Likewise.
19739         * math/e_scalbf.c: Likewise.
19740         * math/e_scalbl.c: Likewise.
19741         * math/s_ldexp.c: Likewise.
19742         * math/s_ldexpf.c: Likewise.
19743         * math/s_ldexpl.c: Likewise.
19744         * math/w_atan2.c: Likewise.
19745         * math/w_atan2f.c: Likewise.
19746         * math/w_atan2l.c: Likewise.
19747         * math/w_cosh.c: Likewise.
19748         * math/w_coshf.c: Likewise.
19749         * math/w_coshl.c: Likewise.
19750         * math/w_exp10.c: Likewise.
19751         * math/w_exp10f.c: Likewise.
19752         * math/w_exp10l.c: Likewise.
19753         * math/w_exp2.c: Likewise.
19754         * math/w_exp2f.c: Likewise.
19755         * math/w_exp2l.c: Likewise.
19756         * math/w_fmod.c: Likewise.
19757         * math/w_fmodf.c: Likewise.
19758         * math/w_fmodl.c: Likewise.
19759         * math/w_hypot.c: Likewise.
19760         * math/w_hypotf.c: Likewise.
19761         * math/w_hypotl.c: Likewise.
19762         * math/w_jnl.c: Likewise.
19763         * math/w_lgamma.c: Likewise.
19764         * math/w_lgamma_r.c: Likewise.
19765         * math/w_lgammaf.c: Likewise.
19766         * math/w_lgammaf_r.c: Likewise.
19767         * math/w_lgammal.c: Likewise.
19768         * math/w_lgammal_r.c: Likewise.
19769         * math/w_pow.c: Likewise.
19770         * math/w_powf.c: Likewise.
19771         * math/w_powl.c: Likewise.
19772         * math/w_remainder.c: Likewise.
19773         * math/w_remainderf.c: Likewise.
19774         * math/w_remainderl.c: Likewise.
19775         * math/w_scalb.c: Likewise.
19776         * math/w_scalbf.c: Likewise.
19777         * math/w_scalbl.c: Likewise.
19778         * math/w_scalbln.c: Likewise.
19779         * math/w_scalblnf.c: Likewise.
19780         * math/w_scalblnl.c: Likewise.
19781         * math/w_sinh.c: Likewise.
19782         * math/w_sinhf.c: Likewise.
19783         * math/w_sinhl.c: Likewise.
19784         * math/w_tgamma.c: Likewise.
19785         * math/w_tgammaf.c: Likewise.
19786         * math/w_tgammal.c: Likewise.
19787         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19788         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19789         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19790         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19791         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19792         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19793         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19794         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19795         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19796         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19797         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19798         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19799         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19800         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19801         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19802         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19803         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19804         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19805         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19806         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19807         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19808         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19809         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19810         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19811         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19812         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19813         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19814         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19815         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19816         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19817         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19818         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19819         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19820         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19821         * stdio-common/printf_fp.c: Likewise.
19822         * stdio-common/printf_fphex.c: Likewise.
19823         * stdio-common/printf_size.c: Likewise.
19825 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
19827         [BZ #18470]
19828         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19829         strnlen.
19830         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19831         Remove variable.
19832         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19833         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19834         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19835         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19836         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19837         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19838         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19839         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19840         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19841         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19843         [BZ #18468]
19844         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19845         weak alias of __wmemchr.  Use libc_hidden_weak.
19846         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
19847         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19848         instead of wmemchr.
19850 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19852         [BZ #18383]
19853         * elf/tst-tlsalign-extern.c: New file.
19854         * elf/tst-tlsalign-extern-static.c: New file.
19855         * elf/tst-tlsalign-vars.c: New file.
19856         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19857         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19858         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19859         ($(objpfx)tst-tlsalign-extern-static): Likewise.
19860         (test-xfail-tst-tlsalign-extern-static): New variable.
19862 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
19864         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19865         Use variable name _sc_err instead of err.
19866         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19867         instead of ret.
19868         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19869         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19870         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19871         (INLINE_SYSCALL): Likewise.
19873         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19874         * include/string.h (__strnlen): Use libc_hidden_proto.
19875         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19876         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19877         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19878         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19879         (libc_hidden_def): Undefine and redefine.
19880         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19881         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19882         __GI_strnlen.
19883         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19884         libc_hidden_def.
19885         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19887         [BZ #18469]
19888         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19889         weak alias of __towlower.  Use libc_hidden_weak.
19890         (towupper): Rename to __towupper and define as weak alias of
19891         __towupper.  Use libc_hidden_weak.
19892         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
19893         (__towupper): Likewise.
19894         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19895         __towlower instead of towlower.
19897 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19899         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19900         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19902 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19904         * sysdeps/aarch64/libm-test-ulps: Update.
19906 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19908         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19909         Define.
19910         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19912         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19913         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19914         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19915         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19916         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19918 2015-06-01  Martin Sebor  <msebor@redhat.com>
19920         [BZ #18116]
19921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19922         (__setcontext): Use extended four-operand version of mtsf whenever
19923         possible.
19924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19925         (__novec_swapcontext): Likewise.
19927 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19929         * benchtests/scripts/compare_bench.py: New file.
19930         * benchtests/scripts/import_bench.py (mean): New function.
19931         (split_list): Likewise.
19932         (do_for_all_timings): Likewise.
19933         (compress_timings): Likewise.
19935         * benchtests/scripts/import_bench.py: New file.
19936         * benchtests/scripts/validate_benchout.py: Import import_bench
19937         instead of jsonschema.
19938         (validate_bench): Remove function.
19939         (main): Use import_bench.
19941 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
19943         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19944         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19946 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19950 2015-05-28  Roland McGrath  <roland@hack.frob.com>
19952         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19953         set THREAD_SELF->tid to a magic value and futex-wake it.
19954         Pass its address to the thread_exit system call.
19955         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19956         bit is clear.
19957         * sysdeps/nacl/lowlevellock.h: New file.
19958         * sysdeps/nacl/lll_timedwait_tid.c: New file.
19960         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19961         Add TIMEOUT to current time, don't subtract it.
19963 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
19965         [BZ #2981]
19966         [BZ #18422]
19967         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19968         ($(objpfx)tst-audit2.out): Also depend on
19969         $(objpfx)tst-auditmod9b.so.
19970         * elf/tst-audit2.c: Include <dlfcn.h>.
19971         (calloc_called): New.
19972         (calloc): Allow to be called more than once.
19973         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19975 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
19977         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
19978         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
19980 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
19982         * stdlib/monetary.h: Fix comment.
19984 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
19986         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
19987         Avoid using variables in #defines that might cause shadowing.
19988         (INTERNAL_VSYSCALL_CALL): Likewise.
19990 2015-05-26  Roland McGrath  <roland@hack.frob.com>
19992         * sysdeps/nacl/lll_timedlock_wait.c: New file.
19994         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
19995         * nptl/lll_timedlock_wait.c: ... to this new file.
19996         * nptl/Makefile (libpthread-routines): Add it.
19997         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
19998         * nptl/lll_timedwait_tid.c: ... to this new file.
19999         * nptl/Makefile (libpthread-routines): Add it.
20000         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20001         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20002         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20003         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20004         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20005         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20006         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20007         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20008         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20009         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20011 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20013         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20014         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20015         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20016         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20017         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20018         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20019         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20020         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20021         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20022         * sysdeps/unix/sysv/linux/tile/sysdep.h
20023         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20024         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20025         using vDSO syscall macro.
20027 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20029         [BZ #17293]
20030         * uk_UA: Fix sorting order for Ukrainian locale
20032 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20034         * stdlib/monetary.h: Fix comment.
20036 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20038         [BZ #18234]
20039         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20040         st_mtim and st_ctim members.
20041         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20042         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20043         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20044         (struct stat64): Likewise.
20045         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20046         (struct stat64): Likewise.
20047         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20048         (struct stat64): Likewise.
20050 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20052         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20053         Define and include sysdep-vdso.h.
20054         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20055         Likewise.
20056         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20057         Likewise.
20058         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20059         Define with VDSO_SYMBOL and use PTR_MANGLE.
20060         (__vdso_clock_gettime): Likewise.
20061         (__vdso_clock_getres): Likewise.
20062         (_libc_vdso_platform_setup): Likewise.
20063         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20064         Likewise.
20065         (_libc_vdso_platform_setup): Likewise.
20066         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20067         Likewise.
20068         (__vdso_clock_gettime): Likewise.
20069         (__vdso_clock_getres): Likewise.
20070         (__vdso_get_tbfreq): Likewise.
20071         (__vdso_getcpu): Likewise.
20072         (__vdso_time): Likewise.
20073         (__vdso_sigtramp_rt64): Likewise.
20074         (__vdso_signtramp32): Likewise.
20075         (__vdso_sigtramp_rt32): Likewise.
20076         (_libc_vdso_platform_setup): Likewise.
20077         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20078         Likewise.
20079         (__vdso_clock_gettime): Likewise.
20080         (__vdso_clock_getres): Likewise.
20081         (_libc_vdso_platform_setup): Likewise.
20082         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20083         Likewise.
20084         (__vdso_clock_gettime): Likewise.
20085         (_libc_vdso_platform_setup): Likewise.
20086         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20087         Likewise.
20088         (__vdso_getcpu): Likewise.
20089         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20090         Use VDSO_SYMBOL macro to define.
20091         (__vdso_clock_gettime): Likewise.
20092         (__vdso_clock_getres): Likewise.
20093         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20094         Likewise.
20095         (__vdso_clock_gettime): Likewise.
20096         (__vdso_clock_getres): Likewise.
20097         (__vdso_get_tbfreq): Likewise.
20098         (__vdso_getcpu): Likewise.
20099         (__vdso_time): Likewise.
20100         (__vdso_sigtramp_rt64): Likewise.
20101         (__vdso_signtramp32): Likewise.
20102         (__vdso_sigtramp_rt32): Likewise.
20103         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20104         Likewise.
20105         (__vdso_clock_gettime): Likewise.
20106         (__vdso_clock_getres): Likewise.
20107         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20108         Likewise.
20109         (__vdso_clock_gettime): Likewise.
20110         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20111         Likewise.
20112         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20113         macro.
20114         (INTERNAL_VSYSCALL): Likewise.
20115         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20116         Remove macro.
20117         (INTERNAL_VSYSCALL): Likewise.
20118         (INTERNAL_VSYSCALL_NCS): Likewise.
20119         (INTERNAL_VSYSCALL_CALL): New macro.
20120         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20121         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20122         Likewise.
20123         (INTERNAL_VSYSCALL): Likewise.
20124         (INTERNAL_VSYSCALL_NCS): Likewise.
20125         (INTERNAL_VSYSCALL_CALL): New macro.
20126         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20128         (INLINE_VSYSCALL): Remove macro.
20129         (INTERNAL_VSYSCALL): Remove macro.
20130         (INTERNAL_VSYSCALL_NCS): Remove macro.
20131         (INTERNAL_VSYSCALL_CALL): New macro.
20132         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20133         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20134         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20135         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20136         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20138         (INLINE_VSYSCALL): Remove macro.
20139         (INTERNAL_VSYSCALL): Likewise.
20140         (INTERNAL_VSYSCALL_NCS): Likewise.
20141         (INTERNAL_VSYSCALL_CALL): New macro.
20142         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20143         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20144         PTR_DEMANGLE on vDSO pointer.
20145         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20146         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20147         macro.
20148         (INTERNAL_SYSCALL): Likewise.
20149         (INTERNAL_VSYSCALL_NCS): Remove macro.
20150         (INTERNAL_VSYSCALL_CALL): New macro.
20151         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20152         Remove macro.
20153         (INTERNAL_VSYSCALL): Likewise.
20154         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20155         sysdep-vdso.h instead of libc-vdso.h.
20156         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20157         definition.
20158         (INLINE_VSYSCALL): Likewise.
20159         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20160         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20161         definition.
20162         (INLINE_VSYSCALL): Likewise.
20163         (INTERNAL_VSYSCALL): Likewise.
20164         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20165         * sysdeps/unix/sysv/linux/timespec_get.c
20166         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20167         (timespec_get): Use ANSI prototype.
20168         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20169         and definition for Linux.
20171 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20173         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20174         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20176 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20178         [BZ #2981]
20179         [BZ #18410]
20180         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20181         for missing DT_PLTRELSZ.
20183 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20185         Remove obsolete aliases that broke 'locale -a'
20186         [BZ #18412]
20187         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20188         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20189         breaking some applications that use 'locale -a' output.
20190         Change the encoding of this file from Latin-1 to ASCII to avoid
20191         other potential problems with people grepping this file.
20193 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20195         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20196         -fasynchronous-unwind-tables.
20197         (CFLAGS-sendto.c): Likewise.
20198         (CFLAGS-sendmsg.c): Likewise.
20199         (CFLAGS-connect.c): Likewise.
20200         (CFLAGS-recvmsg.c): Likewise.
20201         (CFLAGS-recvfrom.c): Likewise.
20202         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20203         (SOCKETCALL): New macro: non-cancellable socketcall.
20204         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20205         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20206         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20207         * sysdeps/unix/sysv/linux/accept.c: New file.
20208         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20209         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20210         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20211         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20212         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20213         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20214         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20215         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20216         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20217         * sysdeps/unix/sysv/linux/send.c: Likewise.
20218         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20219         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20220         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20221         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20222         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20223         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20224         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20225         prototype.
20226         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20227         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20228         instead of __internal_xxx function.
20229         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20230         prototype.
20231         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20232         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20233         instead of __internal_xxx function.
20234         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20235         prototype.
20236         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20237         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20238         instead of __internal_xxx function.
20239         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20240         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20241         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20242         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20243         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20244         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20245         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20246         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20247         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20248         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20249         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20250         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20251         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20252         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20253         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20254         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20255         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20256         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20257         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20258         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20261         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20262         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20263         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20264         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20265         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20266         * sysdeps/unix/sysv/linux/send.S: Likewise.
20267         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20268         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20269         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20270         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20271         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20272         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20273         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20274         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20275         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20276         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20277         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20278         socketcall is implemented in GLIBC.
20280 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20282         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20283         (__fma): Ignore uninitialized warnings around packing.
20284         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20285         (__fmaf): Ignore uninitialized warnings around packing.
20286         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20287         (__fmal): Ignore uninitialized warnings around packing.
20289         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20290         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20291         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20292         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20294         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20295         switch statement into default case.
20296         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20298         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20299         a conditional in forcing "inexact".
20300         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20301         Likewise.
20303 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20305         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20306         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20307         for each INTERNAL_SYSCALL use.
20309 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20311         [BZ #438]
20312         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20313         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20314         variable.
20316         [BZ #18444]
20317         * string/basename.c (basename): Rename to __basename and define as
20318         weak alias of __basename.  Use libc_hidden_weak.
20319         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20320         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20321         __basename instead of basename.
20322         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20323         Remove variable.
20324         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20326 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20328         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20329         (_IO_JUMPS_FILE_plus): New.
20330         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20331         _IO_CAST_FIELD_ACCESS.
20332         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20333         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20334         * libio/freopen.c (freopen): Likewise.
20335         * libio/freopen64.c (freopen64): Likewise.
20336         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20337         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20338         * libio/iofwide.c (_IO_fwide): Likewise.
20339         * libio/memstream.c (open_memstream): Likewise.
20340         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20341         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20342         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20344 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20346         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20347         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20348         NADJ.
20349         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20350         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20351         NADJ.
20352         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20353         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20354         NADJ.
20356         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20357         (p == 4) case.
20359         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20360         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20361         Remove variable.
20362         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20363         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20364         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20366 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20368         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20369         Adjust jump table label generation macros.
20371 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20373         * stdio-common/vfprintf.c (vfprintf): Move local variables
20374         args_malloced, specs, specs_malloced, and the code after
20375         do_positional to the printf_positional function.
20376         (printf_positional): New function.
20378 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20380         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20381         function.
20382         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20383         STEP4_TABLE, process_arg): Move macro definitions
20384         out of the vfprintf function.  (Cosmetic change only.)
20386 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20388         * benchtests/Makefile (stdio-common-bench): Define.
20389         (benchset): Add stdio-common-bench.
20390         * sprintf-inputs: New file.
20391         * sprintf-source.c: New file.
20393 2015-05-21  Andreas Schwab  <schwab@suse.de>
20395         [BZ #13028]
20396         [BZ #17053]
20397         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20398         of struct __res_state.
20399         * resolv/res_send.c (__libc_res_nsend): Likewise.
20400         (get_nsaddr): New function.
20401         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20402         statp directly.
20404 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20406         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20407         -D_POSIX_C_SOURCE=199506L.
20409         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20411         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20412         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20413         Do not mention otherwise.
20414         [POSIX] (_XOPEN_VERSION): Do not expect.
20415         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20416         [POSIX] (_POSIX2_C_BIND): Likewise.
20417         [POSIX] (_POSIX2_VERSION): Likewise.
20418         [POSIX] (_XOPEN_XPG2): Likewise.
20419         [POSIX] (_XOPEN_XPG3): Likewise.
20420         [POSIX] (_XOPEN_XPG4): Likewise.
20421         [POSIX] (_XOPEN_UNIX): Likewise.
20422         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20423         [POSIX] (_POSIX_BARRIERS): Likewise.
20424         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20425         [POSIX] (_POSIX_CPUTIME): Likewise.
20426         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20427         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20428         [POSIX] (_POSIX_SHELL): Likewise.
20429         [POSIX] (_POSIX_SPAWN): Likewise.
20430         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20431         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20432         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20433         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20434         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20435         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20436         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20437         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20438         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20439         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20440         [POSIX] (_POSIX2_PBS): Likewise.
20441         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20442         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20443         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20444         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20445         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20446         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20447         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20448         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20449         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20450         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20451         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20452         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20453         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20454         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20455         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20456         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20457         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20458         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20459         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20460         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20461         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20462         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20463         [POSIX] (_SC_2_C_BIND): Likewise.
20464         [POSIX] (_SC_2_C_VERSION): Likewise.
20465         [POSIX] (_SC_2_PBS): Likewise.
20466         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20467         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20468         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20469         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20470         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20471         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20472         [POSIX] (_SC_BARRIERS): Likewise.
20473         [POSIX] (_SC_BASE): Likewise.
20474         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20475         [POSIX] (_SC_DEVICE_IO): Likewise.
20476         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20477         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20478         [POSIX] (_SC_FD_MGMT): Likewise.
20479         [POSIX] (_SC_FIFO): Likewise.
20480         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20481         [POSIX] (_SC_FILE_LOCKING): Likewise.
20482         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20483         [POSIX] (_SC_IOV_MAX): Likewise.
20484         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20485         [POSIX] (_SC_NETWORKING): Likewise.
20486         [POSIX] (_SC_PAGE_SIZE): Likewise.
20487         [POSIX] (_SC_PASS_MAX): Likewise.
20488         [POSIX] (_SC_PIPE): Likewise.
20489         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20490         [POSIX] (_SC_REGEXP): Likewise.
20491         [POSIX] (_SC_SHELL): Likewise.
20492         [POSIX] (_SC_SIGNALS): Likewise.
20493         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20494         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20495         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20496         [POSIX] (_SC_USER_GROUPS): Likewise.
20497         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20498         [POSIX] (_SC_STREAMS): Likewise.
20499         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20500         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20501         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20502         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20503         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20504         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20505         [POSIX] (_PC_FILESIZEBITS): Likewise.
20506         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20507         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20508         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20509         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20510         [POSIX] (uid_t): Likewise.
20511         [POSIX] (gid_t): Likewise.
20512         [POSIX] (off_t): Likewise.
20513         [POSIX] (pid_t): Likewise.
20514         [POSIX] (cuserid): Allow.
20515         (_SC_2_CHAR_TERM): Require constant.
20516         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20517         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20518         variable.
20520 2015-05-20  Roland McGrath  <roland@hack.frob.com>
20522         * sysdeps/nacl/pthread-pids.h: New file.
20523         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20524         (create_thread): Use __nacl_get_tid to initialize PD->tid.
20526         * nptl/pthread-pids.h: New file.
20527         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20528         * nptl/nptl-init.c: Include <pthread-pids.h>.
20529         (__pthread_initialize_minimal_internal):
20530         Call __pthread_initialize_pids instead of set_tid_address syscall.
20532         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20533         * sysdeps/posix/usleep.c: ... here.
20535 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20537         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20538         call_pselect6 object.
20539         [$(subdir) = io]: Remove call_sync_file_range object.
20540         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20541         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20542         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20543         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20545 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20547         * math/s_cproj.c: Add include "math_private.h".
20548         * math/s_cprojf.c: Likewise.
20549         * math/s_cprojl.c: Likewise.
20551 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20553         [BZ #18244]
20554         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20555         high mantissa bit when testing whether P is a NaN.
20556         * math/libm-test.inc (remainder_test_data): Add more tests.
20557         (remquo_test_data): Likewise.
20559         [BZ #18049]
20560         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20561         below -32, return the argument, with underflow if subnormal.
20562         * math/auto-libm-test-in: Add more tests of atanh.
20563         * math/auto-libm-test-out: Regenerated.
20565 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20567         [BZ #18434]
20568         * nptl/tst-sem15.c: New file.
20569         * nptl/Makefile (tests): Add it.
20570         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20571         s/<</>>/ to fix typo in EOVERFLOW check.
20572         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20574 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20576         * manual/strings.texi (envz_remove): Fix typo in safety
20577         annotations.
20579 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20580             Steve Ellcey  <sellcey@imgtec.com>
20582         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20583         in order to avoid strict alias warnings.
20584         (iruserok_af): Ditto for ra.
20586 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20588         [BZ #17581]
20589         * malloc/hooks.c
20590         (magicbyte): Convert to a function and avoid returning 0x01.
20591         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20592         (mem2chunk_check): Fix unsigned comparisons to zero.
20593         Hoist defs of sz and magic.
20595 2015-05-19  Richard Henderson  <rth@redhat.com>
20597         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20599         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20601 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20603         [BZ #16159]
20604         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20605         * malloc/arena.c (arena_lock): Check if arena is corrupt.
20606         (reused_arena): Find a non-corrupt arena.
20607         (heap_trim): Pass arena to unlink.
20608         * malloc/hooks.c (malloc_check_get_size): Pass arena to
20609         malloc_printerr.
20610         (top_check): Likewise.
20611         (free_check): Likewise.
20612         (realloc_check): Likewise.
20613         * malloc/malloc.c (malloc_printerr): Add arena argument.
20614         (unlink): Likewise.
20615         (munmap_chunk): Adjust.
20616         (ARENA_CORRUPTION_BIT): New macro.
20617         (arena_is_corrupt): Likewise.
20618         (set_arena_corrupt): Likewise.
20619         (sysmalloc): Use mmap if there are no usable arenas.
20620         (_int_malloc): Likewise.
20621         (__libc_malloc): Don't fail if arena_get returns NULL.
20622         (_mid_memalign): Likewise.
20623         (__libc_calloc): Likewise.
20624         (__libc_realloc): Adjust for additional argument to
20625         malloc_printerr.
20626         (_int_free): Likewise.
20627         (malloc_consolidate): Likewise.
20628         (_int_realloc): Likewise.
20629         (_int_memalign): Don't touch corrupt arenas.
20630         * malloc/tst-malloc-backtrace.c: New test case.
20632         * Makefile (summarize-tests): Fix return value on success.
20634         * manual/string.texi (Envz Functions): Add envz_remove.
20636 2015-05-18  Roland McGrath  <roland@hack.frob.com>
20638         * sysdeps/posix/opendir.c: Include <stdbool.h>.
20639         (invalid_name): New function, broken out of ...
20640         (__opendirat): ... here.  Call it.
20641         (need_isdir_precheck): New function, broken out of ...
20642         (__opendirat): ... here.  Call it.
20643         Use __fxstatat64, not __xstatat64.
20644         (opendir_oflags): New function, broken out of ...
20645         (__opendirat): ... here.  Call it.
20646         (opendir_tail): New function, broken out of ...
20647         (__opendirat): ... here.  Call it.
20648         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20649         opendir_tail, rather than punting to __opendirat.
20650         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20652 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20654         * .gitignore: Ignore generated *.pyc.
20656 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
20658         * include/stdio.h: Define __need_wint_t.
20659         * test-skeleton.c: Avoid `for' loop initial declaration.
20660         * nptl/tst-initializers1.c: Use test-skeleton.c.
20662 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20664         [BZ #18418]
20665         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20667 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20669         [BZ #16352]
20670         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20671         (__ieee754_atanh): Force underflow exception for results with
20672         small absolute value.
20673         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20674         (__ieee754_atanhf): Force underflow exception for results with
20675         small absolute value.
20676         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20677         (__ieee754_atanh): Force underflow exception for results with
20678         small absolute value.
20679         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20680         (__ieee754_atanhf): Force underflow exception for results with
20681         small absolute value.
20682         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20683         (__ieee754_atanhl): Force underflow exception for results with
20684         small absolute value.
20685         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20686         (__ieee754_atanhl): Force underflow exception for results with
20687         small absolute value.
20688         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20689         (__ieee754_atanhl): Force underflow exception for results with
20690         small absolute value.
20691         * math/auto-libm-test-in: Do not allow missing underflow
20692         exceptions from atanh.
20693         * math/auto-libm-test-out: Regenerated.
20695         [BZ #18221]
20696         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20697         2**-28 as threshold for returning x or +/- 1/x.
20698         * math/auto-libm-test-in: Add more tests of tan.
20699         * math/auto-libm-test-out: Regenerated.
20701         [BZ #18220]
20702         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20703         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20704         * math/auto-libm-test-in: Add another test of lgamma.
20705         * math/auto-libm-test-out: Regenerated.
20707 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
20709         * stdio-common/printf_fp.c (___printf_fp): Use abs.
20710         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
20711         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20712         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20713         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
20714         (ADD2A): Use fabs.  (SUB2A): Use fabs.
20715         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20716         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20717         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20718         (log1): Use fabs.  (my_log2): Use fabs.
20719         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20720         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20721         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20722         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20723         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20724         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
20725         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
20726         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
20727         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
20728         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20729         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20731 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20733         [BZ #18217]
20734         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20735         as threshold for returning 1 - x.
20736         * math/auto-libm-test-in: Add more tests of erfc.
20737         * math/auto-libm-test-out: Regenerated.
20739 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
20741         [BZ #18196]
20742         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20743         threshold for large arguments.
20744         * math/auto-libm-test-in: Add another test of atan.
20745         * math/auto-libm-test-out: Regenerated.
20747         [BZ #16339]
20748         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20749         (__log1p): Force underflow exception for results with small
20750         absolute value.
20751         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20752         (__log1pf): Force underflow exception for results with small
20753         absolute value.
20754         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20755         (__log1p): Force underflow exception for results with small
20756         absolute value.
20757         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20758         (__log1pf): Force underflow exception for results with small
20759         absolute value.
20760         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20761         (__log1pl): Force underflow exception for results with small
20762         absolute value.
20763         * math/auto-libm-test-in: Do not allow missing underflow
20764         exceptions from log1p.
20765         * math/auto-libm-test-out: Regenerated.
20767 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
20768             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20770         [BZ #16704]
20771         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20773 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
20775         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20776         (libmvec): New variable.
20777         * configure.ac: Added option for mathvec build.
20778         * configure: Regenerated.
20779         * mathvec/Depend: New file.
20780         * mathvec/Makefile: New file.
20781         * shlib-versions: Added libmvec.
20782         * math/Makefile: Added rule for libm.so installation.
20784         * bits/math-vector.h: New file.
20785         * bits/libm-simd-decl-stubs.h: New header.
20786         * math/Makefile (headers): Added new header
20787         libm-simd-decl-stubs.h.
20788         * math/math.h (__MATHCALL_VEC): New macro.
20790         * math/gen-libm-have-vector-test.sh: Script generates series of macros
20791         for conditions in testing functions.
20792         * math/Makefile: Added call of libm-have-vector-test.sh.
20793         * math/libm-test.inc (HAVE_VECTOR): New macros.
20795         * math/libm-test.inc: START refactored.
20796         * math/test-double.c (TEST_MATHVEC): Add define.
20797         * math/test-float.c: Likewise.
20798         * math/test-idouble.c: Likewise.
20799         * math/test-ifloat.c: Likewise.
20800         * math/test-ildoubl.c: Likewise.
20801         * math/test-ldouble.c: Likewise.
20802         * sysdeps/generic/math-tests-arch.h
20803         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
20804         architecture check.
20806         * math/test-double.c (FUNC_TEST): New macro.
20807         * math/test-float.c: Likewise.
20808         * math/test-idouble.c: Likewise.
20809         * math/test-ifloat.c: Likewise.
20810         * math/test-ildoubl.c: Likewise.
20811         * math/test-ldouble.c: Likewise.
20812         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20814 2015-05-13  Roland McGrath  <roland@hack.frob.com>
20816         * sysdeps/nacl/fdopendir.c: New file.
20818         * dirent/scandir-tail.c: New file.
20819         * dirent/scandir64-tail.c: New file.
20820         * dirent/Makefile (routines): Add them.
20821         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20822         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20823         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20824         [!SCANDIR] (SCANDIR_TAIL): New macro.
20825         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20826         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20827         (SCANDIRAT): Macro removed.
20828         (SCANDIR_TAIL): New macro.
20829         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20830         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20831         (SCANDIRAT): Just call __opendirat and __scandir_tail.
20832         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20833         (READDIR): Macro removed.
20834         (SCANDIR_TAIL): New macro.
20835         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20836         (SCANDIR_TAIL): New macro.
20838         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20839         * dirent/scandir-cancel.c: ... to this new file.
20840         * dirent/Makefile (routines): Add it.
20841         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20842         * sysdeps/unix/sysv/linux/i386/scandir64.c
20843         (SKIP_SCANDIR_CANCEL): Macro removed.
20844         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20846         * dirent/tst-scandir.c: New file.
20847         * dirent/tst-scandir64.c: New file.
20848         * dirent/Makefile (tests): Add them.
20850 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20852         [BZ #18409]
20853         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20855 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20857         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20858         list.
20860 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
20862         * benchtests/bench-strcoll.c: New benchmark.
20863         * benchtests/Makefile: Generate locales and run benchmark.
20864         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20865         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20866         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20867         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20868         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20869         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20870         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20871         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20872         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20873         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20874         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20875         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20876         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20877         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20878         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20879         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20880         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20881         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20882         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20883         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20884         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20885         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20886         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20887         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20889 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
20891         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20892         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20894 2015-05-12  Roland McGrath  <roland@hack.frob.com>
20896         * posix/uname-values.h: New file.
20897         * posix/uname.c: Include that instead of <config-name.h>.
20898         * sysdeps/nacl/uname-values.h: New file.
20899         * sysdeps/arm/nacl/uname-values.h: New file.
20901 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
20903         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20904         splitting into fields.
20906 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
20908         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20909         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20910         * locale/localeinfo.h: Add enum collation_encoding_type.
20911         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20912         * programs/ld-collate.c (collate_output): Add encoding type info.
20913         * string/strcoll_l.c (STRDIFF): New function.
20914         * (STRCOLL): Use STRDIFF to skip over equal prefix.
20915         * wcsmbs/wcscoll_l.c: Define STRDIFF.
20917 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
20919         [BZ #18397]
20920         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20921         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
20922         <fpu_control.h> instead of <math/fpu_control.c>.
20923         * sysdeps/mips/mips32/fpu/Makefile: New file.
20925 2015-05-11  Andreas Schwab  <schwab@suse.de>
20927         [BZ #18007]
20928         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20929         nss_endgrent.
20930         (_nss_compat_endgrent): Call nss_endgrent.
20931         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20932         nss_endpwent.
20933         (_nss_compat_endpwent): Call nss_endpwent.
20934         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20935         needent, call nss_setspent only if non-zero.
20936         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20937         (internal_endspent): Don't call nss_endspent.
20938         (_nss_compat_endspent): Call nss_endspent.
20939         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20940         Remove.  All uses removed.
20941         (internal_setent): Remove parameter stayopen, add parameter
20942         stream.  Use it instead of global variable.
20943         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20944         (internal_endent, internal_getent): Add parameter stream.  Use it
20945         instead of global variable.
20946         (CONCAT(_nss_files_end,ENTNAME))
20947         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20948         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
20949         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
20950         uses removed.
20951         (internal_setent, internal_endent): Add parameter stream.  Use it
20952         instead of global variable.
20953         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20954         stream.
20955         (get_next_alias): Add parameter stream.
20956         (_nss_files_getaliasent_r): Pass global stream.
20957         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
20958         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20959         (_nss_files_gethostbyname4_r): Pass local stream to
20960         internal_setent, internal_getent and internal_endent.  Remove
20961         locking.
20963 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20965         * tst-strfmon1.c (tests): Update expected currency symbol.
20967 2015-05-08  Roland McGrath  <roland@hack.frob.com>
20969         * sysdeps/nacl/gethostname.c: New file.
20971 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
20973         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20974         and sinh.
20975         * math/auto-libm-test-out: Regenerated.
20976         * sysdeps/i386/fpu/libm-test-ulps: Update.
20977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20979 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
20981         [BZ #18125]
20982         * stdlib/tst-setcontext3.c: New file.
20983         * stdlib/tst-setcontext3.sh: New file.
20984         * stdlib/Makefile (tests): Add tst-setcontext3.
20985         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
20986         to verify test program created output file.
20987         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
20988         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
20989         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20990         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
20992 2015-05-06  Roland McGrath  <roland@hack.frob.com>
20994         [BZ #18383]
20995         * elf/tst-tlsalign.c: New file.
20996         * elf/tst-tlsalign-static.c: New file.
20997         * elf/tst-tlsalign-lib.c: New file.
20998         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
20999         (tests-static): Add tst-tlsalign-static.
21000         (modules-names): Add tst-tlsalign-lib.
21001         (test-xfail-tst-tlsalign): New variable.
21002         (test-xfail-tst-tlsalign-static): New variable.
21004         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21005         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21007 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21009         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21010         csqrt, erfc, sin and sincos.
21011         * math/auto-libm-test-out: Regenerated.
21012         * sysdeps/i386/fpu/libm-test-ulps: Update.
21013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21015 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21017         * sysdeps/aarch64/libm-test-ulps: Update.
21019 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21021         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21022         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21023         * math/auto-libm-test-out: Regenerated.
21024         * sysdeps/i386/fpu/libm-test-ulps: Update.
21025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21027 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21029         [BZ #18265]
21030         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21031         (wcsncpy): Likewise.
21033 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21035         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21036         Assume __ASSUME_FALLOCATE is always true.
21037         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21038         (__posix_fallocate64_l64): Likweise.
21039         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21040         (posix_fallocate): Likewise.
21041         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21042         (__posix_fallocate64_l64): Likewise.
21043         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21044         [!__ASSUME_FALLOCATE]: Add comment.
21046 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21048         * sysdeps/unix/sysv/linux/i386/Makefile
21049         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21050         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21051         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21052         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21053         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21054         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21055         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21057 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21059         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21060         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21061         tgamma.
21062         * math/auto-libm-test-out: Regenerated.
21063         * sysdeps/i386/fpu/libm-test-ulps: Update.
21064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21066 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21068         * math/auto-libm-test-in: Add more tests of tgamma.
21069         * math/auto-libm-test-out: Regenerated.
21070         * sysdeps/i386/fpu/libm-test-ulps: Update.
21071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21073         * math/auto-libm-test-in: Add more tests of tanh.
21074         * math/auto-libm-test-out: Regenerated.
21075         * sysdeps/i386/fpu/libm-test-ulps: Update.
21076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21078         * math/auto-libm-test-in: Add more tests of tan.
21079         * math/auto-libm-test-out: Regenerated.
21080         * sysdeps/i386/fpu/libm-test-ulps: Update.
21081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21083         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21084         * math/auto-libm-test-out: Regenerated.
21085         * sysdeps/i386/fpu/libm-test-ulps: Update.
21086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21088         * math/auto-libm-test-in: Add another test of pow.
21089         * math/auto-libm-test-out: Regenerated.
21090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21092         * math/auto-libm-test-in: Add more tests of lgamma.
21093         * math/auto-libm-test-out: Regenerated.
21094         * sysdeps/i386/fpu/libm-test-ulps: Update.
21095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21097         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21098         log1p.
21099         * math/auto-libm-test-out: Regenerated.
21100         * sysdeps/i386/fpu/libm-test-ulps: Update.
21101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21103 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21105         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21106         Elf64_Chdr structs and ELFCOMPRESS constants.
21108 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21110         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21111         expm1.
21112         * math/auto-libm-test-out: Regenerated.
21113         * sysdeps/i386/fpu/libm-test-ulps: Update.
21114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21116         * math/auto-libm-test-in: Add more tests of erf and erfc.
21117         * math/auto-libm-test-out: Regenerated.
21118         * sysdeps/i386/fpu/libm-test-ulps: Update.
21119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21121 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21123         * config.h.in (HAVE_AARCH64_BE): Add.
21125 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21127         * math/auto-libm-test-in: Add more tests of csqrt.
21128         * math/auto-libm-test-out: Regenerated.
21129         * sysdeps/i386/fpu/libm-test-ulps: Update.
21130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21132         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21133         * math/auto-libm-test-out: Regenerated.
21134         * sysdeps/i386/fpu/libm-test-ulps: Update.
21135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21137         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21139 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21141         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21142         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21144         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21145         (euidaccess, eaccess): Define as weak aliases.
21147         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21148         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21149         but __suseconds_t is often 'long int' so some sources assume that
21150         type is being used (e.g. they use %ld to print tv_usec).
21152 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21154         [BZ #18007]
21155         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21156         (CVE-2014-8121)
21157         * nss/tst-nss-getpwent.c: New file.
21158         * nss/Makefile (tests): Add new test.
21160 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21162         [BZ #18346]
21163         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21164         exponents less than 48 as cases where high part of mantissa needs
21165         examining to determine whether argument is integral.
21166         * math/libm-test.inc (round_test_data): Add more tests.
21168 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21170         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21172 2015-04-27  David S. Miller  <davem@davemloft.net>
21174         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21175         __tls_get_addr.
21176         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21178 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21180         [BZ#18333]
21181         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21183 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21185         [BZ#18333]
21186         * time/tzset.c (parse_tzname): Return error on memory allocation
21187         failure.
21188         * test-skeleton.c (struct temp_name_list): Change type of name
21189         member to non-const.
21190         (add_temp_file): Create a copy of the file name.
21191         (delete_temp_files): Deallocate memory.
21192         (create_temp_file): Add comment.
21194 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21196         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21197         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21199 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21201         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21202         * sysdeps/arm/configure: Regenerated.
21204 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21206         [BZ #17715]
21207         * time/tzfile.c (__tzfile_read): Check for large values of
21208         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21209         * time/tzset.c (__tzstring_len): New function, based on the old
21210         __tzstring function.
21211         (__tzstring): Call __tzstring_len.
21212         (parse_tzname): New helper function extracted from
21213         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21214         the input string.
21215         (parse_offset): New helper function extracted from
21216         __tzset_parse_tz.  Replace switch with fallthrough with
21217         initialization before sscanf.
21218         (parse_rule): Likewise.
21219         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21220         new-style function definition.
21221         * timezone/Makefile (tests): Add tst-tzset.
21222         (tst-tzset.out): Dependencies on time zone files.
21223         (tst-tzset-ENV): Set TZDIR.
21224         (testdata/XT%): Copy crafted time zone files.
21225         * timezone/README: Mention crafted time zone files.
21226         * timezone/testdata/XT1, timezone/testdata/XT2,
21227         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21228         files.
21229         * timezone/tst-tzset.c: New test.
21231 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21233         * Makeconfig (+gccwarn): Remove -Winline.
21235 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21237         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21239 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21241         * NEWS: Mention sysconf() cache information support for s390.
21242         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21244 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21246         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21247         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21248         (__nearbyint): Likewise.
21249         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21250         (copysignl): Likewise.
21252 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21254         [BZ #18287]
21255         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21256         based on padding.  (CVE-2015-1781)
21258 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21260         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21261         libc-vdso.h.
21262         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21263         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21264         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21265         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21266         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21267         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21268         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21269         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21270         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21271         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21272         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21273         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21274         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21275         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21276         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21277         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21278         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21279         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21280         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21281         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21282         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21283         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21284         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21286 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21288         * stdlib/setenv.c (__add_to_environ):
21289         Dump core quickly if setenv (..., NULL, ...) is called.
21290         This time, do it the right way, and pacify GCC with a pragma.
21292 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21294         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21295         IMAP->l_prev cannot be null, and #if out the code for the contrary
21296         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21297         believe that NS (&_dl_ns[NSID]) could point outside the array.
21299         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21300         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21301         before using NSID as an index.
21303 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21305         [BZ #17825]
21306         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21307         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21308         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21310 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21312         Add preliminary port to Google Native Client on ARM.
21313         * abi-tags (.*-.*-nacl.*): New entry.
21314         * sysdeps/arm/nacl: New directory.
21315         * sysdeps/nacl: New directory.
21317 2015-04-16  David S. Miller  <davem@davemloft.net>
21319         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21320         lowlevellock-futex.h
21322 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21324         * sysdeps/tile/configure.ac: New file.
21325         * sysdeps/tile/configure: Regenerated.
21327 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21329         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21330         conditionals for weak_alias and libc_hidden_weak.
21331         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21332         libc_hidden_weak and weak_alias.
21333         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21334         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21335         and weak_alias for static one.
21337 2015-04-15  David S. Miller  <davem@davemloft.net>
21339         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21341 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21343         [BZ #18206]
21344         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21345           Use signed comparision instead of substraction to avoid
21346           overflow bug.
21347         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21348           Take the sign of ret.
21349         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21350           Do not expect precise return values. Only the sign matters.
21351         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21352         * wcsmbs/test-wcsncmp.c: New File.
21353         * string/test-strncmp.c: Add wcsncmp support.
21355 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21357         [BZ #6792]
21358         * math/w_log1p.c: New file.
21359         * math/w_log1pf.c: Likewise.
21360         * math/w_log1pl.c: Likewise.
21361         * math/Makefile (libm-calls): Add w_log1p.
21362         * math/s_log1pl.c (log1pl): Remove weak_alias.
21363         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21364         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21365         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21366         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21367         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21368         [NO_LONG_DOUBLE] (log1pl): Likewise.
21369         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21370         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21371         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21372         (log1p): Remove long_double_symbol.
21373         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21374         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21375         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21376         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21377         remove weak_alias for corresponding log1p function.
21378         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21379         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21380         * sysdeps/ia64/fpu/w_log1p.c: New file.
21381         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21382         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21383         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21385 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21387         [BZ #18247]
21388         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21389         decimal exponent by 1.
21390         * stdlib/tst-strtod-round-data: Add more tests.
21391         * stdlib/tst-strtod-round.c (tests): Regenerated.
21393 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21395         * math/auto-libm-test-in: Add more tests of clog and clog10.
21396         * math/auto-libm-test-out: Regenerated.
21397         * sysdeps/i386/fpu/libm-test-ulps: Update.
21398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21400 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21402         * Makeconfig (module-cppflags): Exclude all .v.i files.
21403         (skip-module-cppflags): Variable removed.
21405         * configure.ac (libc_config_ok): Initialize before reading
21406         preconfigure scripts, not after.
21407         * configure: Regenerated.
21409         * test-skeleton.c (TIMEOUT): Move #define to top level.
21410         (main): Grok environment variable TEST_DIRECT.  If set, print
21411         test expectation details into that file and then behave as if
21412         given --direct.
21414 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21416         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21417         warning on 32-bit.
21419 2015-04-08  David S. Miller  <davem@davemloft.net>
21421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21423 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21425         * math/auto-libm-test-in: Add more tests of atanh.
21426         * math/auto-libm-test-out: Regenerated.
21427         * sysdeps/i386/fpu/libm-test-ulps: Update.
21428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21430         * math/auto-libm-test-in: Add more tests of atan.
21431         * math/auto-libm-test-out: Regenerated.
21432         * sysdeps/i386/fpu/libm-test-ulps: Update.
21433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21435 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21437         * elf/pldd.c (main): Rewrite to use struct
21438         scratch_buffer instead of extend_alloca.
21439         * elf/pldd-xx.c (find_maps): Likewise.
21440         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21441         <alloca.h>.
21442         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21443         scratch_buffer instead of extend_alloca.
21444         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21445         grp/compat-initgroups.c.
21446         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21447         Rewrite to use struct scratch_buffer instead of extend_alloca.
21448         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21449         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21451 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21453         * math/auto-libm-test-in: Add more tests of cbrt.
21454         * math/auto-libm-test-out: Regenerated.
21455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21457         * math/auto-libm-test-in: Add more tests of cabs.
21458         * math/auto-libm-test-out: Regenerated.
21459         * sysdeps/i386/fpu/libm-test-ulps: Update.
21460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21462         [BZ #18210]
21463         [BZ #18211]
21464         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21465         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21466         computations.
21467         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21468         clog10.
21469         * math/auto-libm-test-out: Regenerated.
21470         * sysdeps/i386/fpu/libm-test-ulps: Update.
21471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21473         [BZ #18197]
21474         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21475         (atan): Set FE_TONEAREST mode for internal computations.
21476         * math/auto-libm-test-in: Add more tests of atan.
21477         * math/auto-libm-test-out: Regenerated.
21479 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21481         [BZ #17930]
21482         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21484 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21486         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21488 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21490         * include/scratch_buffer.h: New file.
21491         * malloc/scratch_buffer_grow.c: Likewise.
21492         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21493         * malloc/scratch_buffer_set_array_size.c: Likewise.
21494         * malloc/tst-scratch_buffer.c: Likewise.
21495         * malloc/Makefile (routines): Add scratch_buffer_grow.
21496         (tests): Add test case.
21497         * malloc/Versions (GLIBC_PRIVATE): Export
21498         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21499         __libc_scratch_buffer_set_array_size.
21501 2015-04-06  Richard Henderson  <rth@redhat.com>
21503         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21504         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21506         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21507         unsigned int before printing.
21509 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21511         [BZ #17596]
21512         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21513         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21515 2015-04-02  Florian Weimer  <fweimer@redhat.com>
21517         * include/libc-internal.h (libc_max_align_t): Define.
21519 2015-04-02  Andreas Schwab  <schwab@suse.de>
21521         [BZ #16850]
21522         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21524 2015-04-02  Mel Gorman  <mgorman@suse.de>
21526         [BZ #17195]
21527         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21528         as well as the main arena.
21530 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21532         [BZ #18185]
21533         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21534         sharing L2 cache to 2 for Silvermont/Knights Landing.
21536 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21538         [BZ #17711]
21539         * config.make.in (have-protected-data): New.
21540         * configure.ac: Check linker support for protected data symbol.
21541         * configure: Regenerated.
21542         * elf/Makefile (modules-names): Add tst-protected1moda and
21543         tst-protected1modb if $(have-protected-data) is yes.
21544         (tests): Add tst-protected1a and tst-protected1b if
21545         $(have-protected-data) is yes.
21546         ($(objpfx)tst-protected1a): New.
21547         ($(objpfx)tst-protected1b): Likewise.
21548         (tst-protected1modb.so-no-z-defs): Likewise.
21549         * elf/tst-protected1a.c: New file.
21550         * elf/tst-protected1b.c: Likewise.
21551         * elf/tst-protected1mod.h: Likewise.
21552         * elf/tst-protected1moda.c: Likewise.
21553         * elf/tst-protected1modb.c: Likewise.
21555 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21557         [BZ #17711]
21558         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21559         indicates it is called from do_lookup_x on relocation against
21560         protected data, skip the data definion in the executable from
21561         copy reloc.
21562         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21563         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21564         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21565         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21566         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21567         otherwise to 0.
21568         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21569         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21570         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21571         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21572         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21573         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21575 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21577         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21578         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21580 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21582         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21583         THREAD_SETMEM_NC.
21584         * sysdeps/x86_64/nptl/tls.h: Ditto.
21586 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21588         * dlfcn/tststatic.c (main): Converted to ...
21589         (do_test): ... this.
21590         (TEST_FUNCTION): New macro.
21591         Include test-skeleton.c.
21593 2015-03-26  Alan Modra  <amodra@gmail.com>
21595         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21596         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
21597         zero for undefined weak.
21598         (elf_machine_plt_conflict): Similarly.
21600 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21602         * math/auto-libm-test-in: Add more tests of acosh, asinh and
21603         atanh.
21604         * math/auto-libm-test-out: Regenerated.
21605         * sysdeps/i386/fpu/libm-test-ulps: Update.
21606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21608         * math/auto-libm-test-in: Add another test of asin.
21609         * math/auto-libm-test-out: Regenerated.
21610         * sysdeps/i386/fpu/libm-test-ulps: Update.
21611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21613         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21614         Remove macro.
21615         (LLL_EBX_REG): Likewise.
21616         (LLL_ENTER_KERNEL): Likewise.
21618         * math/auto-libm-test-in: Add more tests of asin.
21619         * math/auto-libm-test-out: Regenerated.
21620         * sysdeps/i386/fpu/libm-test-ulps: Update.
21621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21623         [BZ #18138]
21624         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21625         libc_do_syscall_args): New structure.
21626         (INTERNAL_SYSCALL_MAIN_0): New macro.
21627         (INTERNAL_SYSCALL_MAIN_1): Likewise.
21628         (INTERNAL_SYSCALL_MAIN_2): Likewise.
21629         (INTERNAL_SYSCALL_MAIN_3): Likewise.
21630         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21631         (INTERNAL_SYSCALL_MAIN_5): Likewise.
21632         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
21633         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21634         Replace conditional definitions by conditional definitions of ....
21635         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
21636         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21637         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21638         (libpthread-sysdep_routines): Add libc-do-syscall.
21639         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21640         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21641         to __NR_futex not 240.
21643 2015-03-25  Alan Modra  <amodra@gmail.com>
21645         * NEWS: Advertise TLS optimization.
21646         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21647         (DT_PPC_NUM): Increment.
21648         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21649         (CHECK_STATIC_TLS): Use here.
21650         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21651         TLS descriptors.
21652         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21653         * sysdeps/powerpc/dl-tls.c: New file.
21654         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21655         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21656         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21657         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21662 2015-03-25  Alan Modra  <amodra@gmail.com>
21664         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21665         for overlapping .opd entries" to "support...".
21666         * sysdeps/powerpc/powerpc64/configure: Regenerate
21668 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21670         * math/auto-libm-test-in: Add more tests of acos.
21671         * math/auto-libm-test-out: Regenerated.
21672         * sysdeps/i386/fpu/libm-test-ulps: Update.
21673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21675         * math/auto-libm-test-in: Add more tests of expm1.
21676         * math/auto-libm-test-out: Regenerated.
21677         * sysdeps/i386/fpu/libm-test-ulps: Update.
21678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21680 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
21682         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21683         * math/auto-libm-test-out: Regenerated.
21684         * sysdeps/i386/fpu/libm-test-ulps: Update.
21685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21687         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21690         * math/auto-libm-test-in: Add more tests of log2.
21691         * math/auto-libm-test-out: Regenerated.
21692         * sysdeps/i386/fpu/libm-test-ulps: Update.
21693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21695 2015-03-23  Roland McGrath  <roland@hack.frob.com>
21697         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21698         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
21699         _IO_IS_APPENDING bit in READ_WRITE instead.
21701 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21703         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21704         (__determine_cpumask_size): Replace extend_alloca with a
21705         variable-length array.  Do not treat res == 0 as an error.
21707 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21709         [BZ #18100]
21710         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21711         and integer overflow.
21712         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21713         (main): Add integer overflow tests.
21714         * manual/pattern.texi (Calling Wordexp): Document additional use
21715         for WRDE_SYNTAX.
21717 2015-03-23  Alan Modra  <amodra@gmail.com>
21719         * config.h.in: Remove HAVE_ASM_PPC_REL16.
21720         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21721         and false branch of conditional.
21722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21723         Likewise.
21725 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
21727         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21728         libc-modules.h
21729         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21730         unused declaration of _hurd_intr_rpc_msg_in_trap.
21731         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21732         defined instead of whether it is non-zero.
21733         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21734         input constraint instead of both input and output constraint.  Use ecx
21735         clobber instead of %ecx.
21736         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21737         mutex_unlock): Use a statement expression instead of an expression list.
21738         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21739         type to vm_size_t instead of vm_address_t.
21740         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21741         defined instead of whether it is non-zero.
21742         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21743         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21744         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21745         comparisons with mapaddr.
21746         * nscd/nscd-client.h: Include <time.h>.
21747         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21748         9th parameter to __vm_region instead of int.
21749         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21750         * scripts/check-local-headers.sh (exclude): Add device/,
21751         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21752         cthreads.h.
21754 2015-03-19  Roland McGrath  <roland@hack.frob.com>
21756         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21757         to account for alignment padding.
21758         * sysdeps/arm/memmove.S: Likewise.
21760 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
21762         * sysdeps/unix/sysv/linux/generic/README: New file.
21764 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
21766         [BZ #18138]
21767         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21768         (futex_abstimed_wait)
21769         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21770         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21771         of lll_futex_timed_wait.
21773 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
21775         [BZ #17542]
21776         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21778 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
21780         [BZ #17090]
21781         [BZ #17620]
21782         [BZ #17621]
21783         [BZ #17628]
21784         * NEWS: Update.
21785         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21786         entries with Static TLS too.  Skip entries past the end of the
21787         allocated DTV, from Alan Modra.
21788         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
21789         Static TLS DTV entry set up from...
21790         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21791         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21792         * nptl/allocatestack.c (init_one_static_tls): ... and here...
21793         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21794         for Static TLS.
21795         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
21796         that the slot we find is associated with the given map before
21797         using its generation count.
21798         * nptl_db/db_info.c: Include ldsodefs.h.
21799         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21800         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21801         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21802         (link_map::l_tls_offset): New struct field.
21803         (dtv_t::counter): Likewise.
21804         (rtld_global): New struct.
21805         (_rtld_global): New rtld variable.
21806         (dl_tls_dtv_slotinfo_list): New rtld global field.
21807         (dtv_slotinfo_list): New struct.
21808         (dtv_slotinfo): Likewise.
21809         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
21810         (td_lookup): Rename to...
21811         (td_mod_lookup): ... this.  Use new mod parameter instead of
21812         LIBPTHREAD_SO.
21813         * nptl_db/td_thr_tlsbase.c: Include link.h.
21814         (dtv_slotinfo_list, dtv_slotinfo): New functions.
21815         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
21816         addresses even if the DTV is out of date or missing them.
21817         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21818         index zero-length arrays.
21819         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21820         (td_lookup): Make it a macro implemented in terms of...
21821         (td_mod_lookup): ... this declaration.
21822         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21823         (DB_MAIN_VARIABLE): Likewise.
21825 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21827         [BZ #18134]
21828         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21830 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
21832         * stdlib/setenv.c (__add_to_environ): Revert previous change.
21834 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21836         [BZ #18128]
21837         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21838         (atomic_add, atomic_increment_and_test)
21839         (atomic_decrement_and_test): Fix 64-bit arithmetic.
21841 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
21843         * stdlib/setenv.c (__add_to_environ):
21844         Dump core quickly if setenv (..., NULL, ...) is called.
21846 2015-03-13  Roland McGrath  <roland@hack.frob.com>
21848         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21849         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21850         all the necessary asm magic in one place.
21851         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21852         using those.
21854 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
21856         [BZ #14906]
21857         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21858         traced file mtime. Use consistent log message.
21859         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21860         (register_traced_file): Call install_watches. Always set mtime.
21861         (invalidate_cache): Iterate over all trace files. Call install_watches.
21862         (inotify_check_files): Don't inline. Handle watching parent
21863         directories and configuration file movement in and out.
21864         (handle_inotify_events): New function.
21865         (main_loop_poll): Call handle_inotify_events.
21866         (main_loop_epoll): Likewise.
21867         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21868         (struct traced_file): Use array of inotify fds. Add parent directory,
21869         and basename.
21870         (struct database_dyn): Remove unused file_mtime.
21871         (init_traced_file): New inline function.
21872         (define_traced_file): New macro.
21873         * nss/nss_db/db-init.c: Use define_traced_file.
21874         (_nss_db_init): Use init_traced_file.
21875         * nss/nss_files/files-init.c: Use define_traced_file.
21876         (_nss_files_init): Use init_traced_file.
21878 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
21880         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21881         [_LIBC]: Do not include <stdlib.h>.
21882         [!_LIBC] (abort): Remove declaration.
21883         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21884         _FP_STATIC_ASSERT instead of conditionally calling abort.
21885         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21886         (_FP_EXTEND_CNAN): Likewise.
21887         (FP_TRUNC): Likewise.
21888         (__FP_CLZ): Likewise.
21889         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21891 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
21893         * manual/string.texi (XPG basename): Fix prototype.
21895 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21897         [BZ #18080]
21898         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21899         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21900         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21901         (__setcontext): Likewise.
21902         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21903         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21904         Call rt_sigprocmask syscall one time to set new signal mask
21905         and retrieve the current signal mask instead of two calls.
21906         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21907         (__swapcontext): Likewise.
21908         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21909         * stdlib/tst-setcontext2.c: New file.
21911 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21913         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21915 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
21917         [BZ #18093]
21918         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21919         the wrong size.
21921 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21923         [BZ #18043]
21924         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21926 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21928         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21929         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21930         Remove define.
21931         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21932         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21933         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21934         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21935         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21936         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21937         define.
21938         * nptl_db/td_symbol_list.c (td_lookup): Remove
21939         HAVE_ASM_GLOBAL_DOT_NAME code.
21940         * sysdeps/powerpc/powerpc64/configure.ac: Remove
21941         HAVE_ASM_GLOBAL_DOT_NAME check.
21942         * sysdeps/powerpc/powerpc64/configure: Regenerate.
21943         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21944         (DOT_LABEL): Remove define.
21945         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21946         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21947         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21948         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21949         (__TLS_GET_ADDR): Likewise.
21950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21951         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21953 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
21955         [BZ #18111]
21956         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21957         (_FPU_SETCW): Initialize cw from fpsr before storing.
21958         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21959         (fesetexceptflag): Rewrite using fpu_control.h.
21960         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21962 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
21964         [BZ #18110]
21965         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21966         asms.
21967         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21969 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
21971         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21972         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21973         abort.
21974         (_FP_FMA): Likewise.
21975         (_FP_DIV): Likewise.
21977 2015-03-10  Roland McGrath  <roland@hack.frob.com>
21979         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
21980         with 0 in that case.
21981         * Makefile (summarize-tests): New canned sequence, factored out of
21982         commands for targets tests and xtests.  Display summary lines that
21983         don't start with PASS: or XFAIL: rather than ones that do start with
21984         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
21985         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
21986         do start with ERROR: or FAIL:.
21987         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
21988         (except for [$(build-shared) = yes]).
21989         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
21990         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
21991         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
21992         * nptl/Makefile: Revert 2015-03-04 changes.
21993         [$(CXX) empty] (tests-unsupported): New variable.
21994         * debug/Makefile: Likewise.
21996         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
21997         gnulib file.  Replace __attribute with __attribute__ throughout.
21999 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22001         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22003 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22005         [BZ #18104]
22006         * math/auto-libm-test-in: Add another test of pow.
22007         * math/auto-libm-test-out: Regenerated.
22009 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22011         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22012         $(config-cflags-nofma).
22014 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22016         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22017         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22018         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22019         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22020         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22021         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22022         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22023         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22024         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22025         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22026         Add comment on closing #endif.
22028 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22030         * posix/wordexp.c (CHAR_IN_SET): New macro.
22031         (parse_param): Use it.
22033 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22035         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22037 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22039         [BZ #18043]
22040         * posix/wordexp.c (parse_param): Fix buffer overflow.
22041         * posix/wordexp-test.c (test_case): Add test case.
22043 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22045         [BZ #18042]
22046         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22047         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22049 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22051         [BZ #18043]
22052         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22053         (do_bz18043): Delete.
22054         (at_page_end): New.
22055         (testit): Refactor to have words at the edge of unreadable page.
22057 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22059         [BZ #16734]
22060         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22061         Cleanup read-only streams as well.
22062         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22064 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22066         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22067         <bits/libc-lockP.h>
22069 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22071         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22072         on [__KERNEL__].
22073         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22074         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22075         * soft-fp/op-common.h (_FP_DECL): Likewise.
22077 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22079         * elf/ifuncdep2.c (global): Replace
22080         __attribute__((visibility("protected"))) with
22081         asm (".protected global").
22082         * elf/ifuncmod1.c (global): Likewise.
22083         * elf/ifuncmod5.c (global): Likewise.
22085 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22087         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22088         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22090 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22092         * manual/install.texi (Configuring and compiling):
22093         Document test-wrapper-env-only.
22094         * INSTALL: Regenerated.
22096 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22098         [BZ #18043]
22099         * posix/wordexp.c (parse_param): Fix buffer overflow.
22100         * posix/wordexp-test.c (do_bz18043): Add test case.
22102 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22104         * time/tst-strptime2.c (do_test): Ensure failing tests are
22105         reported correctly.
22106         * time/tst-strptime3.c (do_test): Likewise.
22108 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22110         Fix aio_error thread-safety.
22111         * sysdeps/pthread/aio_error.c: New file
22112         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22113         synchronization.
22115 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22117         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22118         (group_number, vfprintf): Use it.
22119         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22120         (JUMP, REF): Use it.
22121         (WORK_BUFFER_SIZE): New enum constant.
22122         (process_arg, vfprintf): Use it.
22124 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22126         * manual/errno.texi (Error Messages): Complete example function
22127         by adding missing #define.
22128         (program_invocation_name): Add statement indicating GNU
22129         extension and reference which header file declares the variable.
22130         (program_invocation_short_name): Likewise.
22132 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22134         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22135         compatibility note.
22137 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22139         * Makeconfig (test-wrapper-env-only): New variable.
22140         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22141         then use that with $(test-wrapper-env-only) rather than using
22142         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22144 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22146         [BZ #18082]
22147         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22148         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22149         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22150         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22151         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22152         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22153         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22154         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22155         Likewise.
22156         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22157         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22158         Likewise.
22159         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22160         Likewise.
22161         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22162         Likewise.
22163         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22164         Likewise.
22165         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22166         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22167         Likewise.
22168         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22169         Likewise.
22170         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22171         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22173 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22175         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22176         (ETH_ALEN): New macro.
22177         (struct ether_addr): Use it for length of ether_addr_octet.
22179         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22180         (setdb): Don't call __nss_configure_lookup for "rpc".
22181         (do_test): Don't call test_rpc.
22182         (output_rpcent, test_rpc): Functions moved ...
22183         * sunrpc/test-rpcent.c: ... to this new file.
22184         * sunrpc/Makefile (tests): Add it.
22186         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22187         __xpg_sigpause.
22188         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22189         * nptl/tst-signal6.c: Likewise.
22190         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22191         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22193         * configure.ac (libc_cv_cxx_link_ok): New check.
22194         Reset CXX to empty if it fails to link.
22195         * configure: Regenerated.
22196         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22197         bug-atexit3-lib only if $(CXX) is nonempty.
22198         * nptl/Makefile (tests): Likewise for tst-cancel24.
22199         (tests, tests-static): Likewise for tst-cancel24-static.
22200         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22201         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22202         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22203         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22205 2015-03-04  Andreas Schwab  <schwab@suse.de>
22207         [BZ #17631]
22208         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22209         for non-GCC compilers.
22210         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22211         Likewise.
22213 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22215         [BZ #17776]
22216         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22217         integer before bitwise and assembly operations.
22218         (feclearexcept): Likewise.
22219         * math/test-fenvinline.c: New file.
22220         * math/Makefile: Add test-fenvinline test.
22222 2015-03-03  Alan Modra  <amodra@gmail.com>
22224         [BZ #16512]
22225         * scripts/localplt.awk: Strip off symbol version.
22226         * NEWS: Mention bug fix.
22228 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22230         * sysdeps/pthread/timer_routines.c
22231         (timer_free_list, thread_free_list, thread_active_list): Make static.
22233 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22235         [BZ #17779]
22236         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22237         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22238         Undefine.
22239         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22240         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22241         Likewise.
22242         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22243         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22244         Likewise.
22246 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22248         [BZ #18036]
22249         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22250         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22252 2015-03-02  Andreas Schwab  <schwab@suse.de>
22254         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22255         variable name.
22257 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22259         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22260         Return error status.
22262 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22264         [BZ #15969]
22265         * locale/findlocale.c (_nl_find_locale): Introduce const
22266         version of loc_name and drop unsafe type casts.
22268 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22270         * dlfcn/tststatic2.c (main): Converted to ...
22271         (do_test): ... this.
22272         (TEST_FUNCTION): New macro.
22273         Include test-skeleton.c.
22275 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22277         [BZ #17711]
22278         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22279         (tests-pie): Add vismain.
22280         (CFLAGS-vismain.c): New.
22281         * elf/vismain.c: Add comments for PIE requirement.
22283 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22285         [BZ #18046]
22286         [BZ #18047]
22287         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22288         0x1p-56L as threshold for just returning the argument.
22289         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22290         0x1p-32L as threshold for just returning the argument.
22291         * math/auto-libm-test-in: Add more tests of atanh.
22292         * math/auto-libm-test-out: Regenerated.
22293         * sysdeps/i386/fpu/libm-test-ulps: Update.
22294         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22296 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22298         * string/bcopy.c (bcopy): Call memmove for performance.
22300 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22302         * string/bzero.c (__bzero): Call memset for performance.
22304 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22306         [BZ #18068]
22307         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22308         to 00100000.
22310 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22312         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22314 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22316         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22317         (__kernel_standard): Use CSTR macro when setting exc.name.
22318         * sysdeps/ieee754/Makefile [$(subdir) = math]
22319         (CFLAGS-k_standard.c): Remove variable.
22321         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22322         setting p and q from "else if" to "else".
22323         (qzero): Likewise.
22324         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22325         (qone): Likewise.
22326         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22327         (qzerof): Likewise.
22328         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22329         (qonef): Likewise.
22330         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22331         (qzero): Likewise.
22332         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22333         (qone): Likewise.
22335         [BZ #18038]
22336         [BZ #18039]
22337         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22338         return pi/2 for arguments below 0x1p-113L.
22339         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22340         return pi/2 for arguments below 0x1p-106L.
22341         * math/auto-libm-test-in: Add more tests of acos.
22342         * math/auto-libm-test-out: Regenerated.
22344         [BZ #16351]
22345         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22346         (MO): New macro.
22347         (__ieee754_asin): Force underflow exception for results with small
22348         absolute value.
22349         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22350         (MO): New macro.
22351         (__ieee754_asinf): Force underflow exception for results with
22352         small absolute value.
22353         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22354         (__ieee754_asin): Force underflow exception for results with small
22355         absolute value.
22356         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22357         (__ieee754_asinf): Force underflow exception for results with
22358         small absolute value.
22359         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22360         (__ieee754_asinl): Force underflow exception for results with
22361         small absolute value.
22362         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22363         (__ieee754_asinl): Force underflow exception for results with
22364         small absolute value.
22365         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22366         (__ieee754_asinl): Force underflow exception for results with
22367         small absolute value.
22368         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22369         Include <math.h>.
22370         * math/auto-libm-test-in: Do not mark underflow exceptions as
22371         possibly missing for bug 16351.
22372         * math/auto-libm-test-out: Regenerated.
22374         [BZ #18030]
22375         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22376         of power of 2 down when low part has opposite sign.
22377         * math/libm-test.inc (logb_test_data): Add more tests.
22379 2015-02-26  Andreas Schwab  <schwab@suse.de>
22381         [BZ #18032]
22382         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22383         over collating symbol inside a bracket expression.  Minor cleanup.
22384         * posix/tst-fnmatch3.c (do_test): Add test case.
22386 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22388         [BZ #18029]
22389         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22390         Adjust exponent of power of 2 down when low part has opposite
22391         sign.
22392         * math/libm-test.inc (ilogb_test_data): Add more tests.
22394 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22396         [BZ #15969]
22397         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22398         the previous change.
22400         [BZ #15969]
22401         * locale/findlocale.c (_nl_find_locale): Retry archive search
22402         after alias expansion.
22404 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22406         * iconv/tst-iconv3.c (main): Converted to ...
22407         (do_test): ... this.
22408         (TEST_FUNCTION): New macro.
22409         Include test-skeleton.c.
22411         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22412         (convert): Make function static.
22413         (test_unalign): Likewise.  Add const to argument pointee types.
22414         (main): Replace with static function do_test.
22415         Print "Succeeded." only if RET is zero.
22416         (TEST_FUNCTION): New macro.
22417         Include test-skeleton.c.
22419         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22420         returns a null pointer.
22422 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22424         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22425         to __memcpy_ppc only for static builds.
22427 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22429         [BZ #18020]
22430         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22431         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22432         * math/auto-libm-test-in: Add more tests of asinh.
22433         * math/auto-libm-test-out: Regenerated.
22434         * sysdeps/i386/fpu/libm-test-ulps: Update.
22435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22437 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22439         [BZ #15850]
22440         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22441         and ip6_mtuinfo definitions here.
22442         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22443         in this define too.  Update comment.
22445 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22447         * elf/sprof.c (load_shobj): Tweak error message to match others.
22449 2015-02-24  Kevin Easton  <kevin@guarana.org>
22451         [BZ #16145] (partial fix)
22452         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22453         to reduce lock contention.
22455 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22457         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22458         (struct timex): Update time comment.
22459         (ADJ_SETOFFSET): Define.
22461 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22463         [BZ #18019]
22464         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22465         2**56 not 2**28 as threshold for log (2x) formula.
22466         * math/auto-libm-test-in: Add more tests of acosh.
22467         * math/auto-libm-test-out: Regenerated.
22468         * sysdeps/i386/fpu/libm-test-ulps: Update.
22469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22471 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22473         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22474         parenthesis around the buf assignment.
22475         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22477 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22479         [BZ #16783]
22480         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22481         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22482         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22483         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22484         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22485         * math/libm-test.inc (scalb_test_data): Add more tests.
22487 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22489         [BZ #17916]
22490         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22491         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22493 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22495         [BZ #17523]
22496         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22497         * io/bits/fcntl2.h (open): Use it.
22498         (openat): Likewise.
22499         * io/open.c (__libc_open): Likewise.
22500         * io/open64.c (__libc_open64): Likewise.
22501         * io/open64_2.c (__open64_2): Likewise.
22502         * io/open_2.c (__open_2): Likewise.
22503         * io/openat.c (__openat): Likewise.
22504         * io/openat64.c (__openat64): Likewise.
22505         * io/openat64_2.c (__openat64_2): Likewise.
22506         * io/openat_2.c (__openat_2): Likewise.
22507         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22508         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22509         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22510         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22511         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22512         (__open_nocancel): Likewise.
22513         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22514         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22515         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22517 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22519         [BZ #14841]
22520         * resolv/gethnamaddr.c (getanswer): Skip logging if
22521         RES_USE_DNSSEC is set.
22522         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22524 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22526         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22528 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
22530         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22531         201304L, for Unicode 7.
22533 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
22535         [BZ #17836]
22536         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22537         shared library.  Add gmon-start.os otherwise.
22538         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22539         $(objpfx)gmon-start.os if builing shared library.
22540         ($(objpfx)g$(static-start-installed-name)): Likewise.
22542 2015-02-23  Andreas Schwab  <schwab@suse.de>
22544         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22546 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22548         [BZ #17269]
22549         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22550         (enlarge_userbuf): Likewise.
22552 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22554         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22555         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22556         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22557         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22559 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22561         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22562         expression inside statement expression.
22564 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22566         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22567         <sysdeps/nptl/lowlevellock.h> and remove macros and
22568         functions that are now defined there.
22569         (SYS_futex): Remove.
22570         (lll_compare_and_swap): Remove.
22571         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22573 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22575         [BZ #17999]
22576         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22577         instead of scandirat.
22578         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22579         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22580         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22581         __scandirat.
22582         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22583         (__scandirat): Declare.  Use libc_hidden_proto.
22584         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22585         Remove variable.
22586         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22588 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22590         [BZ #15319]
22591         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22592         (MO): New macro.
22593         (__ieee754_atan2): For results with small absolute value, force
22594         underflow exception and remove excess range and precision from
22595         return value.
22596         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22597         (MO): New macro.
22598         (__ieee754_atan2f): For results with small absolute value, force
22599         underflow exception and remove excess range and precision from
22600         return value.
22601         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22602         (MO): New macro.
22603         (__atan): For results with small absolute value, force underflow
22604         exception and remove excess range and precision from return value.
22605         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22606         (MO): New macro.
22607         (__atanf): For results with small absolute value, force underflow
22608         exception and remove excess range and precision from return value.
22609         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22610         <math.h>.
22611         (__ieee754_atan2): Force underflow exception for results with
22612         small absolute value.
22613         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22614         <math_private.h>.
22615         (atan): Force underflow exception for results with small absolute
22616         value.
22617         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22618         (__atanf): Force underflow exception for results with small
22619         absolute value.
22620         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22621         <math.h>.
22622         (__atanl): Force underflow exception for results with small
22623         absolute value.
22624         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22625         (__atanl): Force underflow exception for results with small
22626         absolute value.
22627         * sysdeps/x86/fpu/bits/mathinline.h
22628         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22629         (__ieee754_atan2): Only define inline for long double.
22630         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22631         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22632         * math/auto-libm-test-in: Do not mark underflow exceptions as
22633         possibly missing for bug 15319.  Add more tests of atan2.
22634         * math/auto-libm-test-out: Regenerated.
22635         * math/libm-test.inc (casin_test_data): Do not mark underflow
22636         exceptions as possibly missing for bug 15319.
22637         (casinh_test_data): Likewise.
22638         * sysdeps/i386/fpu/libm-test-ulps: Update.
22640 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
22642         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22643         * sysdeps/mips/bits/endian.h: Fix comments.
22645 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22647         [BZ #17996]
22648         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22649         (hdestroy_r): Likewise.
22650         (hsearch_r): Likewise.
22651         (__hcreate_r): Declare and use libc_hidden_proto.
22652         (__hdestroy_r): Likewise.
22653         (__hsearch_r): Likewise.
22654         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22655         (hcreate): Call __hcreate_r instead of hcreate_r.
22656         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22657         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22658         as weak alias of __hcreate_r.
22659         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22660         __hdestroy_r.
22661         (hsearch_r): Rename to __hsearch_r and define as weak alias of
22662         __hsearch_r.
22663         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22664         Remove variable.
22665         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22666         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22667         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22668         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22670 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22672         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22673         arena_lock into a single arena_get.
22675 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
22677         * dl-reloc.c: Inlucde libc-internal.h.
22678         (_dl_try_allocate_static_tls): Call ALIGN_UP.
22679         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22680         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22681         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22682         (grow_heap): Likewise.
22683         * malloc/malloc.c: Include libc-internal.h.
22684         (do_check_malloc): Call powerof2.
22685         (sysmalloc): Use pagesize. Call ALIGN_UP.
22686         (systrim): Use pagesize.
22687         (mremap_chunk): Use pagesize. Call ALIGN_UP.
22688         (__libc_valloc): Use pagesize.
22689         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22691 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22693         [BZ #17991]
22694         * include/sys/resource.h (__getrlimit64): Declare.  Use
22695         libc_hidden_proto.
22696         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22697         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
22698         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22699         getrlimit64.
22700         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22701         __getrlimit64.
22702         [!getrlimit64] (getrlimit64): Define as weak alias of
22703         __getrlimit64.  Use libc_hidden_weak.
22704         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22705         using __getrlimit64 not __new_getrlimit64.
22706         (__GI_getrlimit64): Likewise.
22707         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22708         Likewise.
22709         (__GI_getrlimit64): Likewise.
22710         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22712         (getrlimit): Add __getrlimit64 alias.
22713         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22714         Likewise.
22715         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22716         Remove variable.
22717         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22718         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22720 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
22722         * libio/fileops.c: Add missing sys/mman.h
22723         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22725 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22727         * manual/math.texi (Errors in Math Functions): Clarify goals
22728         regarding inexact and underflow exceptions.
22730 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22732         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22733         * sysdeps/mips/memset.S: Ditto.
22735 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22737         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22739 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22741         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22742         (__v1longjmp): Remove versioned symbol.
22743         (__v1siglongjmp): Remove alias and versioned symbol.
22744         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22745         (__v2siglongjmp): Likewise.
22747 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22749         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22751 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
22753         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22755 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22757         [BZ #17987]
22758         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22759         zero result does not depend on the sign resulting from
22760         subtraction.
22761         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22762         Likewise.
22763         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22764         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22765         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22766         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22767         * math/libm-test.inc (remquo_test_data): Add more tests.
22769 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
22771         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22772         Problem reported by J William Piggott.
22774 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22776         [BZ #17978]
22777         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22778         products 4 * y and 2 * y where those would overflow.
22779         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22780         Likewise.
22781         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22782         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22783         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22784         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22785         * math/libm-test.inc (remquo_test_data): Add more tests.
22787         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22789         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22790         [defined _COMPILING_NEWLIB].
22791         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22792         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22794         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22795         [!defined __mips_isa_rev || __mips_isa_rev < 6].
22797 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22799         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22800         acquired.
22802 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
22804         [BZ #17792]
22805         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22806         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
22807         HOST_STACK_END_ADDR): Likewise.
22809 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
22811         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
22812         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22813         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22815 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22817         * sysdeps/generic/c++-types.data: New file.
22818         * sysdeps/generic/ld.abilist: New file.
22819         * sysdeps/generic/libBrokenLocale.abilist: New file.
22820         * sysdeps/generic/libanl.abilist: New file.
22821         * sysdeps/generic/libc.abilist: New file.
22822         * sysdeps/generic/libcrypt.abilist: New file.
22823         * sysdeps/generic/libdl.abilist: New file.
22824         * sysdeps/generic/libm.abilist: New file.
22825         * sysdeps/generic/libpthread.abilist: New file.
22826         * sysdeps/generic/libresolv.abilist: New file.
22827         * sysdeps/generic/librt.abilist: New file.
22829 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22831         [BZ #17569]
22832         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22833         Compute absolute value of x as modified by fmod, not original
22834         value of x.
22835         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22836         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
22837         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
22838         RUN_TEST_ffI_f1_mod8.
22839         (remquo_test_data): Add more tests.
22841 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22843         * sysdeps/init_array/pt-crti.S: New file.
22845 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22847         [BZ #17967]
22848         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22849         __builtin_fmaf instead of relying on contraction of a * b + c.
22851 2015-02-12  J William Piggott  <elseifthen@gmx.com>
22853         [BZ #17969]
22854         * manual/time.texi: correct the zoneinfo path in the TZ Variable
22855         node.
22857 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22859         [BZ #17964]
22860         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22861         __builtin_fma instead of relying on contraction of a * b + c.
22863 2015-02-12  Roland McGrath  <roland@hack.frob.com>
22865         * Makeconfig (ASFLAGS): Add -Werror=undef.
22866         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22867         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22868         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22870         * Makeconfig (after-link): New variable.
22871         (+link-pie, +link-pie-tests): Use it.
22872         (+link-static, +link-static-tests): Likewise.
22873         (+link, +link-tests): Likewise.
22874         * Makerules (build-module, build-module-asneeded): Likewise.
22875         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22876         Likewise.
22877         * elf/Makefile ($(objpfx)ld.so): Likewise.
22879 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
22881         [BZ #17965]
22882         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22883         both struct timeval and struct timespec.
22885 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22887         [BZ #16560]
22888         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22889         and redefine.
22890         (__ieee754_exp2l): Do not multiply small fractional parts by
22891         M_LN2l.
22892         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22893         small argument.
22894         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22895         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22896         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22897         * math/auto-libm-test-in: Add more tests of exp2.
22898         * math/auto-libm-test-out: Regenerated.
22900 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22902         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22903         unaligned path.
22905 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22907         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22908         little endian.
22910 2015-02-12  Andreas Schwab  <schwab@suse.de>
22912         [BZ #15790]
22913         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22914         Filter out elision flags from value returned in kind.
22915         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22916         * nptl/tst-pthread-mutexattr.c: New file.
22918 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22920         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22921         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22922         into gnu-gnu, and update comment to refer to abi-tags.
22924 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
22926         [BZ #15467]
22927         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22928         (__sincos): Set errno to EDOM for infinite argument.
22929         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22930         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22931         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22932         (__sincosl): Set errno to EDOM for infinite argument.
22933         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22934         (__sincosl): Set errno to EDOM for infinite argument.
22935         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22936         (__sincosl): Set errno to EDOM for infinite argument.
22937         * math/libm-test.inc (sincos_test_data): Test errno setting.
22939 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
22941         * string/strxfrm_l.c: Remove #define STRCMP.
22942         * string/strcoll_l.c: Remove #define STRLEN.
22943         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22944         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22946 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
22948         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22949         * sysdeps/mips/mips32/sfp-machine.h: ... here.
22950         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22951         * sysdeps/mips/mips64/Makefile: ... here.
22952         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22953         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22954         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22955         * sysdeps/mips/mips64/sfp-machine.h: ... here.
22956         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22957         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22958         * sysdeps/mips/mips64/n64/Implies: Likewise.
22960 2015-02-10  Roland McGrath  <roland@hack.frob.com>
22962         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22963         <sys/time.h>, <string.h>, and <errno.h>.
22964         (dest_offset, dest_address, value, zero): Remove unused variables.
22965         (ldouble): Remove typedef.
22966         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22967         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
22968         1).  Fix code style.
22969         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22970         (check): Function removed.
22971         (CHECK): New macro.
22972         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
22973         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22974         Don't call set_sigaction_FP and remove_sigaction_FP here.
22975         (ldouble_test): Just use 'long double' as macro argument, no need for
22976         the 'ldouble' typedef.
22977         (do_test): Set up SIGFPE handler at start, using plain signal rather
22978         than sigaction.  Fix code style.
22980 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
22982         [BZ #17949]
22983         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
22984         jump label.
22986 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22988         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
22989         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22991         * sysdeps/powerpc/configure.ac: Remove file.
22992         * sysdeps/powerpc/configure: Likewise.
22994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22995         [sysdep_routines]: Remove wordcopy-power6 object.
22996         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22997         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
22998         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
22999         (__memmove_ppc32): Likewise.
23000         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23001         file.
23002         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23003         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23004         Remove preprocessor.
23006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23007         [sysdep_routines]: Remove wide chars objects.
23008         [wcsmbs]: New rule for wide char objects.
23010         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23011         Remove wordcopy-power6 obejct.
23012         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23013         Use local call for wordcopy and memcpy symbols.
23014         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23015         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23016         implementation for loader.
23017         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23019         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23020         Remove wordcopy-power7 object.
23021         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23022         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23023         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23024         (_wordcopy_fwd_dest_aligned): Likewise.
23025         (_wordcopy_bwd_aligned): Likewise.
23026         (_wordcopy_bwd_dest_aligned): Likewise.
23028         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23029         Rewrite to call __memmove_ppc instead of include default
23030         implementation.
23032         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23033         Remove wide chars objects.
23034         [wcsmbs]: New rule for wide char objects.
23036 2015-02-09  Andreas Schwab  <schwab@suse.de>
23038         [BZ #17912]
23039         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23040         in terms of __O_DIRECTORY.
23042 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23044         * time/getdate.c: Include <stdbool.h>.
23045         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23046         call PTR_MANGLE.
23047         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23048         PTR_DEMANGLE.
23050 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23052         Add ersatz _Static_assert on older C hosts
23053         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23054         pre-C11 C platform that is not known to support _Static_assert.
23056 2015-02-07  Richard Braun  <rbraun@sceen.net>
23058         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23059         sigstate.
23060         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23062 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23064         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23065         priority against unexistent AIO_PRIO_DELTA_MAX.
23066         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23067         instead of int.
23068         * misc/fchflags.c (fchflags): Likewise.
23069         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23070         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23071         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23072         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23073         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23074         Declare macros.
23075         [__USE_MISC] (chflags, fchflags): Declare functions.
23076         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23077         EINVAL when nfds is greater than FD_SETSIZE.
23078         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23079         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23080         45.
23081         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23082         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23083         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23084         MACH_RCV_TIMED_OUT.
23085         * hurd/hurd/signal.h (_hurd_self_sigstate,
23086         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23087         Explicit casts from void *.
23088         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23089         * abi-tags: Rename gnu-gnu os into gnu.
23091         [BZ #4719]
23092         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23093         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23094         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23095         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23096         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23097         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23099         [BZ #17944]
23100         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23101         duplicates ADDR->sun_path with sockaddr LEN limitation.
23102         * sysdeps/mach/hurd/connect.c: Include <string.h>
23103         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23104         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23105         * sysdeps/mach/hurd/sendto.c: Likewise.
23106         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23107         implementing it by hand.
23109 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23111         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23112         Use sfi_breg on ldr.
23113         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23114         Likewise.
23116         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23117         it's defined.
23118         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23119         Test SIGSETXID only if it's defined.
23121         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23123         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23124         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23126         * nptl/tst-align2.c: Moved ...
23127         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23128         * nptl/Makefile (tests): Remove tst-align2.
23129         * sysdeps/unix/sysv/linux/Makefile
23130         [$(subdir) = nptl] (tests): Add tst-align-clone.
23131         * nptl/tst-getpid1.c: Moved ...
23132         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23133         * nptl/tst-getpid2.c: Moved ...
23134         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23135         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23136         * sysdeps/unix/sysv/linux/Makefile
23137         [$(subdir) = nptl] (tests): ... here.
23138         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23139         * sysdeps/unix/sysv/linux/Makefile
23140         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23142         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23143         Drop trailing \n from perror argument.  Use return rather than exit.
23145         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23146         on [SA_SIGINFO].
23147         * nptl/tst-cancel21.c (do_test): Likewise.
23148         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23149         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23150         [!SA_SIGINFO]: Make it a stub test.
23152         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23153         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23155         * posix/tst-getlogin.c: Move to ...
23156         * login/tst-getlogin.c: ... here.
23157         * posix/Makefile (tests): Move tst-getlogin to ...
23158         * login/Makefile (tests): ... here.
23160         * libio/tst-atime.c (do_test): Move local variables SV and E
23161         inside [ST_NOATIME] conditional.
23163         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23165         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23167         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23168         (wait_code): New function replaces macro.
23169         Call nanosleep rather than syscall.
23171         * nptl/pt-system.c: Rewritten.  Put everything under
23172         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23173         Use IFUNC to redirect when possible.
23175         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23176         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23177         Use IFUNC to redirect when possible.
23179         * nptl/pt-fork.c: Rewritten.  Put everything under
23180         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23181         Use IFUNC to redirect when possible.
23182         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23184         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23185         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23186         unconditionally nowadays.  This included the only reference to
23187         __vdso_clock_gettime that appears outside libc proper.
23188         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23189         Remove version set (containing only __vdso_clock_gettime).
23190         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23191         Add attribute_hidden.
23192         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23193         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23194         libc_hidden_data_def.
23195         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23196         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23198         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23199         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23200         setrpcent, and getrpcport to ...
23201         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23202         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23203         getrpcbynumber_r, and getrpcent_r to ...
23204         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23205         * inet/getrpcbyname.c: Moved ...
23206         * sunrpc/getrpcbyname.c: ... here.
23207         * inet/getrpcbyname_r.c: Moved ...
23208         * sunrpc/getrpcbyname_r.c: ... here.
23209         * inet/getrpcbynumber.c: Moved ...
23210         * sunrpc/getrpcbynumber.c: ... here.
23211         * inet/getrpcbynumber_r.c: Moved ...
23212         * sunrpc/getrpcbynumber_r.c: ... here.
23213         * inet/getrpcent.c: Moved ...
23214         * sunrpc/getrpcent.c: ... here.
23215         * inet/getrpcent_r.c: Moved ...
23216         * sunrpc/getrpcent_r.c: ... here.
23217         * inet/Makefile (routines): Move those to ...
23218         * sunrpc/Makefile (routines): ... here.
23219         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23220         the $(subdirs) list.
23221         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23222         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23223         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23224         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23226         * elf/Makefile (routines): Include $(all-dl-routines), not just
23227         $(dl-routines).
23228         (rtld-routines): Likewise.  Use = rather than :=.
23229         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23230         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23231         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23232         * sysdeps/arm/Makefile: Likewise.
23233         * sysdeps/i386/Makefile: Likewise.
23234         * sysdeps/x86_64/Makefile: Likewise.
23235         * sysdeps/hppa/Makefile [$(subdir) = elf]
23236         (sysdep_routines, sysdep-rtld-routines): Don't add
23237         $(sysdep-dl-routines) to these.
23238         * sysdeps/ia64/Makefile: Likewise.
23239         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23240         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23241         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23242         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23243         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23244         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23245         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23246         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23247         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23248         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23249         these; sysdep-dl-routines alone is enough.
23251 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23253         [BZ #17932]
23254         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23255         where multiplication results in zero and third argument is finite
23256         and nonzero.
23257         * math/auto-libm-test-in: Add more tests of fma.
23258         * math/auto-libm-test-out: Regenerated.
23260         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23261         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23262         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23263         (_FP_CMP_EQ): Likewise.
23264         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23266         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23267         extra argument CHECK_NAN.  Redefine as wrapper around
23268         _FP_EXTEND_CNAN.
23270 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23272         * version.h (RELEASE): Set to "stable".
23273         (VERSION): Set to "2.21"
23274         * include/features.h (__GLIBC_MINOR__): Set to 21.
23276         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23278 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23279             Paul Eggert  <eggert@cs.ucla.edu>
23281         [BZ #16618]
23282         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23283         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23284         size in bytes. Store needed elements in wpmax. Use needed size
23285         in bytes for extend_alloca.
23287 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23289         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23290         binutls 2.25, and texinfo 5.2.
23291         * INSTALL: Regenerate.
23292         * sysdeps/nios2/configure: Regenerate.
23293         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23294         * manual/contrib.texi: Update.
23295         * po/be.po: Update.
23296         * po/bg.po: Update.
23297         * po/ca.po: Update.
23298         * po/cs.po: Update.
23299         * po/da.po: Update.
23300         * po/de.po: Update.
23301         * po/el.po: Update.
23302         * po/eo.po: Update.
23303         * po/es.po: Update.
23304         * po/fi.po: Update.
23305         * po/fr.po: Update.
23306         * po/gl.po: Update.
23307         * po/hr.po: Update.
23308         * po/hu.po: Update.
23309         * po/ia.po: Update.
23310         * po/id.po: Update.
23311         * po/it.po: Update.
23312         * po/ja.po: Update.
23313         * po/ko.po: Update.
23314         * po/lt.po: Update.
23315         * po/nb.po: Update.
23316         * po/nl.po: Update.
23317         * po/pl.po: Update.
23318         * po/pt_BR.po: Update.
23319         * po/ru.po: Update.
23320         * po/rw.po: Update.
23321         * po/sk.po: Update.
23322         * po/sl.po: Update.
23323         * po/sv.po: Update.
23324         * po/tr.po: Update.
23325         * po/uk.po: Update.
23326         * po/vi.po: Update.
23327         * po/zh_CN.po: Update.
23328         * po/zh_TW.po: Update.
23330         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23331         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23332         * sysdeps/hppa/dl-irel.h: Remove #warning.
23333         * sysdeps/hppa/entry.h: Provide prototype for
23334         __canonicalize_funcptr_for_compare and cast argument.
23335         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23336         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23337         * sysdeps/hppa/sotruss-lib.c: New file.
23338         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23339         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23340         (atomic_compare_and_exchange_bool_acq): Likewise.
23341         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23342         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23344         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23345         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23346         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23348 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23350         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23351         called function in non-PIC case.
23353 2015-01-31  David S. Miller  <davem@davemloft.net>
23355         * sysdeps/sparc/sparc32/bits/atomic.h
23356         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23357         unlock not after it.
23358         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23359         volatile register usage warnings from the compiler.
23361         * sysdeps/sparc/nptl/sem_init.c: Delete.
23362         * sysdeps/sparc/nptl/sem_post.c: Delete.
23363         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23364         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23365         * sysdeps/sparc/sparc32/sem_init.c: New file.
23366         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23367         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23368         padding explicitly initialized.
23369         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23370         padding for in-semaphore spinlock.
23371         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23372         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23373         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23374         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23375         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23376         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23377         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23378         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23379         version.
23380         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23381         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23383 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23385         [BZ #17801]
23386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23387         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23388         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23389         New.
23390         (index_AVX_Fast_Unaligned_Load): Likewise.
23391         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23392         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23393         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23394         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23395         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23396         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23397         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23398         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23399         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23401 2015-01-29  Andreas Schwab  <schwab@suse.de>
23403         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23405 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23407         [BZ #17892]
23408         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23410 2015-01-28  Martin Sebor  <msebor@redhat.com>
23412         * math/README.libm-test: Clarify. Add "How to read the test output."
23414 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23416         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23417         Define to 0.
23419 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23421         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23422         (__HAVE_64B_ATOMICS): Define to 0.
23424 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23426         [BZ #17885]
23427         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23428         value to set as new flag.
23430         [BZ #16576]
23431         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23432         and use _ARCH_PPCSQ instead.
23433         (__ieee754_sqrt): Likewise.
23434         (__ieee754_sqrtf): Likewise.
23435         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23436         _ARCH_PPCSQ is defined.
23437         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23438         fsqrt instruction.
23439         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23440         _ARCH_PPCSQ is defined.
23441         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23442         fsqrts instruction.
23443         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23445 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23447         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23448         bug (GCC BZ #64739).
23450 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23452         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23453         Mark _retval as used.
23454         (lll_futex_wake_unlock): Likewise.
23455         (lll_futex_timed_wait_requeue_pi): Likewise.
23457         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23458         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23459         register variables.
23461         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23462         libm_hidden_def.
23464         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23465         (__bswap_64): Mark as __always_inline.
23467 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23469         [BZ #15378]
23470         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23471         when none of the search directories exist.
23473 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23475         [BZ #17869]
23476         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23477         power8 in .machine directive.
23479         [BZ #17868]
23480         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23481         set dependency from opd value.
23483 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23485         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23486         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23487         architecture.
23489 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23491         [BZ #17870]
23492         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23493         with uint64_t.
23494         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23495         (uint64_t) 1.
23496         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23497         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23498         Replace 1UL with (uint64_t) 1.
23499         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23500         int with uint64_t.
23502 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23504         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23505         (if_freenameindex): Likewise.
23507         * resource/getrlimit64.c: Add missing libc_hidden_def.
23509 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23511         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23512         __label__.
23513         (_FP_FMA): Likewise.
23514         (_FP_TO_INT_ROUND): Likewise.
23515         (_FP_FROM_INT): Likewise.
23517 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23519         [BZ #16418]
23520         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23521         Make code racy and cancel safe.
23523 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
23525         * sysdeps/arm/unwind-resume.h: Fix copyright year.
23526         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23527         attribution.
23529         * pwd/tst-getpw.c: Rewrite.
23531         [BZ #17702]
23532         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23533         (modules-names): Add moddummy1 and moddummy2.
23534         ($(objpfx)tst-rec-dlopen): Define.
23535         * dlfcn/moddummy1.c: New file.
23536         * dlfcn/moddummy2.c: New file.
23537         * dlfcn/tst-rec-dlopen.c: New file.
23538         * elf/dl-cache.c (_dl_load_cache_lookup):
23539         Return char*. Copy result with alloca/strcpy/strdup.
23540         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23541         returns char*. Free cached. If not saving realname
23542         free cached.
23543         * elf/dl-open.c (dl_open_worker): Do not assert that
23544         _r_debug->r_state is RT_CONSISTENT.
23545         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23546         returns char*.
23548 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23549             Carlos O'Donell  <carlos@redhat.com>
23551         [BZ #12674]
23552         * nptl/sem_waitcommon.c: New file.
23553         * nptl/sem_wait.c: Include sem_waitcommon.c.
23554         (__sem_wait_cleanup, do_futex_wait): Remove.
23555         (__new_sem_wait): Adapt.
23556         (__new_sem_trywait): New function.
23557         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23558         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23559         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23560         (sem_timedwait): Adapt.
23561         * nptl/sem_post.c (__new_sem_post): Adapt.
23562         (futex_wake): New function.
23563         (__old_sem_post): Add release MO fence.
23564         * nptl/sem_open.c (sem_open): Adapt.
23565         * nptl/sem_init.c (__new_sem_init): Adapt.
23566         (futex_private_if_supported): New function.
23567         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23568         (__old_sem_getvalue): Add using previous code.
23569         * sysdeps/nptl/internaltypes.h: Adapt.
23570         * nptl/tst-sem13.c (do_test): Adapt.
23571         * nptl/tst-sem11.c (main): Adapt.
23572         * nptl/sem_trywait.c: Remove.
23573         * nptl/DESIGN-sem.txt: Remove.
23574         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23575         (gen-as-const-headers): Remove structsem.sym.
23576         * nptl/structsem.sym: Remove.
23577         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23578         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23579         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23580         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23581         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23582         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23583         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23584         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23585         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23586         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23587         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23588         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23589         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23590         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23591         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23592         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23593         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23594         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23595         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23596         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23597         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23598         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23600 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
23602         * INSTALL: Regenerated.
23604         * po/libc.pot: Regenerated.
23606 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
23607             Sandra Loosemore  <sandra@codesourcery.com>
23608             Andrew Jenner  <andrew@codesourcery.com>
23609             Joseph Myers  <joseph@codesourcery.com>
23610             Nathan Sidwell  <nathan@codesourcery.com>
23612         * NEWS: Mention new Nios II port.
23613         * sysdeps/nios2/Implies: New file.
23614         * sysdeps/nios2/Makefile: New file.
23615         * sysdeps/nios2/Subdirs: New file.
23616         * sysdeps/nios2/Versions: New file.
23617         * sysdeps/nios2/__longjmp.S: New file.
23618         * sysdeps/nios2/abort-instr.h: New file.
23619         * sysdeps/nios2/backtrace.c: New file.
23620         * sysdeps/nios2/bits/endian.h: New file.
23621         * sysdeps/nios2/bits/fenv.h: New file.
23622         * sysdeps/nios2/bits/link.h: New file.
23623         * sysdeps/nios2/bits/setjmp.h: New file.
23624         * sysdeps/nios2/bsd-_setjmp.S: New file.
23625         * sysdeps/nios2/bsd-setjmp.S: New file.
23626         * sysdeps/nios2/configure: New generated file.
23627         * sysdeps/nios2/configure.ac: New file.
23628         * sysdeps/nios2/crti.S: New file.
23629         * sysdeps/nios2/crtn.S: New file.
23630         * sysdeps/nios2/dl-init.c: New file.
23631         * sysdeps/nios2/dl-machine.h: New file.
23632         * sysdeps/nios2/dl-sysdep.h: New file.
23633         * sysdeps/nios2/dl-tls.h: New file.
23634         * sysdeps/nios2/dl-trampoline.S: New file.
23635         * sysdeps/nios2/gccframe.h: New file.
23636         * sysdeps/nios2/gmp-mparam.h: New file.
23637         * sysdeps/nios2/jmpbuf-offsets.h: New file.
23638         * sysdeps/nios2/jmpbuf-unwind.h: New file.
23639         * sysdeps/nios2/ldsodefs.h: New file.
23640         * sysdeps/nios2/libc-tls.c: New file.
23641         * sysdeps/nios2/libm-test-ulps: New file.
23642         * sysdeps/nios2/machine-gmon.h: New file.
23643         * sysdeps/nios2/math-tests.h: New file.
23644         * sysdeps/nios2/math_private.h: New file.
23645         * sysdeps/nios2/memusage.h: New file.
23646         * sysdeps/nios2/nptl/Makefile: New file.
23647         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23648         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23649         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23650         * sysdeps/nios2/nptl/pthreaddef.h: New file.
23651         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23652         * sysdeps/nios2/nptl/tls.h: New file.
23653         * sysdeps/nios2/preconfigure: New file.
23654         * sysdeps/nios2/s_fma.c: New file.
23655         * sysdeps/nios2/s_fmaf.c: New file.
23656         * sysdeps/nios2/setjmp.S: New file.
23657         * sysdeps/nios2/sfp-machine.h: New file.
23658         * sysdeps/nios2/sotruss-lib.c: New file.
23659         * sysdeps/nios2/stackguard-macros.h: New file.
23660         * sysdeps/nios2/stackinfo.h: New file.
23661         * sysdeps/nios2/start.S: New file.
23662         * sysdeps/nios2/sysdep.h: New file.
23663         * sysdeps/nios2/tls-macros.h: New file.
23664         * sysdeps/nios2/tst-audit.h: New file.
23665         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23666         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23667         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23668         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23669         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23670         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23671         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23672         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23673         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23674         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23675         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23676         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23677         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23678         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23679         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23680         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23681         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23682         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23683         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23684         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23685         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23686         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23687         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23688         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23689         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23690         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23691         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23692         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23693         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23694         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23695         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23696         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23697         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23698         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23699         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23700         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23701         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23702         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23703         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23704         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23705         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23706         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23707         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23708         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23710 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23712         [BZ #17844]
23713         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23714         (getutent): Use weak_alias in non SHARED case
23715         and default_symbol_version in SHARED case.
23716         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23717         (getutent_r, pututline): Likewise.
23718         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23719         (getutid): Likewise.
23720         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23721         (getutid_r): Likewise.
23722         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23723         (getutline): Likewise.
23724         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23725         (getutline_r): Likewise.
23726         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23727         (updwtmp): Likewise.
23729 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23731         [BZ #17848]
23732         * sysdeps/s390/s390-32/memcmp.S
23733         (memcmp_g5): Rename to __memcmp_g5.
23734         * sysdeps/s390/s390-32/memcpy.S
23735         (memcpy_g5): Rename to __memcpy_g5.
23736         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23737         (memcpy_mvcle) Rename to __memcpy_mvcle.
23738         * sysdeps/s390/s390-32/memset.S
23739         (memset_g5): Rename to __memset_g5.
23740         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23741         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23742         and use prefixed functions.
23743         * sysdeps/s390/s390-32/multiarch/memcmp.S
23744         (memcmp_z196): Rename to __memcmp_z196.
23745         (memcmp_z10): Rename to __memcmp_z10.
23746         (memcmp): Set alias to __memcmp_g5.
23747         (bcmp): Set alias to __memcmp_g5.
23748         * sysdeps/s390/s390-32/multiarch/memcpy.S
23749         (memcpy_z196): Rename to __memcpy_z196.
23750         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23751         (memcpy_z10): Rename to __memcpy_z10.
23752         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23753         (memcpy): Set alias to __memcpy_g5.
23754         * sysdeps/s390/s390-32/multiarch/memset.S
23755         (memset_z196): Rename to __memset_z196.
23756         Jump to __memset_mvcle instead of memset_mvcle.
23757         (memset_z10): Rename to __memset_z10.
23758         Jump to __memset_mvcle instead of memset_mvcle.
23759         (memset_mvcle) Rename to __memset_mvcle.
23760         (memset): Set alias to __memset_g5.
23761         * sysdeps/s390/s390-64/memcmp.S
23762         (memcmp_z900): Rename to __memcmp_z900.
23763         * sysdeps/s390/s390-64/memcpy.S
23764         (memcpy_z900): Rename to __memcpy_z900.
23765         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23766         (memcpy_mvcle) Rename to __memcpy_mvcle.
23767         * sysdeps/s390/s390-64/memset.S
23768         (memset_z900): Rename to __memset_z900.
23769         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23770         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23771         and use prefixed functions.
23772         * sysdeps/s390/s390-64/multiarch/memcmp.S
23773         (memcmp_z196): Rename to __memcmp_z196.
23774         (memcmp_z10): Rename to __memcmp_z10.
23775         (memcmp): Set alias to __memcmp_z900.
23776         (bcmp): Set alias to __memcmp_z900.
23777         * sysdeps/s390/s390-64/multiarch/memcpy.S
23778         (memcpy_z196): Rename to __memcpy_z196.
23779         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23780         (memcpy_z10): Rename to __memcpy_z10.
23781         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23782         (memcpy): Set alias to __memcpy_z900.
23783         * sysdeps/s390/s390-64/multiarch/memset.S
23784         (memset_z196): Rename to __memset_z196.
23785         Jump to __memset_mvcle instead of memset_mvcle.
23786         (memset_z10): Rename to __memset_z10.
23787         Jump to __memset_mvcle instead of memset_mvcle.
23788         (memset_mvcle) Rename to __memset_mvcle.
23789         (memset): Set alias to __memset_z900.
23791 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
23793         [BZ #17748]
23794         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23795         __fesetenv instead of fesetenv.
23797 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23799         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23800         macro.
23802 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23804         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
23805         regression on LE.
23807         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
23808         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
23809         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23810         strncmp-power8 object.
23811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23812         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23813         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23814         * NEWS: Update.
23816 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23817             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23819         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23820         trailing byte check.
23822 2015-01-13  David S. Miller  <davem@davemloft.net>
23824         * include/signal.h (__sigreturn): Guard with __USE_MISC.
23826 2015-01-13  Roland McGrath  <roland@hack.frob.com>
23828         * login/logout.c (logout): Use memset rather than bzero.
23829         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23830         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23831         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23832         (_gethtbyaddr): Likewise.
23833         * locale/programs/simple-hash.c (bcopy): Macro removed.
23835 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23837         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23838         Add strcmp-power8 object.
23839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23840         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23841         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23842         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23843         __strcmp_power8 implementation.
23844         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23845         * NEWS: Update.
23847         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23848         Add strncpy-power8 and stpncpy-power8 objects.
23849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23850         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23851         implementations.
23852         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23853         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23854         __stpncpy_power8 implementation.
23855         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23856         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23857         __strncpy_power8 implementation.
23858         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23859         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23860         * NEWS: Update.
23862         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23863         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23864         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23866         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23867         strncat-power8 object.
23868         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23869         __strcat_power8 implementation.
23870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23871         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23872         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23873         optimized strcat for power8.
23875         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23876         strcpy-power8 and stpcpy-power8 objects.
23877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23878         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23879         implementations.
23880         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23881         multiarch stpcpy implementation for POWER8.
23882         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23883         multiarch strcpy implementation for POWER8.
23884         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23885         __strcpy_power8 function.
23886         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23887         stpcpy for POWER8.
23888         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23889         strcpy for POWER8.
23890         * NEWS: Update.
23892 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
23894         [BZ #16009]
23895         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23896         weights and rules. Use do_xfrm_cached if data fits in cache,
23897         do_xfrm otherwise.  Moved former main loop to...
23898         * (do_xfrm_cached): New function.
23899         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23900         find_idx, find_position and stack_push.
23901         * (find_idx): New function.
23902         * (find_position): Likewise.
23903         * localedata/sort-test.sh: Added test run for do_xfrm.
23904         * localedata/xfrm-test.c (main): Added command line option
23905         -nocache to run the test with strings that are too large for
23906         the STRXFRM cache.
23908 2015-01-13  Torvald Riegel  <triegel@redhat.com>
23910         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23911         variable to lll_futex_wake call, not the value itself.
23913 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
23915         [BZ #17803]
23916         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23917         twom64.  Adjust value to 0x1p-64L.
23918         (__scalblnl): Only return standard underflowing result for K <=
23919         -64 not K <= -63; adjust exponent for underflowing result by 64
23920         not 63.
23921         * math/libm-test.inc (scalbn_test_data): Add more tests.
23922         (scalbln_test_data): Likewise.
23924         [BZ #17834]
23925         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23926         0x1p63L.
23927         (__scalblnl): Get new exponent of adjusted subnormal value from ES
23928         not HX.
23929         * math/libm-test.inc (scalbn_test_data): Add more tests.
23930         (scalbln_test_data): Likewise.
23932 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23933             Stefani Seibold  <stefani@seibold.net>
23935         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23936         (sysdep_routines): Add dl-vdso here, ...
23937         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23938         (sysdep_routines): ... not here.
23939         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23940         fallback when vDSO is not presented.
23941         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23942         Define with libc_hidden_proto/libc_hidden_data_def definitions.
23943         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23944         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23945         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23946         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23947         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23948         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23949         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23950         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23951         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
23952         fallback configurable symbol when vDSO is not available.
23953         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23954         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
23955         be able to redefine fallback symbol when vDSO is not available.
23956         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23957         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23959 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23961         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23962         (TLS_INIT_TP): Add tm_capable initialization.
23963         (TLS_DEFINE_INIT_TP): Likewise.
23964         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23965         TCB.
23966         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23967         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23968         calculation.
23969         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23970         transactoion is lock elision is built and TCB tm_capable is set.
23971         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23973         (INTERNAL_SYSCALL_NCS): Likewise.
23974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23975         (INTERNAL_SYSCALL_NCS): Likewise.
23976         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
23978         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
23979         for powerpc.
23980         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23981         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
23982         and remove it for 32 bits case.
23983         [pthread_rwlock_t] (__rwelision): New field for lock elision.
23984         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
23985         initialization.
23986         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
23987         Disable lock elision with rdlocks if elision is not available.
23989         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
23990         (sysdep_routines): Add lock elision objects.
23991         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23992         [pthread_mutex_t] (__spins): Rework to add lock elision field.
23993         [pthread_mutex_t] (__elision): Add field.
23994         [__PTHREAD_SPINS]: Adjust to init lock elision field.
23995         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
23996         elision definitions for powerpc.
23997         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23998         implementation of lock elision for powerpc.
23999         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24000         implementation of timed lock elision for powerpc.
24001         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24002         implementation of trylock with lock elision for powerpc.
24003         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24004         implementaion of unlock for lock elision for powerpc.
24005         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24006         automatic enable lock elision for mutexes.
24007         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24008         transaction execution definitions for powerpc.
24009         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24010         definitions.
24011         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24012         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24013         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24014         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24015         * NEWS: Update.
24017 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24019         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24020         for #include of <shm-directory.h>.
24022 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24024         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24025         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24027 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24029         [BZ #17791]
24030         * NEWS: Mention bug fix.
24031         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24032         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24033         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24035 2015-01-09  Torvald Riegel <triegel@redhat.com>
24037         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24039 2015-01-09  Torvald Riegel <triegel@redhat.com>
24041         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24043 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24045         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24046         pointer and cast to uintptr_t.
24048 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24050         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24051         removed.
24052         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24054 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24056         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24057         of 0.
24059 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24061         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24062         <nptl/pthreadP.h> instead.
24063         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24065         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24066         already defined.
24067         [__SIGRTMIN] (init): Function removed.
24068         [__SIGRTMIN] (initialized): Variable removed.
24069         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24070         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24071         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24072         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24073         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24074         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24075         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24076         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24077         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24078         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24079         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24080         * sysdeps/nptl/allocrtsig.c: New file.
24081         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24082         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24083         * sysdeps/generic/testrtsig.h: File removed.
24085         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24086         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24088         * nptl/nptl-init.c (pthread_functions): Conditionalize
24089         .ptr__nptl_setxid initialization on [SIGSETXID].
24091         * sysdeps/nptl/sys/procfs.h: New file.
24092         * nptl_db/Makefile (headers): Add it.
24093         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24095         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24096         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24097         * nptl/pthread_attr_setaffinity.c: Include it.
24098         * nptl/pthread_setattr_default_np.c: Likewise.
24099         * nptl/check-cpuset.h: New file.
24101 2015-01-08  Richard Henderson  <rth@redhat.com>
24103         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24104         (CFLAGS-tst-execstack-prog.c): Likewise.
24105         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24107 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24108             Sandra Loosemore  <sandra@codesourcery.com>
24109             Andrew Jenner  <andrew@codesourcery.com>
24110             Joseph Myers  <joseph@codesourcery.com>
24111             Nathan Sidwell  <nathan@codesourcery.com>
24113         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24114         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24115         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24116         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24117         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24118         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24119         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24120         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24121         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24122         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24123         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24124         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24125         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24126         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24127         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24128         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24129         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24131 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24133         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24134         timespec struct member in syscall macro.
24135         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24136         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24137         first timeval struct member in syscall macro.
24138         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24140 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24142         [BZ #17748]
24143         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24144         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24145         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24146         __feupdateenv and define as weak alias of __feupdateenv.  Use
24147         libm_hidden_weak.
24148         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24149         libm_hidden_def.
24150         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24151         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24152         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24153         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24154         libm_hidden_def.
24155         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24156         __feupdateenv and define as weak alias of __feupdateenv.  Use
24157         libm_hidden_weak.
24158         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24159         libm_hidden_def.
24160         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24161         __feupdateenv and define as weak alias of __feupdateenv.  Use
24162         libm_hidden_weak.
24163         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24164         libm_hidden_def.
24165         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24166         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24167         (__feupdateenv): Likewise.
24168         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24169         __feupdateenv and define as weak alias of __feupdateenv.  Use
24170         libm_hidden_weak.
24171         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24172         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24173         libm_hidden_def.
24174         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24175         function.
24176         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24177         libm_hidden_def.
24178         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24179         __feupdateenv instead of feupdateenv.
24180         (default_libc_feupdateenv_test): Likewise.
24181         (libc_feresetround_ctx): Likewise.
24183 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24185         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24186         prototype.
24188 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24190         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24191         COLL_SYM in a couple of places to avoid uninitialized variable
24192         wanings on tilegx gcc 4.8.2.
24194 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24196         * sysdeps/aarch64/strcpy.S: New file.
24197         * sysdeps/aarch64/stpcpy.S: New file.
24198         * NEWS: Updated.
24200 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24202         * sysdeps/aarch64/strrchr.S: New file.
24203         * NEWS: Updated.
24205 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24207         [BZ #17658]
24208         * stdlib/setenv.c: Fix memory leak when setting large,
24209         duplicate string.
24211 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24213         [BZ #17273]
24214         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24215         and tabs from buffer before parsing fstab entry.
24216         * misc/tst-mntent.c (main): Add test for mount entry with
24217         trailing spaces and tabs.
24219 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24221         [BZ #17748]
24222         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24223         * math/fesetround.c (fesetround): Rename to __fesetround and
24224         define as weak alias of __fesetround.  Use libm_hidden_weak.
24225         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24226         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24227         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24228         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24229         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24230         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24231         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24232         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24233         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24234         __fesetround_inline.
24235         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24236         __fesetround_inline instead of __fesetround.
24237         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24238         __fesetround and define as weak alias of __fesetround.  Use
24239         libm_hidden_weak.  Call __fesetround_inline instead of
24240         __fesetround.
24241         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24242         __fesetround and define as weak alias of __fesetround.  Use
24243         libm_hidden_weak.
24244         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24245         Likewise.
24246         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24247         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24248         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24249         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24250         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24251         __fesetround and define as weak alias of __fesetround.  Use
24252         libm_hidden_weak.
24253         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24254         __fesetround instead of fesetround.
24255         (default_libc_feholdexcept_setround): Likewise.
24256         (libc_feholdsetround_ctx): Likewise.
24257         (libc_feholdsetround_noex_ctx): Likewise.
24259         [BZ #17748]
24260         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24261         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24262         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24263         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24264         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24265         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24266         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24267         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24268         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24269         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24270         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24271         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24272         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24273         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24274         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24275         libm_hidden_def.
24276         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24277         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24278         Likewise.
24279         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24280         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24281         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24282         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24283         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24284         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24285         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24286         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24287         __fesetenv instead of fesetenv.
24288         (libc_feresetround_noex_ctx): Likewise.
24289         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24290         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24291         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24292         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24293         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24294         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24295         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24296         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24297         (__feupdateenv): Likewise.
24298         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24299         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24300         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24301         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24303 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24305         [BZ #17806]
24306         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24307         addresses have been freed.
24309 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24311         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24312         and nservall.
24314 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24316         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24317         Clean up check_pf allocation pattern. addresses
24319 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24321         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24322         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24323         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24324         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24325         * nptl/pthread_join.c (pthread_join): Likewise.
24326         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24327         * sysdeps/posix/waitid.c (__waitid): Likewise.
24328         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24329         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24330         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24331         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24332         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24333         Likewise.
24334         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24335         (__libc_pread64): Likewise.
24336         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24337         (__libc_pwrite): Likewise.
24338         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24339         (__libc_pwrite64): Likewsie.
24340         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24341         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24342         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24343         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24344         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24345         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24346         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24348         Likewise.
24349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24350         (__libc_pread64): Likewise.
24351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24352         Likewise.
24353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24354         (__libc_pwrite64): Likewise.
24355         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24356         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24357         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24358         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24359         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24360         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24361         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24362         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24363         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24364         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24365         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24366         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24367         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24368         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24369         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24370         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24371         Likewise.
24373 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24375         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24376         (CFLAGS-test-double.c): Likewise.
24377         (CFLAGS-test-ldouble.c): Likewise.
24378         (CPPFLAGS-test-ifloat.c): Likewise.
24379         (CPPFLAGS-test-idouble.c): Likewise.
24380         (CPPFLAGS-test-ildoubl.c): Likewise.
24381         (CFLAGS-test-test-fenv.c): Remove variable.
24382         (CFLAGS-test-misc.c): Likewise.
24384 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24386         [BZ #17797]
24387         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24388         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24389         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24390         CLOCKS_PER_SEC == 1000000.
24391         * time/clocktest.c (main): Replace %ld with %jd and cast to
24392         intmax_t.
24394 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24396         * sysdeps/generic/unwind-resume.h: New file.
24397         * sysdeps/gnu/unwind-resume.c: Include it.
24398         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24399         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24400         argument list.
24401         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24402         global rather than static.
24403         (_Unwind_Resume): Update user.
24404         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24405         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24406         rather than static.  Add __attribute__ ((cold)).
24407         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24408         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24409         * sysdeps/arm/arm-unwind-resume.S: New file.
24410         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24411         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24412         * sysdeps/arm/Makefile [$(subdir) = csu]
24413         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24414         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24415         Add rt-arm-unwind-resume.
24416         [$(subdir) = nptl]
24417         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24418         Add pt-arm-unwind-resume.
24419         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24420         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24422 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24424         [BZ #17748]
24425         * include/fenv.h (__feholdexcept): Declare.  Use
24426         libm_hidden_proto.
24427         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24428         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24429         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24430         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24431         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24432         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24433         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24434         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24435         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24436         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24437         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24438         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24439         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24440         (feholdexcept): Likewise.
24441         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24442         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24443         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24444         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24445         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24446         __feholdexcept instead of feholdexcept.
24447         (default_libc_feholdexcept_setround): Likewise.
24449 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24451         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24452         to avoid using stl/str to align destination.
24454 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24456         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24458 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24460         [BZ #17796]
24461         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24462         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24463         Define as weak alias not strong alias.
24465 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24467         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24468         bltzal with addiupc.
24469         (RTLD_START): Ditto.
24471 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24473         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24474         for __vdso_* functions in declarations.
24475         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24476         definitions.
24477         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24478         INTERNAL_VSYSCALL): Use struct return types to check for error.
24480         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24481         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24482         function with cast from llround().
24483         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24484         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24485         Define.
24487 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24489         [BZ #17793]
24490         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24491         Define as weak alias not strong alias.
24493         [BZ #17635]
24494         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24495         ...
24496         * ctype/ctype-extn.c: ... here.
24497         (__isblank_l): Move to ...
24498         * ctype/ctype-c99_l.c: ... here.  New file.
24499         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24500         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24501         Remove variable.
24502         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24503         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24504         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24505         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24506         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24508         [BZ #17777]
24509         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24510         (posix_fadvise64): Define as weak alias not strong alias.
24511         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24512         (posix_fallocate64): Likewise.
24513         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24514         Remove variable.
24515         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24516         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24517         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24518         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24519         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24521 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
24523         [BZ #16191]
24524         * NEWS: Mention bug fix.
24525         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24526         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24527         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24528         (HOST_STACK_END_ADDR): Likewise.
24530 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24532         [BZ #17748]
24533         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
24534         * math/fegetround.c (fegetround): Rename to __fegetround and
24535         define as weak alias of __fegetround.  Use libm_hidden_weak.
24536         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24537         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24538         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24539         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24540         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24541         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24542         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24543         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24544         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24545         Undefine after rather than before function definition; use
24546         parentheses around function name in definition.
24547         (__fegetround): Also undefine macro after function definition.
24548         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24549         __fegetround and define as weak alias of __fegetround.  Use
24550         libm_hidden_weak.  Do not undefine as macro.
24551         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24552         Likewise.
24553         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24554         __fegetround and define as weak alias of __fegetround.  Use
24555         libm_hidden_weak.
24556         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24557         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24558         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24559         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24560         __fegetround and define as weak alias of __fegetround.  Use
24561         libm_hidden_weak.
24562         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24563         __fegetround instead of fegetround.
24565         [BZ #17782]
24566         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24567         Condition macro definition on [__USE_MISC].
24569         [BZ #17781]
24570         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24571         (struct sigaction): Change type of sa_flags field to int.
24573         [BZ #17780]
24574         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24575         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24576         __glibc_reserved0.
24578         * nptl/version.c (banner): Use single year in copyright notice.
24580         * NEWS: Update copyright dates.
24581         * catgets/gencat.c (print_version): Likewise.
24582         * csu/version.c (banner): Likewise.
24583         * debug/catchsegv.sh: Likewise.
24584         * debug/pcprofiledump.c (print_version): Likewise.
24585         * debug/xtrace.sh (do_version): Likewise.
24586         * elf/ldconfig.c (print_version): Likewise.
24587         * elf/ldd.bash.in: Likewise.
24588         * elf/pldd.c (print_version): Likewise.
24589         * elf/sotruss.sh: Likewise.
24590         * elf/sprof.c (print_version): Likewise.
24591         * iconv/iconv_prog.c (print_version): Likewise.
24592         * iconv/iconvconfig.c (print_version): Likewise.
24593         * locale/programs/locale.c (print_version): Likewise.
24594         * locale/programs/localedef.c (print_version): Likewise.
24595         * login/programs/pt_chown.c (print_version): Likewise.
24596         * malloc/memusage.sh (do_version): Likewise.
24597         * malloc/memusagestat.c (print_version): Likewise.
24598         * malloc/mtrace.pl: Likewise.
24599         * manual/libc.texinfo: Likewise.
24600         * nptl/version.c (banner): Likewise.
24601         * nscd/nscd.c (print_version): Likewise.
24602         * nss/getent.c (print_version): Likewise.
24603         * nss/makedb.c (print_version): Likewise.
24604         * posix/getconf.c (main): Likewise.
24605         * scripts/test-installation.pl: Likewise.
24606         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24608 2015-01-02  Will Newton  <will.newton@linaro.org>
24610         * sysdeps/arm/armv7/configure: Removed.
24611         * sysdeps/arm/armv7/configure.ac: Likewise.
24613 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24615         * All files with FSF copyright notices: Update copyright dates
24616         using scripts/update-copyrights.
24617         * intl/plural.c: Regenerated.
24618         * locale/programs/charmap-kw.h: Likewise.
24619         * locale/programs/locfile-kw.h: Likewise.
24621 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24623         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24625 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24627         [BZ #17748]
24628         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24629         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24630         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24631         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24632         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24633         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24634         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24635         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24636         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24637         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24638         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24639         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24640         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24641         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24642         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24643         libm_hidden_def.
24644         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24645         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24646         Likewise.
24647         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24648         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24649         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24650         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24651         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24652         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24653         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24654         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24655         __fegetenv instead of fegetenv.
24656         (libc_feholdsetround_noex_ctx): Likewise.
24658 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24660         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24661         (Elf_MIPS_ABIFlags_v0): New structure.
24662         (EF_MIPS_FP64): Define.
24663         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24664         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24665         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24666         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24667         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24668         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24669         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24670         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24671         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24672         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24673         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24674         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24675         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24676         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24677         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24678         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24679         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24680         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24681         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24682         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24683         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24684         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24685         field.
24686         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24687         EF_MIPS_FP64.
24688         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24689         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24690         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24691         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24692         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24693         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24694         * sysdeps/mips/tst-abi-interlink.c: Likewise.
24695         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24696         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24697         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24698         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24699         record the current FP ABI extension.
24700         (mips-mode-switch): Define to show if kernel headers support mode
24701         switching.
24702         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24703         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24704         supported SYSV ABI version to 3.
24705         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24706         feature.
24708 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24709             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24711         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24712         path.
24713         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24715 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24717         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24718         __fegetround and redefine to call __fegetround.  Remove condition
24719         on [!__NO_MATH_INLINES].
24720         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24721         function.
24722         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24723         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24724         Remove macro.
24725         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24726         instead of <fenv_libc.h>.
24727         (__llrintl): Call fegetround instead of __fegetround.
24728         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24729         instead of <fenv_libc.h>.
24730         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24731         (__lrintl): Call fegetround instead of __fegetround.
24732         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24733         instead of <fenv_libc.h>.
24734         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24735         (__rintl): Call fegetround instead of __fegetround.
24737 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24739         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24740         arrays.
24742 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24744         [BZ #17775]
24745         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24746         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24747         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24749 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24751         * sysdeps/i386/tls-macros.h: Include <features.h>.
24752         (TLS_LE): Use non-PIC version for GCC >= 5.0.
24753         (TLS_IE): Likewise.
24754         (TLS_LD): Likewise.
24755         (TLS_GD): Likewise.
24756         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24757         define for GCC >= 5.0.
24759 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
24761         * math/test-fenv.c (test_single_exception, set_single_exc,
24762         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24763         feexcp_mask_test, feenable_test, fe_single_test): Add
24764         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24765         case where they are not used.
24766         * math/libm-test.inc: Likewise.
24767         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24768         unused in the absence of FP rounding/exception support.
24769         * stdio-common/tst-printf-round.c: Likewise.
24770         * stdlib/tst-strtod-round.c: Likewise.
24771         * stdlib/tst-strtod-underflow.c: Likewise.
24773 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
24775         [BZ #17723]
24776         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24777         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24778         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24779         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24780         libm_hidden_weak.
24781         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24782         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24783         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24784         libm_hidden_def.
24785         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24786         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24787         libm_hidden_weak.
24788         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24789         Likewise.
24790         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24791         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24792         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24793         libm_hidden_weak.
24794         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24795         libm_hidden_def.
24796         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24797         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24798         (__feraiseexcept): Likewise.
24799         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24800         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24801         libm_hidden_weak.
24802         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24803         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24804         libm_hidden_def.
24805         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
24806         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
24807         Use libm_hidden_def.
24808         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
24809         libm_hidden_def.
24810         (feraiseexcept): Define as weak not strong alias.  Use
24811         libm_hidden_weak.
24812         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24813         New inline function.  Factored out of ...
24814         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
24815         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24816         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24817         feraiseexcept.
24818         * math/w_acos.c (__acos): Likewise.
24819         * math/w_asin.c (__asin): Likewise.
24820         * math/w_ilogb.c (__ilogb): Likewise.
24821         * math/w_j0.c (y0): Likewise.
24822         * math/w_j1.c (y1): Likewise.
24823         * math/w_jn.c (yn): Likewise.
24824         * math/w_log.c (__log): Likewise.
24825         * math/w_log10.c (__log10): Likewise.
24826         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24827         * sysdeps/aarch64/fpu/math_private.h
24828         (libc_feupdateenv_test_aarch64): Likewise.
24829         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24830         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24831         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24832         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24833         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24834         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24835         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24836         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24837         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24838         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24840 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24842         [BZ #17732]
24843         * io/test-utime.c (main): Replace %ld with %jd and cast to
24844         intmax_t.
24845         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24846         * nptl/tst-mutex5.c: Include <stdint.h>.
24847         (do_test): Replace %ld with %jd and cast to intmax_t.
24848         * posix/tst-regex.c (run_test): Likewise.
24849         (run_test_backwards): Likewise.
24850         * rt/tst-clock.c: Include <stdint.h>.
24851         (clock_test): Replace %ld with %jd and cast to intmax_t.
24852         * rt/tst-cpuclock1.c: Include <stdint.h>.
24853         (do_test): Replace %lu with %ju and cast to uintmax_t.
24854         * rt/tst-cpuclock2.c: Include <stdint.h>.
24855         (do_test): Replace %lu with %ju and cast to uintmax_t.
24856         * rt/tst-mqueue1.c: Include <stdint.h>.
24857         (check_attrs): Replace %ld with %jd and cast to intmax_t.
24858         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24859         intmax_t.
24860         * rt/tst-mqueue4.c (do_test): Likewise.
24861         * rt/tst-timer4.c: Include <stdint.h>.
24862         (check_ts): Replace %ld with %jd and cast to intmax_t.
24863         (do_test): Likewise.
24864         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24865         and cast to intmax_t.
24866         * sysdeps/pthread/tst-timer.c (main): Likewise.
24867         * time/clocktest.c (main): Likewise.
24868         * time/tst-posixtz.c (do_test): Likewise.
24869         * timezone/tst-timezone.c (main): Likewise.
24871 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24872             H.J. Lu  <hongjiu.lu@intel.com>
24874         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24875         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24876         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24877         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24878         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24879         version if bit_Fast_Unaligned_Load is set.
24880         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24881         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24882         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24883         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24884         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24885         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24886         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24887         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24888         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24889         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24890         to 4.
24891         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24892         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24893         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24894         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24896 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
24898         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24899         instead of #if to avoid a Wundef warning.
24900         * stdlib/tst-limits.c (do_test): Likewise.
24902         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24903         parallel other exception macros.
24904         (fegetenv): Convert from macro to extern inline so that it applies
24905         retroactively to inline functions already seen by the compiler.
24906         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24908         * posix/Makefile (before-compile): Use $(objpfx) for
24909         posix-conf-vars-def.h.
24911 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24913         * posix/getconf.c (main): Use size_t for type of I.
24914         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24915         NSPEC.
24917         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24918         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24919         * posix/posix-envs.def: Likewise.
24920         * sysdeps/posix/sysconf.c: Likewise.
24921         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24922         (specs): Remove array.
24923         * scripts/gen-posix-conf-vars.awk: Support generation of specs
24924         array.
24926         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24927         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24928         (__sysconf): Use CONF_IS_* macros.
24930         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24931         ($(objpfx)posix-conf-vars-def.h): New target.
24932         * posix/posix-conf-vars.list: New file.
24933         * posix/posix-conf-vars.h: New file.
24934         * posix/confstr.c: Include posix-conf-vars.h.
24935         (confstr): Use CONF_IS_* macros.
24936         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
24937         CONF_IS_* macros.
24938         * scripts/gen-posix-conf-vars.awk: New file.
24940 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
24942         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24943         fegetround): Add no-op macros to avoid linknamespace issues.
24945         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24946         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24948         * sysdeps/unix/sysv/linux/tile/sysdep.h
24949         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24950         assembly-specific section to avoid a redefinition warning.
24952         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24953         long before casting to pointer to avoid a cast warning.
24955 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
24957         * sysdeps/tile/tilegx/Implies: New file.
24959 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
24961         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24963 2014-12-23  Florian Weimer  <fweimer@redhat.com>
24965         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24967 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24969         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24970         not define.
24971         * sysdeps/unix/sysv/linux/utimes.c: Do not include
24972         <kernel-features.h>.
24973         (__utimes) [__NR_utimes]: Make code unconditional.
24974         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24975         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24976         (__ASSUME_UTIMES): Do not undefine.
24977         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24978         (__ASSUME_UTIMES): Likewise.
24979         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24980         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
24981         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
24982         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
24984 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24986         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
24988 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
24990         [BZ #17747]
24991         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
24992         alias to weak alias for j0l, y0l.
24993         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
24994         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
24996         [BZ #17746]
24997         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
24998         conversion.
25000 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25002         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25003         to zero if not already defined.
25005 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25007         [BZ #17724]
25008         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25009         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25010         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25011         (char *) casts added.
25012         * sysdeps/ieee754/k_standardf.c: New file.
25013         * sysdeps/ieee754/k_standardl.c: Likewise.
25014         * math/Makefile (libm-support): Remove k_standard.
25015         (libm-calls): Add k_standard.
25017 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25019         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25020         Optimize to avoid an unnecessary FPCR read.
25022 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25024         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25025         Optimize to reduce FPCR/FPSR accesses.
25027 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25029         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25030         Call libc_fetestexcept_aarch64.
25032 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25034         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25035         Call libc_fesetround_aarch64.
25037 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25039         [BZ #17733]
25040         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25041         (__bind): Do not define as weak alias.
25042         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25043         define.
25044         (__getsockname): Do not define as weak alias.
25046 2014-12-22  Will Newton  <will.newton@linaro.org>
25048         * manual/install.texi: Document that we require bison 2.7
25049         or above.
25050         * INSTALL: Regenerate.
25051         * configure.ac: Use AC_CHECK_PROG_VER instead of
25052         AC_PATH_PROG when checking for bison and check for
25053         version 2.7 or above.
25054         * configure: Regenerate.
25056 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25058         [BZ #17745]
25059         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25060         * sysdeps/tile/ffsll.c (ffsll): To here.
25062         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25064 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25066         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25067         if not defined.
25068         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25069         definition.
25070         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25071         hidden ___tls_get_addr.
25072         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25073         hidden __tls_get_addr.
25074         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25075         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25076         Likewise.
25078 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25080         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25081         _dl_init call.
25083 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25085         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25086         from "call _dl_init@PLT".
25087         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25089 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25091         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25092         guarantees.
25094 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25096         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25098 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25100         [BZ #17744]
25101         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25102         strnlen.
25104 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25106         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25107         of multu on MIPSr6.
25108         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25109         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25110         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25111         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25112         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25114 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25116         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25117         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25118         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25119         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25120         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25121         mips32r6/mips64r6.
25122         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25124 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25126         * string/strncat.c (STRNCAT): Simplify implementation.
25128 2014-12-19  David S. Miller  <davem@davemloft.net>
25130         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25131         access the quad as both a long double and as a series of 4 words.
25133         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25134         link_map->l_info array access.
25136 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25138         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25140         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25141         * math/atest-exp2.c (TIMEOUT): Likewise.
25142         * math/atest-sincos.c (TIMEOUT): Likewise.
25144 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25146         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25147         -Wno-error with -fno-builtin-lround.
25149 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25151         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25152         Contains futex constants and functions moved over from ...
25153         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25154         <lowlevellock-futex.h>.
25155         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25156         (lll_timedwait_tid): Add comments and parentheses around macro
25157         arguments.
25159 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25161         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25162         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25163         (__lll_private_flag): Remove.
25164         (lll_futex_wait): Likewise.
25165         (lll_futex_timed_wait): Likewise.
25166         (lll_futex_wake): Likewise.
25167         (lll_futex_requeue): Likewise.
25168         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25169         (__lll_timedwait_tid): Spell out argument names.
25170         (lll_timedwait_tid): Add comments and parentheses around macro
25171         arguments.
25172         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25173         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25175 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25177         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25178         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25179         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25180         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25181         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25182         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25183         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25184         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25185         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25186         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25187         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25188         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25189         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25190         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25191         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25192         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25193         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25194         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25195         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25197 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25199         * sysdeps/x86_64/x32/Makefile: New file.
25201 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25203         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25204         1L with (mp_limb_t) 1.
25206 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25208         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25209         * nptl/libc_pthread_init.c: ... here.
25210         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25211         * nptl/register-atfork.c: ... here.
25213         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25214         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25215         Use assert_perror to check its return value.
25216         (__gai_create_helper_thread): Likewise.
25218         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25220         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25222 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25224         [BZ #17725]
25225         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25226         __profil_counter.
25227         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25228         Likewise.
25229         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25230         Likewise.
25231         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25232         Likewise.
25233         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25234         (profil_counter): Likewise.
25235         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25236         (profil_counter): Likewise.
25237         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25238         Likewise.
25239         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25240         Likewise.
25241         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25242         (profil_counter): Likewise.
25243         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25244         Likewise.
25245         [!__profil_counter] (profil_counter): Define as weak alias of
25246         __profil_counter.
25247         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25248         (profil_counter): Rename to __profil_counter.
25249         [!__profil_counter] (profil_counter): Define as weak alias of
25250         __profil_counter.
25251         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25252         (profil_counter): Rename to __profil_counter.
25253         [!__profil_counter] (profil_counter): Define as weak alias of
25254         __profil_counter.
25255         * sysdeps/posix/profil.c: Update comment referring to
25256         profil_counter.
25257         (__profil): Use __profil_counter instead of profil_counter.
25258         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25259         __profil_counter.  Use __profil_counter_ushort and
25260         __profil_counter_uint in definitions.
25261         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25262         instead of profil_counter_uint and profil_counter_ushort.
25264         [BZ #17722]
25265         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25266         define as weak alias of __inet_makeaddr.
25267         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25268         as weak alias of __inet_addr.
25269         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25270         as weak alias of __inet_pton.  Use libc_hidden_weak.
25271         * include/arpa/inet.h (__inet_pton): Declare.  Use
25272         libc_hidden_proto.
25273         (inet_makeaddr): Don't use libc_hidden_proto.
25274         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25275         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25276         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25277         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25278         Remove variable.
25279         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25280         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25282 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25284         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25286 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25288         * stdio-common/bug-vfprintf-nargs.c (do_test):
25289         Cast value to intptr_t to avoid format warning
25290         for usage with PRIdPTR printing macro.
25292 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25294         * libio/tst-widetext.c (do_test):
25295         Use format type %td instead of %Zd for ptrdiff_t
25296         in order to avoid format warning.
25298 2014-12-17  Andreas Schwab  <schwab@suse.de>
25300         * nscd/mem.c (gc): Add size_t cast to match printf format.
25302 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25304         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25305         (init): Apply PTR_MANGLE to pointers before storing them.
25306         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25307         before using them.
25309 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25311         [BZ #17719]
25312         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25313         define as weak alias of __memrchr.
25314         (__memrchr): Do not define as strong alias of memrchr.
25315         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25316         Remove variable.
25317         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25318         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25319         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25321         [BZ #17717]
25322         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25323         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25324         (if_indextoname): Rename to __if_indextoname and define as weak
25325         alias of __if_indextoname.  Use libc_hidden_weak.
25326         (if_freenameindex): Rename to __if_freenameindex and define as
25327         weak alias of __if_freenameindex.
25328         (if_nameindex): Rename to __if_nameindex and define as weak alias
25329         of __if_nameindex.
25330         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25331         __if_nametoindex and define as weak alias of __if_nametoindex.
25332         Use libc_hidden_weak.
25333         (if_freenameindex): Rename to __if_freenameindex and define as
25334         weak alias of __if_freenameindex.
25335         (if_nameindex): Rename to __if_nameindex and define as weak alias
25336         of __if_nameindex.
25337         (if_indextoname): Rename to __if_indextoname and define as weak
25338         alias of __if_indextoname.  Use libc_hidden_weak.
25339         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25340         __if_nametoindex and define as weak alias of __if_nametoindex.
25341         Use libc_hidden_weak.
25342         (if_freenameindex): Rename to __if_freenameindex and define as
25343         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25344         (if_nameindex_netlink): Use __if_freenameindex instead of
25345         if_freenameindex.
25346         (if_nameindex): Rename to __if_nameindex and define as weak alias
25347         of __if_nameindex.  Use libc_hidden_weak.
25348         (if_indextoname): Rename to __if_indextoname and define as weak
25349         alias of __if_indextoname.  Use libc_hidden_weak.
25350         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25351         libc_hidden_proto.
25352         [!_ISOMAC] (__if_freenameindex): Likewise.
25353         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25354         if_nametoindex.
25355         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25356         variable.
25357         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25358         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25359         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25360         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25361         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25362         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25363         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25365         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25366         Remove variable.
25367         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25368         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25370 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25372         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25373         subscript above bounds'
25375         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25376         bounds.
25378 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25380         * libio/tst-fopenloc.c: Use test-skeleton.c.
25382         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25383         (entry): Rename to ITEM.
25384         (do_test, comp): Adjust.
25386         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25388 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25390         * string/tester.c: Include <libc-internal.h>.
25391         (test_memset): Ignore -Wmemset-transposed-args.
25393 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25395         * misc/tst-mntent2.c (do_test): Fix warning.
25397 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25399         * elf/tst-unique4lib.cc(a): Mark as used.
25401 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25403         [BZ #17630]
25404         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25405         names.
25407 2014-12-16  Allan McRae  <allan@archlinux.org>
25409         * stdio-common/Makefile (tests): Re-add bug26.
25411 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25413         [BZ #17657]
25414         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25415         static array.
25417 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25419         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25420         (__lll_lock_wait): Likewise.
25421         (__lll_timedlock_wait): Likewise.
25422         (__lll_timedwait_tid): Likewise.
25423         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25424         (__lll_robust_timedlock_wait): Likewise.
25425         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25426         (lll_cond_trylock): Likewise.
25427         (__lll_lock): Likewise.
25428         (__lll_robust_lock): Likewise.
25429         (__lll_cond_lock): Likewise.
25430         (lll_robust_cond_lock): Likewise.
25431         (__lll_timedlock): Likewise.
25432         (__lll_robust_timedlock): Likewise.
25433         (__lll_unlock): Likewise.
25434         (__lll_robust_unlock): Likewise.
25435         (lll_wait_tid): Likewise.
25436         (lll_timedwait_tid): Likewise.
25438 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25440         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25442 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25444         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25446 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25448         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25449         * stdio-common/tst-sprintf.c: Likewise.
25451 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25453         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25455 2014-12-15  Jeff Law  <law@redhat.com>
25457         [BZ #16617]
25458         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25459         on the heap.  (CVE-2012-3406)
25460         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25461         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25462         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25464 2014-12-15  Will Newton  <will.newton@linaro.org>
25466         * manual/install.texi: Bump required version of texinfo
25467         to 4.7 from 4.5.
25468         * INSTALL: Regenerated.
25469         * configure.ac: Check for makeinfo version 4.7 and above.
25470         * configure: Regenerated.
25472 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25474         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25475         PREFIX, string constant to insert between directory and name.
25476         * sysdeps/posix/shm_open.c: Update caller.
25477         * sysdeps/posix/shm_unlink.c: Likewise.
25478         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25479         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25480         (SEM_SHM_PREFIX): New macro.
25481         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25482         [$(have-thread-library) = no].
25483         * nptl/Makefile (libpthread-routines): Add shm-directory.
25484         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25485         * sysdeps/nptl/shm-directory.h: New file.
25486         * sysdeps/posix/shm-directory.c
25487         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25488         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25489         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25490         INTERNAL_SYSCALL.
25491         (__where_is_shmfs): Function removed.
25492         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25493         Variables removed.
25494         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25495         Use SHM_GET_NAME.
25496         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25498         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25499         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25500         unconditional for use inside libpthread.
25501         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25503 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25505         * nptl/pthread_getaffinity.c: New file.
25506         * nptl/pthread_setaffinity.c: New file.
25507         * nptl/pthread_getname.c: New file.
25508         * nptl/pthread_setname.c: New file.
25510         * nptl/pthread_create.c (START_THREAD_DEFN)
25511         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25513 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25514             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25516         * resolv/res_send.c (send_vc): Disable warning resplen may
25517         be used uninitialized.
25519 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25521         * nptl/tst-mutex6.c
25522         (ATTR_NULL): New define checks ATTR against NULL.
25523         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25524         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25526 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
25528         [BZ #17581]
25529         * malloc/hooks.c
25530         (mem2mem_check): Revert my previous change.
25531         (malloc_check_get_size): Revert my previous change.
25532         (mem2chunk_check): Revert my previous change.
25534 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25536         * sysdeps/posix/shm-directory.c: New file.
25537         * sysdeps/posix/shm-directory.h: New file.
25538         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25539         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25540         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25541         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25542         Transmute EPERM to EACCES.
25543         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25544         from ...
25545         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25546         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25548 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25550         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25551         pointer and cast to uintptr_t.
25552         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25553         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25554         Add cast to avoid warning.
25555         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25557 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25559         * nptl/semaphore.h: Move to ...
25560         * sysdeps/pthread/semaphore.h: ... here.
25561         * Makefile (installed-headers): Change nptl/semaphore.h to
25562         sysdeps/pthread/semaphore.h.
25564 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25566         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25567         generated error format strings.
25569         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25570         -Wformat-extra-args warnings for scanf formats.
25571         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25572         test of zero-length format (duh).
25573         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25574         corner-case scanf format test.
25575         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25576         generated fprintf format string.
25577         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25578         corner-case sprintf format tests.
25579         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25580         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25581         -Wformat-extra-args warnings throughout.
25582         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25583         (CFLAGS-scanf4.c): Likewise.
25584         (CFLAGS-scanf7.c): Likewise.
25585         (CFLAGS-tst-sprintf.c): Likewise.
25586         (CFLAGS-tst-printf.c): Likewise.
25587         (CFLAGS-tst-printfsz.c): Likewise.
25589 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25591         * include/cpio.h: New file.
25592         * include/fmtmsg.h: Likewise.
25594         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
25595         corresponding format argument to size_t.
25596         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
25597         arguments.
25598         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
25599         corresponding format argument to size_t.
25600         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
25601         arguments.
25602         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
25603         corresponding format argument to size_t.
25604         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25605         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25606         (CFLAGS-tst-mbswcs2.c): Likewise.
25607         (CFLAGS-tst-mbswcs3.c): Likewise.
25608         (CFLAGS-tst-mbswcs4.c): Likewise.
25609         (CFLAGS-tst-mbswcs5.c): Likewise.
25610         (CFLAGS-tst-trans.c): Likewise.
25612 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25614         * posix/regexbug1.c (main): Use "%s" format with regerror results,
25615         rather than assuming they won't contain any '%'s.
25617 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
25619         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25620         inhibit_loop_to_libcall to avoid recursive calls.
25621         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25622         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25624 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25626         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25627         prototype.
25629 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25631         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25632         integer value instead of boolean.
25634 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25636         * malloc/malloc.c: Fix powerof2 check.
25638 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25640         * locale/programs/locfile.h (maybe_swap_uint32):
25641         Remove inline and add unused attribute.
25643 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25645         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25646         Truncating assembler expression to a .long expression.
25648 2014-12-11  Andreas Schwab  <schwab@suse.de>
25650         * elf/rtld.c (struct map_args): Constify str member.
25651         (do_preload): Constify fname argument.
25653 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25655         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25656         constants definition.
25658 2014-12-11  Andreas Schwab  <schwab@suse.de>
25660         [BZ #16657]
25661         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25662         FORCE_ELISION instead of DO_ELISION.
25663         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25664         Remove.
25665         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25666         Likewise.
25668         * iconvdata/gconv-modules: Remove duplicate entry.
25670 2014-12-11  Will Newton  <will.newton@linaro.org>
25672         Merge gettext 0.19.3 into intl/.
25674         This involves a number of cosmetic changes to comments
25675         and ANSI function definitions and prototypes throughout
25676         all the files. The gettext copyright header is used but
25677         with the date ranges taken from the glibc copy.
25679         * NEWS: Add gettext merge to 2.21.
25680         * intl/bindtextdom.c: Switch to gettext copyright.
25681         Use ANSI definitions and prototypes.
25682         Use gl_* locking primitives rather than __libc_* ones.
25683         Use __builtin_expect rather than __glibc_likely/unlikely.
25684         * intl/dcgettext.c: Switch to gettext copyright.
25685         Use ANSI definitions and prototypes.
25686         * intl/dcigettext.c: Switch to gettext copyright.
25687         Use ANSI definitions and prototypes.
25688         (INTDIV0_RAISES_SIGFPE): New define.
25689         Use gl_* locking primitives rather than __libc_* ones.
25690         Include eval-plural.h instead of plural-eval.c.
25691         Use __builtin_expect rather than __glibc_likely/unlikely.
25692         * intl/dcngettext.c: Switch to gettext copyright.
25693         Use ANSI definitions and prototypes.
25694         * intl/dgettext.c: Likewise.
25695         * intl/dngettext.c: Likewise.
25696         * intl/plural-eval.c: Renamed to...
25697         * intl/eval-plural.h: ...this.
25698         * intl/explodename.c: Switch to gettext copyright.
25699         Use ANSI definitions and prototypes.
25700         (_nl_explode_name): Use strchr instead of __rawmemchr.
25701         * intl/finddomain.c: Switch to gettext copyright.
25702         Use ANSI definitions and prototypes.
25703         Use gl_* locking primitives rather than __libc_* ones.
25704         (_nl_find_domain): Use malloc rather than alloca for
25705         allocation of temporary locale name.
25706         * intl/gettext.c: Switch to gettext copyright.
25707         Use ANSI definitions and prototypes.
25708         * intl/gettextP.h: Switch to gettext copyright.
25709         Use ANSI definitions and prototypes.
25710         Use gl_* locking primitives rather than __libc_* ones.
25711         * intl/gmo.h: Switch to gettext copyright.
25712         (struct sysdep_string): Move struct segment_pair outside of
25713         struct definition.
25714         * intl/hash-string.c: Use ANSI definitions and prototypes.
25715         * intl/hash-string.h: Switch to gettext copyright.
25716         Use ANSI definitions and prototypes.
25717         * intl/l10nflist.c: Switch to gettext copyright.
25718         Use ANSI definitions and prototypes.
25719         (_nl_normalize_codeset): Avoid integer overflow.
25720         * intl/loadinfo.h: Switch to gettext copyright.
25721         Use ANSI definitions and prototypes.
25722         (LIBINTL_DLL_EXPORTED): New define.
25723         (PATH_SEPARATOR): New define.
25724         * intl/loadmsgcat.c: Switch to gettext copyright.
25725         * intl/localealias.c: Switch to gettext copyright.
25726         Use ANSI definitions and prototypes.
25727         (_nl_expand_alias): Use PATH_SEPARATOR.
25728         * intl/ngettext.c: Switch to gettext copyright.
25729         Use ANSI definitions and prototypes.
25730         * intl/plural-exp.c: Likewise.
25731         * intl/plural-exp.h: Switch to gettext copyright.
25732         Use ANSI definitions and prototypes.
25733         (struct expression): Move definition of enum operator outside
25734         of struct definition.
25735         * intl/plural.c: Regenerate.
25736         * intl/plural.y: Switch to gettext copyright.
25737         Use ANSI definitions and prototypes.
25738         Port to bison 3.0.
25739         * intl/textdomain.c: Switch to gettext copyright.
25740         Use ANSI definitions and prototypes.
25741         Use gl_* locking primitives rather than __libc_* ones.
25743 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
25745         * debug/warning-nop.c: Add used atrribute.
25747 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25749         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25751         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25752         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25753         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25755 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25756             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25758         [BZ #17634]
25759         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25760         Undefine after defining function.  Define as weak alias of
25761         __wcschr.  Use libc_hidden_weak.
25762         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
25763         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25764         (libc_hidden_def): Also define __GI___wcschr alias.
25765         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25766         __wcschr and define as weak alias of __wcschr.
25767         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25768         __wcschr.
25769         [!WCSCHR] (DEFAULT_WCSCHR): Define.
25770         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25771         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
25772         libc_hidden_weak.  Do not use libc_hidden_def.
25773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25774         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25775         __GI___wcschr alias.
25776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25777         [IS_IN (libc)] (wcschr): Define as macro expanding to
25778         __redirect_wcschr.
25779         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25780         [IS_IN (libc)] (__wcschr_power6): Likewise.
25781         [IS_IN (libc)] (__wcschr_power7): Likewise.
25782         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
25783         instead of wcschr.
25784         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25785         __libc_wcschr.
25786         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25787         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25788         __wcschr and define as weak alias of __wcschr.  Use
25789         libc_hidden_builtin_def.
25790         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25791         as weak alias of __wcschr.  Use libc_hidden_weak.
25792         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25793         wcschr.
25794         * time/era.c (_nl_init_era_entries): Likewise.
25795         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25796         variable.
25797         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25798         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25800 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25802         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
25803         format for long int variable.
25805 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
25807         [BZ #10672]
25808         * manual/search.texi: (Array Sort Function): Remove claim how to make
25809         qsort stable.
25811 2014-12-10  Andreas Schwab  <schwab@suse.de>
25813         [BZ #12847]
25814         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25815         user-controlled locks.
25817 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
25819         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25820         register.
25822 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25824         * configure.ac (--disable-werror): New configure option.
25825         (enable_werror): New AC_SUBST.
25826         * configure: Regenerated.
25827         * config.make.in (enable-werror): New variable.
25828         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25829         -Wno-error=undef.
25830         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25831         * manual/install.texi (Configuring and compiling): Document
25832         --disable-werror.
25833         * INSTALL: Regenerated.
25834         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25835         (CFLAGS-tst-chk2.c): Likewise.
25836         (CFLAGS-tst-chk3.c): Likewise.
25837         (CFLAGS-tst-chk4.cc): Likewise.
25838         (CFLAGS-tst-chk5.cc): Likewise.
25839         (CFLAGS-tst-chk6.cc): Likewise.
25840         (CFLAGS-tst-lfschk1.c): Likewise.
25841         (CFLAGS-tst-lfschk2.c): Likewise.
25842         (CFLAGS-tst-lfschk3.c): Likewise.
25843         (CFLAGS-tst-lfschk4.cc): Likewise.
25844         (CFLAGS-tst-lfschk5.cc): Likewise.
25845         (CFLAGS-tst-lfschk6.cc): Likewise.
25847         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25848         (main): Disable -Wdeprecated-declarations around calls to
25849         register_printf_function.
25851         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25852         (do_test): Disable -Wdiv-by-zero around some calls to
25853         fwrite_unlocked and fread_unlocked.
25855         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25856         (DIAG_POP_NEEDS_COMMENT): Likewise.
25857         (_DIAG_STR1): Likewise.
25858         (_DIAG_STR): Likewise.
25859         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25860         * stdio-common/bug21.c: Include <libc-internal.h>.
25861         (do_test): Disable -Wformat around call to sscanf.
25862         * stdio-common/scanf14.c: Include <libc-internal.h>.
25863         (main): Disable -Wformat around some calls to scanf functions.
25865 2014-12-09  Torvald Riegel  <triegel@redhat.com>
25867         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25869 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25871         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25872         stack variable alignment.
25874 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
25876         [BZ #17682]
25877         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25878         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25879         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25880         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25881         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25882         __getrlimit instead of getrlimit.
25883         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25884         __gettimeofday instead of gettimeofday.
25885         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25886         Likewise.
25887         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25888         Likewise.
25889         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25890         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25891         Remove variable.
25892         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25893         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25895 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25897         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25898         for wide-character tests.
25900 2014-12-04  Roland McGrath  <roland@hack.frob.com>
25902         * io/openat64.c: #include <libc-internal.h>
25903         (__openat64): Prototypify.  Use ignore_value on MODE.
25904         * io/openat.c: Likewise.
25905         * misc/reboot.c: #include <libc-internal.h>
25906         (reboot): Prototypify.  Use ignore_value on HOWTO.
25907         * misc/ptrace.c: #include <libc-internal.h>
25908         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
25910 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
25912         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25913         XPG4, UNIX98 and XOPEN2K.
25914         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25915         Remove variable.
25916         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25918 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25920         * libio/fileops.c: Use ISO C style for function definitions.
25921         * libio/iofopen.c: Likewise.
25922         * libio/wfileops.c: Likewise.
25924         [BZ #17653]
25925         * libio/fileops.c (_IO_new_file_underflow): Unset cached
25926         offset on EOF.
25927         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25928         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25929         (fgets_func): Function pointer to fgets and fgetws.
25930         (do_ftell_test): Add test to verify ftell value after read
25931         EOF.
25932         (do_test): Set fgets_func.
25934         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25935         O_TRUNC flag for w and w+ modes.
25936         (do_rewind_test): Likewise.
25937         (do_ftell_test): Likewise.
25938         (do_write_test): Likewise.
25940         [BZ #17647]
25941         * libio/fileops.c (do_ftell): Seek only when there are
25942         unflushed writes.
25943         * libio/wfileops.c (do_ftell_wide): Likewise.
25944         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25945         test case.
25946         (do_one_test): Call it.
25948 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
25950         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25951         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25952         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25953         Remove variable.
25954         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25955         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25956         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25958 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25960         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25961         Remove variable.
25962         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25964         [BZ #17668]
25965         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25966         as weak alias of __getifaddrs.  Use libc_hidden_weak.
25967         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25968         __freeifaddrs.  Use libc_hidden_weak.
25969         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25970         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
25971         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25972         __freeifaddrs.  Use libc_hidden_weak.
25973         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25974         __getifaddrs and define as weak alias of __getifaddrs.  Use
25975         libc_hidden_weak.
25976         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25977         __freeifaddrs.  Use libc_hidden_weak.
25978         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
25979         Remove variable.
25980         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25981         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25983 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25985         [BZ #17601]
25986         * sysdeps/mips/start.S (__start): Use indirect jump to call
25987         __libc_start_main.
25989 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25991         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
25993         * nptl/tst-mutex1.c: Include <stdbool.h>.
25994         [!ATTR] (ATTR_NULL): New macro.
25995         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
25996         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
25997         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
25999         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26000         to char *.
26002         [BZ #17665]
26003         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26004         Change conditional to [__USE_MISC].
26006         [BZ #17664]
26007         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26008         fgets_unlocked.
26009         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26010         __fgets_unlocked.
26011         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26012         fgets_unlocked.
26013         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26014         Remove variable.
26015         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26016         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26017         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26018         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26019         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26020         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26021         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26022         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26023         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26025         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26027 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26029         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26030         Remove strpbrk objects.
26031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26032         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26033         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26034         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26035         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26036         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26038         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26039         Remove strcspn objects.
26040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26041         (__libc_ifunc_impl_list): Remove strcspn implementation.
26042         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26043         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26044         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26045         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26047         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26048         Remove strspn objetcs.
26049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26050         (__libc_ifunc_impl_list): Remove strspn implementation.
26051         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26052         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26053         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26054         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26056 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26058         [BZ #17581]
26059         * malloc/hooks.c
26060         (mem2mem_check): Add a terminator to the chain of checking blocks.
26061         (malloc_check_get_size): Use it here.
26062         (mem2chunk_check): Ditto.
26064 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26066         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26067         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26069 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26071         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26073         * nptl/nptl-init.c: Include libc-internal.h.
26074         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26076         * elf/ldconfig.c (search_dir): Expand comment.
26078 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26080         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26081         variable.
26082         (linknamespace-symlist-stdlibs-tests): Likewise.
26083         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26084         instead of $(objpfx)symlist-stdlibs.
26085         (linknamespace-libs-isoc): New variable.
26086         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26087         (linknamespace-libs-ISO): New variable.
26088         (linknamespace-libs-ISO99): Likewise.
26089         (linknamespace-libs-ISO11): Likewise.
26090         (linknamespace-libs-XPG3): Likewise.
26091         (linknamespace-libs-XPG4): Likewise.
26092         (linknamespace-libs-POSIX): Likewise.
26093         (linknamespace-libs-UNIX98): Likewise.
26094         (linknamespace-libs-XOPEN2K): Likewise.
26095         (linknamespace-libs-POSIX2008): Likewise.
26096         (linknamespace-libs-XOPEN2K8): Likewise.
26097         ($(objpfx)symlist-stdlibs): Replace by
26098         $(linknamespace-symlist-stdlibs-tests).  Use
26099         $(linknamespace-libs-$*) as set of libraries.
26100         ($(linknamespace-header-tests)): Update dependencies.  Use
26101         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26102         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26103         * conform/linknamespace.pl: Remove comment about considering
26104         definitions of symbols from irrelevant libraries.
26106 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26108         [BZ #13862]
26109         * elf/dl-tls.c: Include <atomic.h>.
26110         (oom): Remove #ifdef SHARED/#endif.
26111         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26112         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26113         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26114         big enough.
26115         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26116         * nptl/Makefile (tests): Add tst-stack4.
26117         (modules-names): Add tst-stack4mod.
26118         ($(objpfx)tst-stack4): New.
26119         (tst-stack4mod.sos): Likewise.
26120         ($(objpfx)tst-stack4.out): Likewise.
26121         ($(tst-stack4mod.sos)): Likewise.
26122         (clean): Likewise.
26123         * nptl/tst-stack4.c: New file.
26124         * nptl/tst-stack4mod.c: Likewise.
26126 2014-11-27  J. Brown  <jb999@gmx.de>
26128         * sysdeps/x86/bits/string.h: Add recent CPUs.
26130 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26132         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26133         sigblock.
26135         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26136         feof.
26138         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26139         variable.
26141 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26143         * nscd/connections.c: Include libc-internal.h because of macro
26144         usage ignore_value.
26146 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26148         * string/bits/string3.h (__warn_memset_zero_len): Don't
26149         declare for gcc newer than 5.0.
26150         (memset): Don't test for zero-length __LEN for gcc newer than
26151         5.0.
26153 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26155         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26156         size_t for %zu format.
26158         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26159         difference, not %ju.
26161 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26163         * include/libc-internal.h (ignore_value): New macro.
26164         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26165         with ignore_value.
26167         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26168         definition.
26170         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26171         pthread_cleanup_push to void *.
26173         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26174         Undefine.
26176         [BZ #16619]
26177         [BZ #16740]
26178         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26179         instead of 1L << 52.
26181         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26182         * libio/bug-rewind2.c (do_test): Likewise.
26184         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26185         * debug/test-strcpy_chk-ifunc.c: Likewise.
26186         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26187         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26188         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26189         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26190         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26191         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26192         * Rules [$(multi-arch) = no] (tests): Do not filter out
26193         $(tests-ifunc).
26194         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26195         * debug/Makefile (tests-ifunc): Remove variable.
26196         (tests): Do not add $(tests-ifunc).
26197         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26198         (tests): Do not add $(tests-ifunc).
26199         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26200         [TEST_IFUNC]: Remove conditionals.
26201         * string/test-string.h (TEST_IFUNC): Remove macro.
26202         [TEST_IFUNC]: Remove conditionals.
26204         * string/test-strchr.c [!WIDE] (L): New macro.
26205         [WIDE] (L): Likewise.
26206         (check1): Use CHAR instead of char.  Use L on string and character
26207         constants.
26209 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26211         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26212         tests.
26213         * sysdeps/powerpc/bits/atomic.h
26214         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26215         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26216         (atomic_exchange_and_add_acq): Likewise.
26217         (atomic_exchange_and_add_rel): Likewise.
26218         * sysdeps/powerpc/powerpc32/bits/atomic.h
26219         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26220         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26221         * sysdeps/powerpc/powerpc64/bits/atomic.h
26222         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26223         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26225 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26227         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26228         Change synchronization of __sched_fifo_min_prio and
26229         __sched_fifo_max_prio.
26230         * nptl/pthread_mutexattr_getprioceiling.c
26231         (pthread_mutexattr_getprioceiling): Likewise.
26232         * nptl/pthread_mutexattr_setprioceiling.c
26233         (pthread_mutexattr_setprioceiling): Likewise.
26234         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26235         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26236         Likewise.
26238 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26240         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26241         void.
26243 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26245         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26246         third argument const.
26248 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26250         fnmatch: work around GCC compiler warning bug with uninit var
26251         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26252         This works around a bug with x86-64 GCC 4.9.2 and earlier
26253         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26254         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26255         used uninitialized in this function [-Wmaybe-uninitialized]".
26257 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26259         * posix/bug-regex31.c (main): Return RES not 0.
26261 2014-11-25  Anton Blanchard <anton@samba.org>
26263         * sysdeps/powerpc/bits/atomic.h
26264         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26266 2014-11-24  Sterling Augustine  <saugustine@google.com>
26268         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26270 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26272         [BZ #17608]
26273         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26275 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26277         [BZ #17633]
26278         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26279         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26280         variable.
26281         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26282         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26284 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26286         * string/strncpy.c (strncpy): Improve performance by using memset.
26288 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26290         * string/strcpy.c (strcpy):
26291         Improve performance by using strlen and memcpy.
26293 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26295         * string/strcoll_l.c (get_next_seq): __always_inline.
26296         * string/strcoll_l.c (do_compare): __always_inline.
26298 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26300         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26301         defined.
26302         * include/mqueue.h: Likewise.
26303         * include/stdlib.h: Likewise.
26305         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26306         (get_null_defines): Adjust.
26307         * sunrpc/Makefile: Adjust comment.
26308         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26309         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26310         (CFLAGS-interp.c): Likewise.
26311         (CFLAGS-ldconfig.c): Likewise.
26312         (CPPFLAGS-.os): Likewise.
26313         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26314         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26315         * extra-modules.mk (extra-modules.mk): Likewise.
26316         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26317         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26318         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26319         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26320         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26321         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26322         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26323         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26324         * iconvdata/Makefile (CPPFLAGS): Likewise.
26325         (cpp-srcs-left): Add libof for all iconvdata routines.
26326         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26327         * include/assert.h: Likewise.
26328         * include/ctype.h: Likewise.
26329         * include/errno.h: Likewise.
26330         * include/libc-symbols.h: Likewise.
26331         * include/math.h: Likewise.
26332         * include/netdb.h: Likewise.
26333         * include/resolv.h: Likewise.
26334         * include/stdio.h: Likewise.
26335         * include/stdlib.h: Likewise.
26336         * include/string.h: Likewise.
26337         * include/sys/stat.h: Likewise.
26338         * include/wctype.h: Likewise.
26339         * intl/l10nflist.c: Likewise.
26340         * libidn/idn-stub.c: Likewise.
26341         * libio/libioP.h: Likewise.
26342         * nptl/libc_multiple_threads.c: Likewise.
26343         * nptl/pthreadP.h: Likewise.
26344         * posix/regex_internal.h: Likewise.
26345         * resolv/res_hconf.c: Likewise.
26346         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26347         * sysdeps/arm/memmove.S: Likewise.
26348         * sysdeps/arm/sysdep.h: Likewise.
26349         * sysdeps/generic/_itoa.h: Likewise.
26350         * sysdeps/generic/symbol-hacks.h: Likewise.
26351         * sysdeps/gnu/errlist.awk: Likewise.
26352         * sysdeps/gnu/errlist.c: Likewise.
26353         * sysdeps/i386/i586/memcpy.S: Likewise.
26354         * sysdeps/i386/i586/memset.S: Likewise.
26355         * sysdeps/i386/i686/memcpy.S: Likewise.
26356         * sysdeps/i386/i686/memmove.S: Likewise.
26357         * sysdeps/i386/i686/mempcpy.S: Likewise.
26358         * sysdeps/i386/i686/memset.S: Likewise.
26359         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26360         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26361         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26362         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26363         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26364         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26365         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26366         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26367         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26368         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26369         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26370         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26371         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26372         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26373         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26374         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26375         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26376         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26377         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26378         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26379         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26380         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26381         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26382         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26383         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26384         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26385         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26386         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26387         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26388         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26389         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26390         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26391         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26392         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26393         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26394         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26395         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26396         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26397         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26398         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26399         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26400         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26401         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26402         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26403         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26404         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26405         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26406         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26407         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26408         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26409         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26410         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26411         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26412         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26413         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26414         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26415         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26416         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26417         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26418         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26419         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26420         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26421         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26422         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26423         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26424         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26425         * sysdeps/posix/closedir.c: Likewise.
26426         * sysdeps/posix/opendir.c: Likewise.
26427         * sysdeps/posix/readdir.c: Likewise.
26428         * sysdeps/posix/rewinddir.c: Likewise.
26429         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26430         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26431         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26432         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26433         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26434         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26435         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26436         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26437         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26438         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26439         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26440         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26441         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26442         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26443         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26444         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26445         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26446         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26447         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26448         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26449         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26450         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26451         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26452         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26453         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26454         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26455         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26456         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26457         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26459         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26460         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26461         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26462         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26463         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26464         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26465         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26466         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26467         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26468         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26469         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26470         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26471         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26472         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26473         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26474         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26475         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26476         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26477         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26478         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26479         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26480         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26481         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26482         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26483         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26484         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26485         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26486         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26487         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26488         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26489         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26490         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26491         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26492         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26493         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26494         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26495         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26496         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26497         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26498         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26499         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26500         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26501         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26502         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26503         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26504         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26505         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26506         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26507         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26508         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26509         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26510         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26511         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26512         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26513         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26514         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26515         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26516         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26517         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26518         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26519         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26520         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26521         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26522         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26523         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26524         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26525         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26526         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26527         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26528         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26529         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26530         * sysdeps/unix/alpha/sysdep.S: Likewise.
26531         * sysdeps/unix/alpha/sysdep.h: Likewise.
26532         * sysdeps/unix/make-syscalls.sh: Likewise.
26533         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26534         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26535         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26536         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26537         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26538         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26539         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26540         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26541         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26542         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26543         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26544         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26545         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26546         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26547         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26548         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26549         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26550         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26551         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26552         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26553         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26554         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26555         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26556         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26557         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26558         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26559         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26562         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26563         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26564         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26565         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26566         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26567         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26568         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26569         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26570         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26571         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26572         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26573         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26574         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26575         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26576         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26577         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26578         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26579         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26580         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26581         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26582         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26583         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26584         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26585         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26586         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26587         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26588         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26589         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26590         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26591         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26592         * sysdeps/x86_64/memcpy.S: Likewise.
26593         * sysdeps/x86_64/memmove.c: Likewise.
26594         * sysdeps/x86_64/memset.S: Likewise.
26595         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26596         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26597         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26598         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26599         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26600         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26601         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26602         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26603         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26604         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26605         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26606         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26607         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26608         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26609         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26610         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26611         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26612         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26613         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26614         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26615         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26616         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26617         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26618         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26619         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26620         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26621         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26622         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26623         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26624         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26625         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26626         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26627         * sysdeps/x86_64/strcmp.S: Likewise.
26629         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26631         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26632         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26633         * elf/rtld-Rules: Likewise.
26634         * elf/setup-vdso.h: Likewise.
26635         * include/assert.h: Likewise.
26636         * include/bits/stdlib-float.h: Likewise.
26637         * include/errno.h: Likewise.
26638         * include/sys/stat.h: Likewise.
26639         * include/unistd.h: Likewise.
26640         * sysdeps/aarch64/setjmp.S: Likewise.
26641         * sysdeps/alpha/setjmp.S: Likewise.
26642         * sysdeps/arm/__longjmp.S: Likewise.
26643         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26644         * sysdeps/arm/setjmp.S: Likewise.
26645         * sysdeps/arm/sysdep.h: Likewise.
26646         * sysdeps/generic/_itoa.h: Likewise.
26647         * sysdeps/generic/dl-sysdep.h: Likewise.
26648         * sysdeps/generic/ldsodefs.h: Likewise.
26649         * sysdeps/i386/dl-tls.h: Likewise.
26650         * sysdeps/i386/setjmp.S: Likewise.
26651         * sysdeps/m68k/setjmp.c: Likewise.
26652         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26653         * sysdeps/mach/hurd/opendir.c: Likewise.
26654         * sysdeps/posix/getcwd.c: Likewise.
26655         * sysdeps/posix/opendir.c: Likewise.
26656         * sysdeps/posix/profil.c: Likewise.
26657         * sysdeps/powerpc/dl-procinfo.h: Likewise.
26658         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26659         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26660         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26661         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26662         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26663         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26664         * sysdeps/s390/dl-tls.h: Likewise.
26665         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26666         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26667         * sysdeps/sh/sh3/setjmp.S: Likewise.
26668         * sysdeps/sh/sh4/setjmp.S: Likewise.
26669         * sysdeps/unix/alpha/sysdep.h: Likewise.
26670         * sysdeps/unix/arm/sysdep.S: Likewise.
26671         * sysdeps/unix/i386/sysdep.S: Likewise.
26672         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26673         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26674         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26675         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26676         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26677         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26678         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26679         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26680         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26681         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26682         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26683         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26684         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26687         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26688         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26689         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26690         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26691         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26692         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26693         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26694         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26695         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26696         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26697         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26698         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26699         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26700         * sysdeps/x86_64/setjmp.S: Likewise.
26702         * include/math.h: Use IS_IN instead of IS_IN_libm.
26703         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26704         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26705         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26706         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26707         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26708         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26709         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26710         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26711         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26712         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26713         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26714         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26715         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26716         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26717         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26718         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26719         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26720         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26721         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26722         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26723         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26724         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26725         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26726         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26727         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26728         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26729         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26730         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26731         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26732         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26733         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26734         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26735         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26737         Likewise.
26738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26739         Likewise.
26740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26741         Likewise.
26742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26743         Likewise.
26744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26745         Likewise.
26746         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26747         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26748         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26749         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26750         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26751         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26757         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26758         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26759         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26760         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26761         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26762         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26763         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26764         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26765         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26766         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26767         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26768         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26769         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26770         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26772         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26774         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26775         * nptl/pthreadP.h: Likewise.
26776         * nptl_db/structs.def: Likewise.
26777         * sysdeps/arm/sysdep.h: Likewise.
26778         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26779         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26780         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26781         * sysdeps/unix/alpha/sysdep.h: Likewise.
26782         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26783         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26784         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26785         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26786         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26787         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26788         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26789         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26790         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26791         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26792         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26793         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26794         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26795         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26798         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26799         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26800         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26801         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26802         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26803         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26804         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26805         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26806         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
26807         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26809         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
26810         * nptl/pthreadP.h: Likewise.
26811         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26812         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26813         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26814         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26815         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26816         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26817         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26818         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26819         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26820         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26821         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26822         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26824         Likewise.
26825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26826         Likewise.
26827         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26828         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26829         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26830         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26831         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26832         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26833         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26834         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26836         * dlfcn/dladdr.c: Use IS_IN.
26837         * dlfcn/dladdr1.c: Likewise.
26838         * dlfcn/dlclose.c: Likewise.
26839         * dlfcn/dlerror.c: Likewise.
26840         * dlfcn/dlinfo.c: Likewise.
26841         * dlfcn/dlmopen.c: Likewise.
26842         * dlfcn/dlopen.c: Likewise.
26843         * dlfcn/dlsym.c: Likewise.
26844         * dlfcn/dlvsym.c: Likewise.
26846         * include/ifaddrs.h: Use IS_IN.
26847         * inet/check_pf.c: Likewise.
26848         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26849         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26851         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26852         IS_IN_ldconfig.
26853         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26854         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26856         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26857         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26858         IS_IN (libc).
26860         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26862         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26863         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26864         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26865         * include/libc-symbols.h (IS_IN_LIB): New macro.
26866         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26867         * include/netdb.h: Likewise.
26868         * include/stap-probe.h: Remove all uses of IN_LIB.
26870         * Makeconfig (module-cppflags-real): Define MODULE_NAME
26871         instead of IN_MODULE.
26872         * include/libc-symbols.h (IN_MODULE): Define using
26873         MODULE_NAME.
26874         (PASTE_NAME, PASTE_NAME1): New macros.
26875         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26876         of IN_LIB.
26877         (STAP_PROBE_ASM): Likewise.
26879 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26881         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26882         __mach_init in dlopened libc.
26884 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
26886         * sysdeps/arm/preconfigure.ac: Delete EABI check.
26887         * sysdeps/arm/preconfigure: Regenerate.
26889 2014-11-21  Roland McGrath  <roland@hack.frob.com>
26891         * nptl/pthread_create.c (__pthread_create_2_1): Set
26892         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26893         when copying values from IATTR into PD.
26895 2014-11-21  Will Newton  <will.newton@linaro.org>
26896             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
26898         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26899         Refactor inline-asm.  Also add comment.
26901         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26902         ElfW macro instead of hardcoded Elf64 types.
26903         (la_aarch64_gnu_pltenter): Likewise.
26904         * sysdeps/aarch64/dl-machine.h
26905         (elf_machine_runtime_setup): Use ElfW(Addr).
26907         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26908         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26909         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26910         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26911         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26912         (R_AARCH64_TLS_DTPMOD64): Rename to ..
26913         (R_AARCH64_TLS_DTPMOD): This.
26914         (R_AARCH64_TLS_DTPREL64): Rename to ...
26915         (R_AARCH64_TLS_DTPREL): This.
26916         (R_AARCH64_TLS_TPREL64): Rename to ...
26917         (R_AARCH64_TLS_TPREL): This.
26918         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26919         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26920         R_AARCH64_TLS_TPREL64.
26921         (elf_machine_rela): Likewise.
26923 2014-11-21  Torvald Riegel  <triegel@redhat.com>
26925         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26926         by setting it to 0.  64b atomics are not supported currently.
26928 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26930         [BZ #16469]
26931         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26932         search domain names.
26934 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26936         [BZ #16469]
26937         * NEWS: Update.
26938         * resolv/res_query.c (__libc_res_nquerydomain): Retain
26939         trailing dot.
26940         * posix/tst-getaddrinfo5.c: New.
26941         * posix/Makefile (tests): Add it.
26943 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26945         [BZ #14498]
26946         * NEWS: Fixed.
26947         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26948         after parsing line but before break_if_match.
26949         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26950         if there is a protocol mismatch.
26952 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26954         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26955         because the potential race is on the user-supplied stream.
26957 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26959         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26960         string literal if not passed a buffer.
26961         * manual/job.texi (ctermid): Update reasoning, note deviation
26962         from posix, suggest mtasurace when not passed a buffer, for
26963         future non-preliminary safety notes.
26965 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26967         * manual/users.texi (cuserid): Fix MT-Safety note for the case
26968         of not passing it a buffer.
26969         Reported by Peng Haitao.
26971 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26973         * manual/Makefile ($(objpfx)stamp-summary): Require
26974         check-safety.sh to pass.
26975         * manual/check-safety.sh: Wish for verification that every
26976         @deftypefn and @deftypefun is followed by a @safety remark.
26978 2014-11-20  Roland McGrath  <roland@hack.frob.com>
26980         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
26982         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
26983         PTHREAD_CANCEL_ASYNCHRONOUS.
26984         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
26985         send SIGCANCEL.
26987         * nptl/default-sched.h: New file.
26988         * sysdeps/unix/sysv/linux/default-sched.h: New file.
26989         * nptl/pthread_create.c: Include it.
26990         (__pthread_create_2_1): Use collect_default_sched instead of making
26991         Linux syscalls here directly.
26993 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26995         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26996         __pthread_once): Use C11 atomics.
26998 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27000         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27002 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27004         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27005         atomic_thread_fence_acquire, atomic_thread_fence_release,
27006         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27007         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27008         atomic_compare_exchange_weak_relaxed,
27009         atomic_compare_exchange_weak_acquire,
27010         atomic_compare_exchange_weak_release,
27011         atomic_exchange_acquire, atomic_exchange_release,
27012         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27013         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27014         atomic_fetch_and_acquire,
27015         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27017 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27019         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27020         USE_ATOMIC_COMPILER_BUILTINS): Define.
27021         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27022         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27023         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27024         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27025         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27026         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27027         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27028         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27029         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27030         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27031         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27032         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27033         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27034         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27035         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27036         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27037         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27038         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27039         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27040         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27041         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27042         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27043         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27044         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27045         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27047         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27049         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27051         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27053         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27054         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27055         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27056         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27057         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27059         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27062 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27064         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27065         the sched_priority value here.  It was already checked when the user
27066         called pthread_attr_setschedparam.
27068         * nptl/tst-bad-schedattr.c: New file.
27069         * nptl/Makefile (tests): Add it.
27071 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27072             Florian Weimer  <fweimer@redhat.com>
27073             Joseph Myers  <joseph@codesourcery.com>
27074             Adam Conrad  <adconrad@0c3.net>
27075             Andreas Schwab  <schwab@suse.de>
27076             Brooks  <bmoses@google.com>
27078         [BZ #17625]
27079         * wordexp-test.c (__dso_handle): Add prototype.
27080         (__register_atfork): Likewise.
27081         (__app_register_atfork): New function.
27082         (registered_forks): New global.
27083         (register_fork): New function.
27084         (test_case): Add 3 new tests for WRDE_CMDSUB.
27085         (main): Call __app_register_atfork.
27086         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27087         fork count is non-zero fail the test.
27088         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27089         is set.
27090         (parse_dollars): Remove check for WRDE_NOCMD.
27091         (parse_dquote): Likewise.
27093 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27095         * Makeconfig (built-modules): List non-library modules to be
27096         built.
27097         (module-cppflags): Include libc-modules.h for
27098         everything except shlib-versions.v.i.
27099         (CPPFLAGS): Use it.
27100         (before-compile): Add libc-modules.h.
27101         ($(common-objpfx)libc-modules.h,
27102         $(common-objpfx)libc-modules.stmp): New targets.
27103         (common-generated): Add libc-modules.h and libc-modules.stmp.
27104         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27105         * include/libc-symbols.h: Don't include libc-modules.h.
27106         * include/libc-modules.h: Remove file.
27107         * scripts/gen-libc-modules.awk: New script to generate
27108         libc-modules.h.
27109         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27110         Depend on libc-modules.stmp.
27112         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27114         * Makeconfig (in-module): Get value of libof set for the
27115         translation unit.
27116         (CPPFLAGS): Use $(in-module).
27117         * Makerules: Don't suffix routine names for nonlib.
27118         * include/libc-modules.h: New file.
27119         * include/libc-symbols.h: Include libc-modules.h
27120         (IS_IN): New macro to replace IS_IN_* macros.
27121         * elf/Makefile: Set libof-* for each routine.
27122         * elf/rtld-Rules: Likewise.
27123         * extra-modules.mk: Likewise.
27124         * iconv/Makefile: Likewise.
27125         * iconvdata/Makefile: Likewise.
27126         * locale/Makefile: Likewise.
27127         * malloc/Makefile: Likewise.
27128         * nss/Makefile: Likewise.
27129         * sysdeps/gnu/Makefile: Likewise.
27130         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27131         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27132         * sysdeps/s390/s390-64/Makefile: Likewise.
27133         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27134         CPPFLAGS for nscd instead of nonlib.
27136 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27138         * nptl/createthread.c: New file.
27140         * nptl/createthread.c: Moved ...
27141         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27143         * nptl/createthread.c: Add proper top-line comment.
27144         (do_clone): Folded into ...
27145         (create_thread): ... here.  Take new arguments STOPPED_START and
27146         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27147         increment __nptl_threads, do event-reporting logic, do
27148         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27149         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27150         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27151         just send SIGCANCEL.
27152         * nptl/pthread_create.c: Forward-declare create_thread before
27153         including createthread.c.
27154         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27155         declaration, and new macro START_THREAD_SELF to replace argument.
27156         Remove return statement.
27157         (report_thread_creation): New function.
27158         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27159         synchronization logic, and __nptl_nthreads increment here, around
27160         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27161         PD->parent_cancelhandling here, before create_thread.  When
27162         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27163         __deallocate_stack, and ENOMEM translation here.
27165 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27167         [BZ #17616]
27168         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27169         (mptwo): Rename to __mptwo.
27170         (__inv): Use __mptwo instead of mptwo.
27171         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27172         (mptwo): Rename to __mptwo.
27173         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27174         of mpone and __mptwo instead of mptwo.
27175         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27176         instead of mpone.
27177         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27178         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27179         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27180         of mpone and __mptwo instead of mptwo.
27181         (__mpranred): Use __mpone instead of mpone.
27182         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27183         variable.
27184         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27185         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27186         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27187         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27188         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27189         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27190         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27191         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27192         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27193         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27194         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27195         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27196         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27197         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27198         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27199         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27200         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27201         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27202         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27204 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27206         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27207         replace BSD Handler xref with BSD Signal Handling.
27209 2014-11-17  Richard Henderson  <rth@redhat.com>
27211         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27212         (_FP_PACK_RAW_2): Remove.
27213         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27214         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27215         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27216         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27217         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27218         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27219         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27220         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27221         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27222         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27223         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27224         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27225         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27226         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27227         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27228         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27230 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27232         * signal/signal.h [__USE_MISC]
27233         (struct sigvec): Remove type.
27234         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27235         (sigvec): Remove declaration.
27236         * sysdeps/posix/sigvec.c: Moved ...
27237         * signal/sigvec.c: ... here, replacing old file.
27238         (struct sigvec): New type, copied from old signal.h definition.
27239         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27240         (__sigvec): Convert definition to prototype.
27241         (sigvec): Replace weak_alias with compat_symbol.
27242         * signal/Versions (libc: GLIBC_2.21): New version set.
27243         * include/signal.h: Remove __sigvec declaration.
27244         * sysdeps/unix/bsd/sigvec.c: Remove file.
27245         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27246         * manual/signal.texi (BSD Handler): Remove subsection.
27247         Move siginterrupt up to ...
27248         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27249         (Blocking in BSD): Fold subsection into its parent.
27250         * NEWS: Mention sigvec removal.
27252 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27254         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27255         (DLA_FMS): Make definition conditional only on [__FMA4__].
27256         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27257         definition.
27259         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27260         Make definition conditional only on [PROF].
27261         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27262         definition.
27263         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27264         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27266         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27267         !__GNUC__].
27268         * include/signal.h (__sigpause): Move declaration above call to
27269         libc_hidden_proto.
27270         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27271         variable.
27272         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27273         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27275 2014-11-14  David S. Miller  <davem@davemloft.net>
27277         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27278         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27280 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27282         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27283         * configure: Regenerated.
27284         * manual/install.texi (Tools for Compilation): Document a
27285         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27286         compiler verified to work.
27287         * INSTALL: Regenerated.
27289         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27290         redeclare with asm name.
27291         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27292         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27293         including <string.h>.
27294         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27295         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27296         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27297         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27298         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27299         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27300         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27302 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27304         * stdlib/strtol.c (__strtol): Use prototype definition.
27306         [BZ #17594]
27307         * stdlib/strtol.c (SYM__): New macro.
27308         (SYM__1): Likewise.
27309         (__strtol): Likewise.
27310         (strtol): Rename to __strtol and define as weak alias of
27311         __strtol.  Use libc_hidden_weak.
27313 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27315         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27316         Use numbered labels in inline assembly.
27318 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27320         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27321         Add setjmp LIBC_PROBE.
27322         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27323         Likewise.
27324         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27325         Add longjmp, longjmp_target LIBC_PROBE.
27326         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27327         Likewise.
27329 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27331         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27332         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27333         to get rid of unused variable warning.
27335 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27337         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27338         Check for unwind_backtrace ==  NULL only in SHARED case.
27339         (__backchain_backtrace): Compile only in SHARED case.
27340         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27341         Likewise.
27342         (__backchain_backtrace): Declare as static.
27344 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27346         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27347         (__libc_multiple_threads_ptr): Variable moved ...
27348         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27350 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27352         * conform/GlibcConform.pm: New file.
27353         * conform/conformtest.pl: Use GlibcConform module.
27354         * conform/linknamespace.pl: New file.
27355         * conform/list-header-symbols.pl: Likewise.
27356         * conform/Makefile (linknamespace-symlists-base): New variable.
27357         (linknamespace-symlists-tests): Likewise.
27358         (linknamespace-header-base): Likewise.
27359         (linknamespace-header-tests): Likewise.
27360         (tests-special): Add new tests.
27361         ($(linknamespace-symlists-tests)): New rule.
27362         (linknamespace-libs): New variable.
27363         ($(objpfx)symlist-stdlibs): New rule.
27364         ($(linknamespace-header-tests)): Likewise.
27365         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27366         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27367         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27368         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27369         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27370         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27371         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27372         (test-xfail-ISO/math.h/linknamespace): Likewise.
27373         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27374         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27375         (test-xfail-ISO/time.h/linknamespace): Likewise.
27376         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27377         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27378         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27379         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27380         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27381         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27382         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27383         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27384         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27385         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27386         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27387         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27388         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27389         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27390         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27391         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27392         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27393         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27394         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27395         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27396         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27397         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27398         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27399         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27400         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27401         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27402         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27403         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27404         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27405         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27406         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27407         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27408         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27409         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27410         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27411         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27412         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27413         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27414         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27415         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27416         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27417         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27418         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27419         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27420         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27421         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27422         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27423         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27424         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27425         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27426         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27427         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27428         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27429         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27430         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27431         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27432         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27433         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27434         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27435         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27436         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27437         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27438         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27439         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27440         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27441         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27442         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27443         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27444         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27445         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27446         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27447         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27448         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27449         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27450         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27451         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27452         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27453         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27454         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27455         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27456         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27457         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27458         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27459         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27460         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27461         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27462         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27463         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27464         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27465         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27466         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27467         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27468         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27469         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27470         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27471         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27472         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27473         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27474         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27475         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27476         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27477         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27478         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27479         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27480         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27481         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27482         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27483         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27484         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27485         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27486         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27487         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27488         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27489         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27490         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27491         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27492         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27493         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27494         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27495         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27496         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27497         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27498         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27499         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27500         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27501         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27502         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27503         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27504         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27505         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27506         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27507         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27508         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27509         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27510         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27511         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27512         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27513         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27514         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27515         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27516         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27517         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27518         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27519         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27520         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27521         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27522         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27523         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27524         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27525         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27527         [BZ #17589]
27528         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27529         of fgets_unlocked.
27531         [BZ #17585]
27532         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27533         (memmem): Rename to __memmem and define as weak alias of
27534         __memmem.  Use libc_hidden_weak.
27535         (__memmem): Use libc_hidden_def.
27536         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
27537         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27538         memmem.
27540         [BZ #17582]
27541         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27542         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27543         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27544         and define as weak alias of __fgets_unlocked.  Use
27545         libc_hidden_weak.
27546         (__fgets_unlocked): Use libc_hidden_def.
27547         * include/stdio.h (__fgets_unlocked): Declare.  Use
27548         libc_hidden_proto.
27549         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27550         __fgets_unlocked instead of fgets_unlocked.
27551         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27552         (GET_NPROCS_CONF_PARSER): Likewise.
27553         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27554         (GET_NPROCS_CONF_PARSER): Likewise.
27556         [BZ #17574]
27557         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27558         weak alias of __wmemset.  Use libc_hidden_weak.
27559         (__wmemset): Use libc_hidden_def.
27560         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27561         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27562         of wmemset.
27564         [BZ #17573]
27565         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27566         with asm name __mempcpy.
27567         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27569         [BZ #17572]
27570         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27571         and define as weak alias of __rawmemchr.
27572         (__rawmemchr): Do not define as strong alias of rawmemchr.
27574         [BZ #17571]
27575         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27576         alias of __qsort_r.
27577         (qsort): Call __qsort_r instead of qsort_r.
27578         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27579         (__qsort_r): Declare.  Call libc_hidden_proto.
27580         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27581         instead of qsort_r.
27582         * nscd/gai.c (__qsort_r): Define to qsort_r.
27583         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27584         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27585         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27587         [BZ #17570]
27588         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27589         define as weak alias of __malloc_info.
27591         [BZ #17584]
27592         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27593         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27594         (__rewinddir): Use libc_hidden_def.
27595         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27596         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27597         (__rewinddir): Use libc_hidden_def.
27598         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27599         weak alias of __rewinddir.  Don't use libc_hidden_def.
27600         (__rewinddir): Use libc_hidden_def.
27601         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27602         (__rewinddir): Use libc_hidden_proto.
27603         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27604         rewinddir.
27605         (__getcwd): Use __rewinddir instead of rewinddir.
27607         [BZ #17583]
27608         * libio/fileno.c (fileno): Rename to __fileno and define as weak
27609         alias of __fileno.  Use libc_hidden_weak.
27610         (__fileno): Use libc_hidden_def.
27611         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27612         * libio/ftello.c (ftello): Rename to __ftello and define as weak
27613         alias of __ftello.
27614         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27615         __ftello.
27616         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27617         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
27618         libc_hidden_def.
27619         (fread_unlocked): Don't use libc_hidden_ver.
27620         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27621         and define as weak alias of __fread_unlocked.  Don't use
27622         libc_hidden_def.
27623         (__fread_unlocked): Use libc_hidden_def.
27624         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
27625         (ftello): Don't use libc_hidden_proto.
27626         (__ftello): Declare.  Use libc_hidden_proto.
27627         (fread_unlocked): Don't use libc_hidden_proto.
27628         (__fread_unlocked): Declare.  Use libc_hidden_proto.
27629         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27630         and __ftello instead of fileno, fread_unlocked and ftello.
27632 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27634         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27635         GOT12.
27636         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27637         Likewise.
27638         (_dl_start_user): Likewise.
27639         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27641 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
27642             Siddhesh Poyarekar  <siddhesh@redhat.com>
27644         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27645         Move argv and envp down instead of moving argc up.
27646         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27648 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
27650         [BZ #17506]
27651         * test-skeleton.c (main): Return successful if one of
27652         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27653         * string/tst-strcoll-overflow.c: Define expected status.
27655 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
27657         [BZ #17475]
27658         * locale/iso-639.def: Define Bhili and Tulu language codes.
27660 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
27662         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27664 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
27666         [BZ #17555]
27667         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27669 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27671         * configure.ac: Updated check of minimal required version to
27672         2.22.
27673         * manual/install.texi (Tools for Compilation): Updated version
27674         number.
27675         * configure: Regenerated.
27676         * INSTALL: Likewise.
27678 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
27680         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27681         __tls_get_addr.
27683 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
27685         * include/sys/wait.h (__libc_waitpid): Remove declaration.
27686         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27687         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27688         libc_hidden_weak.
27689         (waitpid): Define as alias of __waitpid.
27690         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27691         __waitpid.
27692         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27693         libc_hidden_weak.
27694         (waitpid): Define as alias of __waitpid.
27695         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27696         __libc_waitpid alias.
27697         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27698         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27699         Likewise.
27700         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27701         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27702         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27703         alias.
27704         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27705         __waitpid.
27706         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27707         libc_hidden_weak.
27708         (waitpid): Define as alias of __waitpid.
27710 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
27712         * manual/llio.texi: Add comment that write safety has been
27713         fixed in Linux.
27715         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27716         (localplt-build-dso): Add elf/ld.so.
27717         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27718         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27719         and free for ld.so.
27720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27721         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27723         Likewise.
27724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27725         Likewise.
27726         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27727         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27728         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27729         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27730         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27731         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27732         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27733         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27734         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27735         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27736         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27738 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
27740         [BZ #14132]
27741         * include/libc-symbols.h (INTUSE): Remove macro.
27742         (INTDEF): Likewise.
27743         (INTVARDEF): Likewise.
27744         (_INTVARDEF): Likewise.
27745         (INTDEF2): Likewise.
27746         (INTVARDEF2): Likewise.
27747         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27748         rtld_hidden_def instead of INTVARDEF.
27749         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27750         (_dl_starting_up_internal): Remove declaration.
27751         (_dl_starting_up): Use rtld_hidden_proto.
27752         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27753         declaration.
27754         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27755         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27756         _dl_starting_up.
27757         * elf/dl-writev.h (_dl_writev): Likewise.
27758         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27759         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27760         _dl_starting_up_internal.
27762 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27764         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27765         test-skeleton.c.
27767 2014-11-05  Will Newton  <will.newton@linaro.org>
27769         * benchtests/Makefile: (bench-malloc): Add malloc thread
27770         scalability benchmark.
27771         * benchtests/bench-malloc-threads.c: New file.
27773 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
27775         * sysdeps/aarch64/strchrnul.S: New file.
27777 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27779         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27780         definition.
27781         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27782         Likwise.
27783         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27784         Likewise.
27785         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27786         Likewise.
27787         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27788         Likewise.
27789         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27790         Likewise.
27792 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
27794         * catgets/test-gencat.c: Use test-skeleton.c.
27795         * catgets/tst-catgets.c: Likewise.
27796         * csu/tst-empty.c: Likewise.
27797         * elf/tst-audit2.c: Likewise.
27798         * elf/tst-global1.c: Likewise.
27799         * elf/tst-pathopt.c: Likewise.
27800         * elf/tst-piemod1.c: Likewise.
27801         * elf/tst-tls10.c: Likewise.
27802         * elf/tst-tls11.c: Likewise.
27803         * elf/tst-tls12.c: Likewise.
27804         * gnulib/tst-gcc.c: Likewise.
27805         * iconvdata/tst-e2big.c: Likewise.
27806         * iconvdata/tst-loading.c: Likewise.
27807         * iconv/tst-iconv1.c: Likewise.
27808         * iconv/tst-iconv2.c: Likewise.
27809         * inet/test-inet6_opt.c: Likewise.
27810         * inet/tst-gethnm.c: Likewise.
27811         * inet/tst-network.c: Likewise.
27812         * inet/tst-ntoa.c: Likewise.
27813         * intl/tst-codeset.c: Likewise.
27814         * intl/tst-gettext2.c: Likewise.
27815         * intl/tst-gettext3.c: Likewise.
27816         * intl/tst-ngettext.c: Likewise.
27817         * intl/tst-translit.c: Likewise.
27818         * io/test-stat.c: Likewise.
27819         * libio/test-fmemopen.c: Likewise.
27820         * libio/tst-freopen.c: Likewise.
27821         * libio/tst-sscanf.c: Likewise.
27822         * libio/tst-ungetwc1.c: Likewise.
27823         * libio/tst-ungetwc2.c: Likewise.
27824         * libio/tst-widetext.c: Likewise.
27825         * localedata/tst-ctype.c: Likewise.
27826         * localedata/tst-digits.c: Likewise.
27827         * localedata/tst-leaks.c: Likewise.
27828         * localedata/tst-mbswcs1.c: Likewise.
27829         * localedata/tst-mbswcs2.c: Likewise.
27830         * localedata/tst-mbswcs3.c: Likewise.
27831         * localedata/tst-mbswcs4.c: Likewise.
27832         * localedata/tst-mbswcs5.c: Likewise.
27833         * localedata/tst-setlocale.c: Likewise.
27834         * localedata/tst-trans.c: Likewise.
27835         * localedata/tst-wctype.c: Likewise.
27836         * localedata/tst-xlocale1.c: Likewise.
27837         * login/tst-grantpt.c: Likewise.
27838         * malloc/tst-calloc.c: Likewise.
27839         * malloc/tst-malloc.c: Likewise.
27840         * malloc/tst-mallocstate.c: Likewise.
27841         * malloc/tst-mcheck.c: Likewise.
27842         * malloc/tst-mtrace.c: Likewise.
27843         * malloc/tst-obstack.c: Likewise.
27844         * math/atest-exp2.c: Likewise.
27845         * math/atest-exp.c: Likewise.
27846         * math/atest-sincos.c: Likewise.
27847         * math/test-matherr.c: Likewise.
27848         * math/test-misc.c: Likewise.
27849         * math/test-powl.c: Likewise.
27850         * math/tst-definitions.c: Likewise.
27851         * misc/tst-dirname.c: Likewise.
27852         * misc/tst-efgcvt.c: Likewise.
27853         * misc/tst-fdset.c: Likewise.
27854         * misc/tst-hsearch.c: Likewise.
27855         * misc/tst-mntent2.c: Likewise.
27856         * nptl/tst-sem7.c: Likewise.
27857         * nptl/tst-sem8.c: Likewise.
27858         * nptl/tst-sem9.c: Likewise.
27859         * nss/test-netdb.c: Likewise.
27860         * posix/tst-fnmatch.c: Likewise.
27861         * posix/tst-getlogin.c: Likewise.
27862         * posix/tst-gnuglob.c: Likewise.
27863         * posix/tst-mmap.c: Likewise.
27864         * pwd/tst-getpw.c: Likewise.
27865         * resolv/tst-inet_ntop.c: Likewise.
27866         * rt/tst-timer.c: Likewise.
27867         * stdio-common/test-fseek.c: Likewise.
27868         * stdio-common/test-popen.c: Likewise.
27869         * stdio-common/test-vfprintf.c: Likewise.
27870         * stdio-common/tst-cookie.c: Likewise.
27871         * stdio-common/tst-fileno.c: Likewise.
27872         * stdio-common/tst-gets.c: Likewise.
27873         * stdio-common/tst-obprintf.c: Likewise.
27874         * stdio-common/tst-perror.c: Likewise.
27875         * stdio-common/tst-sprintf2.c: Likewise.
27876         * stdio-common/tst-sprintf3.c: Likewise.
27877         * stdio-common/tst-sprintf.c: Likewise.
27878         * stdio-common/tst-swprintf.c: Likewise.
27879         * stdio-common/tst-tmpnam.c: Likewise.
27880         * stdio-common/tst-unbputc.c: Likewise.
27881         * stdio-common/tst-wc-printf.c: Likewise.
27882         * stdlib/tst-environ.c: Likewise.
27883         * stdlib/tst-fmtmsg.c: Likewise.
27884         * stdlib/tst-limits.c: Likewise.
27885         * stdlib/tst-rand48-2.c: Likewise.
27886         * stdlib/tst-rand48.c: Likewise.
27887         * stdlib/tst-random2.c: Likewise.
27888         * stdlib/tst-random.c: Likewise.
27889         * stdlib/tst-strtol.c: Likewise.
27890         * stdlib/tst-strtoll.c: Likewise.
27891         * stdlib/tst-tls-atexit.c: Likewise.
27892         * stdlib/tst-xpg-basename.c: Likewise.
27893         * string/test-ffs.c: Likewise.
27894         * string/tst-bswap.c: Likewise.
27895         * string/tst-inlcall.c: Likewise.
27896         * string/tst-strtok.c: Likewise.
27897         * string/tst-strxfrm.c: Likewise.
27898         * sysdeps/x86_64/tst-audit10.c: Likewise.
27899         * sysdeps/x86_64/tst-audit3.c: Likewise.
27900         * sysdeps/x86_64/tst-audit4.c: Likewise.
27901         * sysdeps/x86_64/tst-audit5.c: Likewise.
27902         * time/tst-ftime_l.c: Likewise.
27903         * time/tst-getdate.c: Likewise.
27904         * time/tst-mktime3.c: Likewise.
27905         * time/tst-mktime.c: Likewise.
27906         * time/tst-posixtz.c: Likewise.
27907         * time/tst-strptime2.c: Likewise.
27908         * time/tst-strptime3.c: Likewise.
27909         * wcsmbs/tst-btowc.c: Likewise.
27910         * wcsmbs/tst-mbrtowc.c: Likewise.
27911         * wcsmbs/tst-mbsrtowcs.c: Likewise.
27912         * wcsmbs/tst-wchar-h.c: Likewise.
27913         * wcsmbs/tst-wcpncpy.c: Likewise.
27914         * wcsmbs/tst-wcrtomb.c: Likewise.
27915         * wcsmbs/tst-wcsnlen.c: Likewise.
27916         * wcsmbs/tst-wcstof.c: Likewise.
27918 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
27920         [BZ #14132]
27921         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27922         INTDEF.
27923         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27924         declaration.
27925         (_dl_mcount): Use rtld_hidden_proto.
27926         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27927         _dl_mcount.
27928         * elf/rtld.c (_rtld_global_ro): Likewise.
27930         [BZ #14132]
27931         * elf/dl-init.c (_dl_init): Don't use INTDEF.
27932         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27933         of _dl_init_internal.
27934         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27935         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27936         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27937         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27938         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27939         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27940         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27941         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27942         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27943         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27944         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27945         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27946         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27947         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27948         * sysdeps/tile/dl-start.S (_start): Likewise.
27949         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27950         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27952         [BZ #14132]
27953         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27954         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27955         (rtld_progname): Make macro definition unconditional.
27956         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27957         INTDEF.
27958         (dlmopen_doit): Do not use INTUSE with _dl_argv.
27959         (dl_main): Likewise.
27960         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27961         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27962         instead of _dl_argv_internal.
27963         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27964         __GI__dl_argv instead of INTUSE(_dl_argv).
27965         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27966         __GI__dl_argv instead of _dl_argv_internal.
27968         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27969         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27970         macro.
27971         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27972         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27973         New macro.
27974         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27975         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
27976         macro.
27977         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
27978         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
27980 2014-11-04  Andreas Schwab  <schwab@suse.de>
27982         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
27984 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27986         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
27987         mtvsrd instruction in binary form.
27989 2014-11-03  Andreas Schwab  <schwab@suse.de>
27991         [BZ #17522]
27992         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
27993         for less than MB_LEN_MAX use a local buffer of that size.
27994         * libio/tst-fputws.c: New file.
27995         * libio/Makefile (tests): Add tst-fputws.
27997 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
27999         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28000         the size of the fpu_fr.fpu_dregs[] array.
28002 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28004         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28005         (__nanosleep): Do not define as alias.
28006         (nanosleep): Define as alias of __nanosleep.
28007         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28008         __libc_nanosleep name.
28010 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28012         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28013         install.texi in comment.
28015 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28017         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28018         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28019         ... add here and use lwsync or sync ...
28020         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28021         ... and add here using lwsync.
28023 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28025         * elf/dl-machine-reject-phdr.h: New file.
28026         * elf/dl-load.c: #include that.
28027         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28028         if that returned true.
28030 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28032         [BZ #17496]
28033         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28034         gen-as-const-headers chunk.  Add a big scare comment after the last
28035         safe place to touch before-compile.
28037 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28039         * manual/install.texi (Tools for Compilation): Update autoconf
28040         version requirements.
28041         * INSTALL: Regenerated.
28043         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28044         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28045         (__libc_pselect): Likewise.
28047         [BZ #14138]
28048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28053 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28055         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28056         correct barrier instruction.
28057         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28058         Likewise.
28059         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28060         Likewise.
28062 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28064         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28065         after defining inlines.  Instead, just use parens to defeat macro
28066         expansion of __isctype in its declaration.
28068 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28070         * include/sys/uio.h (__libc_readv): Remove declaration.
28071         (__libc_writev): Likewise.
28072         * misc/readv.c (__libc_readv): Rename to __readv.
28073         (__readv): Do not define as alias.
28074         (readv): Define as alias of __readv.
28075         * misc/writev.c (__libc_writev): Rename to __writev.
28076         (__writev): Do not define as alias.
28077         (writev): Define as alias of __writev.
28078         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28079         (__readv): Do not define as alias.
28080         (readv): Define unconditionally as alias of __readv.
28081         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28082         (__writev): Do not define as alias.
28083         (writev): Define unconditionally as alias of __writev.
28084         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28085         name.
28086         (writev): Do not define __libc_writev name.
28088 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28090         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28091         (convert_charseq): New function, broken out of ...
28092         (use_from_charmap): ... here.  Call it.
28093         (use_to_charmap): Use convert_charseq and free instead of duplicating
28094         its code with a variable-length stack struct.
28096 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28098         * include/fcntl.h (__libc_creat): Remove declaration.
28099         * io/creat.c (__libc_creat): Rename to creat.
28100         (creat): Do not define as alias.
28101         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28102         of creat instead of __libc_creat.
28103         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28104         to creat.
28105         (creat): Do not define as alias.
28106         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28107         __libc_creat.
28108         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28109         __libc_creat name.
28110         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28111         Likewise.
28113 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28115         * manual/llio.texi: Add comments discussing why write() may be
28116         considered MT-unsafe on Linux.
28118 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28120         * dl-load.c (local_strdup): Remove.
28121         (expand_dynamic_string_token): Use __strdup.
28122         (decompose_rpath): Likewise.
28123         (_dl_map_object): Likewise.
28125 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28127         [BZ #14132]
28128         * sysdeps/generic/unwind-dw2-fde.c
28129         (__register_frame_info_bases_internal): Do not declare.
28130         (__register_frame_info_table_bases_internal): Likewise.
28131         (__deregister_frame_info_bases_internal): Likewise.
28132         (__register_frame_info_bases): Declare and use hidden_proto before
28133         definition.  Use hidden_def instead of INTDEF.
28134         (__register_frame_info_table_bases): Likewise.
28135         (__deregister_frame_info_bases): Likewise.
28136         (__register_frame_info): Do not use INTUSE.
28137         (__register_frame): Likewise.
28138         (__register_frame_info_table): Likewise.
28139         (__register_frame_table): Likewise.
28140         (__deregister_frame_info): Likewise.
28141         (__deregister_frame): Likewise.
28143 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28145         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28146         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28147         not undefine.
28148         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28149         Likewise.
28150         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28151         Likewise.
28153 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28155         [BZ #14138]
28156         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28157         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28158         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28159         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28160         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28161         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28162         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28163         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28164         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28165         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28166         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28167         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28168         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28169         syscall.
28170         (setfsuid): Likewise.
28171         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28172         (setfsuid): Likewise.
28173         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28174         (setfsuid): Likewise.
28175         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28176         Likewise.
28177         (setfsuid): Likewise.
28178         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28179         (setfsuid): Likewise.
28180         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28181         Likewise.
28182         (setfsuid): Likewise.
28184 2014-10-27  Andreas Schwab  <schwab@suse.de>
28186         [BZ #17501]
28187         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28188         check for Slow_SSE4_2 feature bit.
28189         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28190         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28191         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28192         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28194 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28196         * configure.ac: Validate compiler version with a empirical test of
28197         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28198         $CC -v output.
28199         * configure: Regenerated.
28201         * inet/htons.c (htons): Prototypify.
28202         * inet/htonl.c (htonl): Likewise.
28204 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28206         * string/strncat.c (strncat): Improve performance by using strlen.
28208 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28210         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28212 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28214         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28215         Call libc_fetestexcept_aarch64.
28217 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28219         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28220         Call libc_feholdexcept_aarch64.
28222 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28224         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28225         Call get_rounding_mode.
28227 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28229         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28230         Simplify logic.
28232 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28234         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28235         Simplify logic.
28237 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28239         [BZ #14138]
28240         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28241         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28242         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28243         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28244         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28245         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28246         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28247         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28248         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28249         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28250         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28251         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28252         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28253         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28254         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28255         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28256         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28257         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28258         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28259         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28260         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28261         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28262         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28263         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28264         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28265         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28266         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28267         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28268         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28269         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28270         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28271         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28272         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28273         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28274         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28275         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28276         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28277         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28278         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28279         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28280         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28281         syscall.
28282         (geteuid): Likewise.
28283         (getgid): Likewise.
28284         (getuid): Likewise.
28285         (getresgid): Likewise.
28286         (getresuid): Likewise.
28287         (getgroups): Likewise.
28288         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28289         (geteuid): Likewise.
28290         (getgid): Likewise.
28291         (getuid): Likewise.
28292         (getresgid): Likewise.
28293         (getresuid): Likewise.
28294         (getgroups): Likewise.
28295         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28296         (geteuid): Likewise.
28297         (getgid): Likewise.
28298         (getuid): Likewise.
28299         (getresgid): Likewise.
28300         (getresuid): Likewise.
28301         (getgroups): Likewise.
28302         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28303         Likewise.
28304         (geteuid): Likewise.
28305         (getgid): Likewise.
28306         (getuid): Likewise.
28307         (getresgid): Likewise.
28308         (getresuid): Likewise.
28309         (getgroups): Likewise.
28310         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28311         (geteuid): Likewise.
28312         (getgid): Likewise.
28313         (getuid): Likewise.
28314         (getresgid): Likewise.
28315         (getresuid): Likewise.
28316         (getgroups): Likewise.
28317         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28318         Likewise.
28319         (geteuid): Likewise.
28320         (getgid): Likewise.
28321         (getuid): Likewise.
28322         (getgroups): Likewise.
28324         [BZ #14138]
28325         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28326         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28327         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28328         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28329         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28330         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28331         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28332         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28333         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28334         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28335         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28336         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28337         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28338         __chown.
28339         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28340         (lchown): Likewise.
28341         (fchown): Likewise.
28342         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28343         Likewise.
28344         (lchown): Likewise.
28345         (fchown): Likewise.
28346         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28347         (lchown): Likewise.
28348         (fchown): Likewise.
28349         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28350         Likewise.
28351         (lchown): Likewise.
28352         (fchown): Likewise.
28354 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28356         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28357         Simplify logic.
28359 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28361         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28362         Cleanup logic.
28364 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28366         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28367         Remove unused include.
28369 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28371         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28372         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28373         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28374         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28376 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28377             Helge Deller <deller@gmx.de>
28379         [BZ #17508]
28380         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28381         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28382         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28384 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28386         [BZ #14132]
28387         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28388         Remove macro definition.
28389         (__ashrdi3_v_glibc20): Likewise.
28390         (__lshrdi3_v_glibc20): Likewise.
28391         (__cmpdi2_v_glibc20): Likewise.
28392         (__ucmpdi2_v_glibc20): Likewise.
28393         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28394         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28395         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28396         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28397         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28398         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28400 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28402         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28403         old GNU extension [0] syntax.
28404         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28405         alloca rather than an array member with variable length.
28406         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28407         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28408         (parse_opt): ... here.  Likewise use alloca there.
28409         Validate the -i argument before checking for rootness.
28410         (send_shutdown): New function, broken out of ...
28411         (parse_opt): ... here.
28413 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28415         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28416         macro to get at the _rt_local_ro field.
28417         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28418         ([PIC] case) or _dl_hwcap ([!PIC] case).
28419         * sysdeps/arm/setjmp.S: Likewise.
28421         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28422         * sysdeps/arm/configure.ac: New check to define it.
28423         * sysdeps/arm/configure: Regenerated.
28424         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28425         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28426         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28427         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28428         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28429         Use move/movt pair instead of a load.
28430         (LDST_GLOBAL): Macro removed.
28431         (LDR_GLOBAL): New macro replaces it.
28432         (LDR_HIDDEN): New macro.
28433         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28434         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28436         * setjmp/tst-setjmp-static.c: New file.
28437         * setjmp/Makefile (tests): Add it.
28438         (tests-static): New variable.
28440 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28442         [BZ #17485]
28443         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28445 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28447         [BZ #14132]
28448         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28450 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28452         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28454 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28456         * io/fts.c (dirent_not_directory): New function.
28457         (fts_build): Call it.
28459 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28461         * nptl/version.c (__nptl_main): Use normal __write rather than
28462         INTERNAL_SYSCALL.
28463         (banner): Update copyright years.
28465         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28466         gettimeofday.
28467         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28468         * nptl/pthread_cond_timedwait.c: Likewise.
28469         * nptl/pthread_mutex_timedlock.c: Likewise.
28470         * nptl/sem_timedwait.c: Likewise.
28472         * sysdeps/nptl/bits/libc-lock.h
28473         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28474         (__libc_lock_init_recursive): Return void, not 0.
28475         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28476         (__libc_rwlock_init): Likewise.
28477         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28479 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28481         [BZ #15215]
28482         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28483         (__pthread_once_slow): ... here.
28484         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28485         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28487 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28489         [BZ #15215]
28490         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28491         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28492         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28493         * nptl/pthread_once.c (__pthread_once): Likewise.
28494         Update comments.
28496 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28498         [BZ #14138]
28499         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28500         name.
28501         (writev): Use __libc_writev as strong name.
28502         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28503         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28505 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28507         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28509         * sysdeps/i386/nptl/tls.h
28510         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28511         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28512         New macros.
28513         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28514         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28515         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28516         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28517         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28518         Call CHECK_THREAD_SYSINFO instead of doing an assert.
28520         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28521         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28522         on [__NR_futex].
28523         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28524         broken out of ...
28525         (__pthread_mutex_init): ... here.  Call it.
28526         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28527         Conditionalize PI cases on [__NR_futex].
28528         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28529         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28530         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28532         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28533         conditional on [SIGSETXID].
28534         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28535         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28536         is defined.  Likewise for SIGSETXID.
28537         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28538         Conditionalize definitions on [SIGSETXID].
28539         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28540         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28541         unblocking on [SIGCANCEL].
28543         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28544         [__NR_set_robust_list].
28546 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28548         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28549         (do_compare): Likewise.
28551 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28553         [BZ #15884]
28554         * string/strcoll_l.c: Don't include stdio.h.
28555         (coll_seq): Remove members idxarr and rulearr.
28556         (get_next_seq_cached): Remove function.
28557         (get_next_seq): Likewise.
28558         (get_next_seq_nocache): Rename to get_next_seq.
28559         (do_compare): Remove function.
28560         (do_compare_nocache): Rename to do_compare.
28561         (STRCOLL): Remove weight and rules cache.
28563 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28565         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28566         * sysdeps/arm/sfp-machine.h: ... to here.
28567         * sysdeps/arm/Implies: Remove arm/soft-fp.
28569 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28571         * conform/data/sys/utsname.h-data (*_t): Allow.
28572         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28573         [POSIX] (WEXITED): Do not expect constant.
28574         [POSIX] (WSTOPPED): Likewise.
28575         [POSIX] (WNOHANG): Likewise.
28576         [POSIX] (WNOWAIT): Likewise.
28577         [POSIX] (siginfo_t): Do not expect type or elements.
28578         [POSIX] (pid_t): Do not expect type.
28579         [POSIX] (signal.h): Do not allow header.
28580         [POSIX] (sys/resource.h): Likewise.
28581         [POSIX] (si_*): Do not allow pattern.
28582         [POSIX] (W*): Likewise.
28583         [POSIX] (P_*): Likewise.
28584         [POSIX] (BUS_*): Likewise.
28585         [POSIX] (CLD_*): Likewise.
28586         [POSIX] (FPE_*): Likewise.
28587         [POSIX] (ILL_*): Likewise.
28588         [POSIX] (POLL_*): Likewise.
28589         [POSIX] (SEGV_*): Likewise.
28590         [POSIX] (SI_*): Likewise.
28591         [POSIX] (TRAP_*): Likewise.
28592         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28593         variable.
28595 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28597         [BZ #12926]
28598         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28599         infinite loop when __recvmsg returns 0.
28601 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
28603         * CANCEL-FCT-WAIVE: Remove file.
28604         * CANCEL-FILE-WAIVE: Likewise.
28606         [BZ #14132]
28607         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28608         instead of INTVARDEF.
28609         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28610         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28611         rtld_hidden_data_def instead of INTVARDEF.
28612         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28613         * elf/dl-deps.c (expand_dst): Likewise.
28614         * elf/dl-load.c (_dl_dst_count): Likewise.
28615         (_dl_dst_substitute): Likewise.
28616         (decompose_rpath): Likewise.
28617         (_dl_init_paths): Likewise.
28618         (open_path): Likewise.
28619         (_dl_map_object): Likewise.
28620         * elf/rtld.c (dl_main): Likewise.
28621         (process_dl_audit): Likewise.
28622         (process_envvars): Likewise.
28623         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28624         Remove declaration.
28625         (__libc_enable_secure): Use rtld_hidden_proto.
28627 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28629         * elf/dl-load.c
28630         (add_path): New function broken out of _dl_rtld_di_serinfo.
28631         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
28633 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28635         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28636         parentheses around macro arguments.
28637         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28638         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28639         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28640         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28641         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28642         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28643         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28644         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28645         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28646         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28647         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28648         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28649         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28650         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28651         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28652         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28653         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28654         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28655         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28656         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28657         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28658         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28659         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28660         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28661         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28662         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28663         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28664         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28665         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28666         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28667         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28668         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28669         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28670         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28671         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28672         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28673         Likewise.
28674         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28675         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28676         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28677         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28678         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28679         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28680         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28681         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28682         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28683         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28684         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28685         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28686         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28687         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28688         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28689         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28690         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28691         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28692         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28693         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28694         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28695         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28696         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28697         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28698         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28699         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28700         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28701         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28702         (_FP_FRAC_SRS_1): Likewise.
28703         (_FP_FRAC_CLZ_1): Likewise.
28704         (_FP_MUL_MEAT_1_imm): Likewise.
28705         (_FP_MUL_MEAT_1_wide): Likewise.
28706         (_FP_MUL_MEAT_1_hard): Likewise.
28707         (_FP_SQRT_MEAT_1): Likewise.
28708         (_FP_FRAC_ASSEMBLE_1): Likewise.
28709         (_FP_FRAC_DISASSEMBLE_1): Likewise.
28710         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28711         (__FP_CLZ_2): Likewise.
28712         (_FP_MUL_MEAT_2_wide): Likewise.
28713         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28714         (_FP_MUL_MEAT_2_gmp): Likewise.
28715         (_FP_MUL_MEAT_2_120_240_double): Likewise.
28716         (_FP_SQRT_MEAT_2): Likewise.
28717         (_FP_FRAC_ASSEMBLE_2): Likewise.
28718         (_FP_FRAC_DISASSEMBLE_2): Likewise.
28719         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28720         (_FP_FRAC_CLZ_4): Likewise.
28721         (_FP_MUL_MEAT_4_wide): Likewise.
28722         (_FP_MUL_MEAT_4_gmp): Likewise.
28723         (_FP_SQRT_MEAT_4): Likewise.
28724         (_FP_FRAC_ASSEMBLE_4): Likewise.
28725         (_FP_FRAC_DISASSEMBLE_4): Likewise.
28726         * soft-fp/op-common.h (_FP_CMP): Likewise.
28727         (_FP_CMP_EQ): Likewise.
28728         (_FP_CMP_UNORD): Likewise.
28729         (_FP_TO_INT): Likewise.
28730         (_FP_FROM_INT): Likewise.
28731         [!__FP_CLZ] (__FP_CLZ): Likewise.
28732         (_FP_DIV_HELP_imm): Likewise.
28733         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28734         Likewise.
28735         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28736         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28737         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28738         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28739         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28740         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28741         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28742         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28743         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28744         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28745         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28746         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28747         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28748         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28749         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28750         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28751         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28752         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28753         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28754         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28755         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28756         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28757         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28758         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28759         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28760         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28761         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28762         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28763         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28764         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28765         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28766         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28767         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28768         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28769         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28770         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28771         (FP_UNPACK_RAW_SP): Likewise.
28772         (FP_PACK_RAW_S): Likewise.
28773         (FP_PACK_RAW_SP): Likewise.
28774         (FP_UNPACK_S): Likewise.
28775         (FP_UNPACK_SP): Likewise.
28776         (FP_UNPACK_SEMIRAW_S): Likewise.
28777         (FP_UNPACK_SEMIRAW_SP): Likewise.
28778         (FP_PACK_S): Likewise.
28779         (FP_PACK_SP): Likewise.
28780         (FP_PACK_SEMIRAW_S): Likewise.
28781         (FP_PACK_SEMIRAW_SP): Likewise.
28782         (_FP_SQRT_MEAT_S): Likewise.
28783         (FP_CMP_S): Likewise.
28784         (FP_CMP_EQ_S): Likewise.
28785         (FP_CMP_UNORD_S): Likewise.
28786         (FP_TO_INT_S): Likewise.
28787         (FP_FROM_INT_S): Likewise.
28789         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28791         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28792         (FP_EX_INVALID_IMZ): Likewise.
28793         (FP_EX_INVALID_IMZ_FMA): Likewise.
28794         (FP_EX_INVALID_ISI): Likewise.
28795         (FP_EX_INVALID_ZDZ): Likewise.
28796         (FP_EX_INVALID_IDI): Likewise.
28797         (FP_EX_INVALID_SQRT): Likewise.
28798         (FP_EX_INVALID_CVI): Likewise.
28799         (FP_EX_INVALID_VC): Likewise.
28800         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28801         "invalid" exceptions.
28802         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
28803         (_FP_ADD_INTERNAL): Likewise.
28804         (_FP_MUL): Likewise.
28805         (_FP_FMA): Likewise.
28806         (_FP_DIV): Likewise.
28807         (_FP_CMP_CHECK_NAN): Likewise.
28808         (_FP_SQRT): Likewise.
28809         (_FP_TO_INT): Likewise.
28810         (FP_EXTEND): Likewise.
28812 2014-10-09  Allan McRae  <allan@archlinux.org>
28814         * po/fr.po: Update French translation from translation project.
28816 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28818         [BZ #14132]
28819         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28820         of INTDEF.
28821         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28822         (__cxa_atexit): Use libc_hidden_proto.
28823         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28825         [BZ #14132]
28826         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28827         declaration.
28828         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28829         [!_ISOMAC] (__iswspace_l_internal): Likewise.
28830         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28831         [!_ISOMAC] (__iswctype_internal): Likewise.
28832         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28833         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28834         alias.
28835         (fcntl): Remove __fcntl_internal alias.
28836         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28837         __connect_internal alias.
28838         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28839         Likewise.
28841         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28842         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28843         FP_DENORM_ZERO.
28844         (_FP_CHECK_FLUSH_ZERO): New macro.
28845         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28846         (_FP_CMP): Likewise.
28847         (_FP_CMP_EQ): Likewise.
28848         (_FP_TO_INT): Do not set inexact for subnormal arguments if
28849         FP_DENORM_ZERO.
28850         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28851         (FP_TRUNC): Likewise.
28853         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28854         treated as invalid conversion, not as normal exponent.
28856         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28857         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
28858         (_FP_CMP_EQ): Likewise.
28859         (_FP_CMP_UNORD): Likewise.
28860         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28861         (FP_CMP_EQ_D): Likewise.
28862         (FP_CMP_UNORD_D): Likewise.
28863         * soft-fp/extended.h (FP_CMP_E): Likewise.
28864         (FP_CMP_EQ_E): Likewise.
28865         (FP_CMP_UNORD_E): Likewise.
28866         * soft-fp/quad.h (FP_CMP_Q): Likewise.
28867         (FP_CMP_EQ_Q): Likewise.
28868         (FP_CMP_UNORD_Q): Likewise.
28869         * soft-fp/single.h (FP_CMP_S): Likewise.
28870         (FP_CMP_EQ_S): Likewise.
28871         (FP_CMP_UNORD_S): Likewise.
28872         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28873         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28874         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28875         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28876         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28877         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28878         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28879         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28880         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28881         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28882         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28883         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28884         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28885         to FP_CMP_Q.
28886         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28887         FP_CMP_Q.
28888         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28889         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28890         FP_CMP_EQ_Q.
28891         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28892         FP_CMP_Q.
28893         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28894         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28895         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28896         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28897         FP_CMP_EQ_Q.
28898         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28899         FP_CMP_Q.
28900         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28901         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28902         FP_CMP_EQ_Q.
28903         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28904         FP_CMP_Q.
28905         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28906         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28907         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28908         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28909         FP_CMP_EQ_Q.
28911         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28912         a subnormal result, set the underflow exception if trapping on
28913         underflow is enabled.
28914         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28915         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28916         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28917         redefine to 0.
28918         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28919         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28920         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28921         * soft-fp/extendxftf2.c (__extendxftf2): Use
28922         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28924         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28925         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28926         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28927         FP_HANDLE_EXCEPTIONS.
28928         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28929         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28930         FP_HANDLE_EXCEPTIONS.
28931         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28932         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28933         FP_HANDLE_EXCEPTIONS.
28934         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28935         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28936         FP_HANDLE_EXCEPTIONS.
28938 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
28940         [BZ #14132]
28941         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28942         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28943         use INTUSE.
28944         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28945         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28946         Remove alias.
28947         (__adjtimex): Define using libc_hidden_ver.
28948         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28949         Remove declaration.
28950         (ntp_gettime): Call __adjtimex directly.
28951         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28952         Remove declaration.
28953         (ntp_gettimex): Call __adjtimex directly.
28954         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28955         __adjtimex_internal alias.
28957 2014-10-08  Roland McGrath  <roland@hack.frob.com>
28959         [BZ #17460]
28960         * nscd/nscd.c (more_help): Rewrite list of tables collection
28961         using xstrdup and asprintf.
28963         * nscd/nscd_conf.c: Remove local xstrdup declaration.
28965 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28966             Roland McGrath  <roland@hack.frob.com>
28968         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28969         (do_lookup_unique): ... local function 'enter' here; update callers.
28971 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
28973         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28974         compat_symbol calls on [SHARED].
28975         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
28976         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
28977         Remove.
28978         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28979         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
28980         (oldsetrlimit): Remove.
28981         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28983         (lchown): New syscall entry.
28984         (oldsetrlimit): Remove.
28985         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28986         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
28987         (oldsetrlimit): Remove.
28988         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28990         [BZ #14138]
28991         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28992         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
28993         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
28994         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
28995         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28996         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28997         (fchown): Likewise.
28998         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
28999         (fchown): Likewise.
29000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29001         Likewise.
29003 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29005         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29006         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29007         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29008         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29009         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29010         Likewise.
29011         (__old_sem_post): Likewise.
29013 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29015         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29016         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29017         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29018         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29019         Use INLINE_VSYSCALL macro.
29020         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29021         __vdso_clock_gettime.
29022         * sysdeps/unix/sysv/linux/tile/init-first.c
29023         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29024         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29025         __vdso_clock_gettime.
29027         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29028         to set up frame more cleanly.
29030         * sysdeps/tile/memcmp.c: New file.
29032         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29034         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29035         * sysdeps/tile/tilegx/strcasestr.c: New file.
29036         * sysdeps/tile/tilegx/strnlen.c: New file.
29037         * sysdeps/tile/tilegx/strstr.c: New file.
29039         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29041 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29043         * nptl/tst-setuid3.c: Write errors to stdout.
29045 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29047         * elf/dl-deps.c
29048         (preload): New functions broken out of _dl_map_object_deps.
29049         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29051 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29053         [BZ #14138]
29054         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29055         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29057 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29059         * sysdeps/mips/strcmp.S: New.
29061 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29063         [BZ #14138]
29064         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29065         (linkat): Likewise.
29066         (mkdirat): Likewise.
29067         (readlinkat): Likewise.
29068         (renameat): Likewise.
29069         (symlinkat): Likewise.
29070         (unlinkat): Likewise.
29071         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29072         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29073         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29074         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29075         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29076         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29077         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29079 2014-09-30  Will Newton  <will.newton@linaro.org>
29081         * math/math.h: Define long double math functions if
29082         _LIBC_TEST is defined.
29083         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29085         * localedata/Makefile: Move assignment to tests-special
29086         into an ifdef testing run-built-tests.
29087         * timezone/Makefile: Likewise.
29089 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29091         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29092         with $(BASH) not $(SHELL).
29094 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29095             Matthew LeGendre  <legendre1@llnl.gov>
29097         [BZ #17411]
29098         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29099         l_reloc_result.
29101 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29103         * stdio-common/printf_fp.c
29104         (hack_digit): New function, broken out of ...
29105         (__printf_fp): ... local function here.  Update call sites.
29106         hack_digit now takes an additional parameter that is a pointer
29107         to a struct of the referenced locals.  Those locals moved inside
29108         the struct and references updated.
29110 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29112         * aclocal.m4: Require autoconf 2.69.
29113         * configure: Regenerated.
29114         * sysdeps/aarch64/configure: Likewise.
29115         * sysdeps/alpha/configure: Likewise.
29116         * sysdeps/arm/armv7/configure: Likewise.
29117         * sysdeps/arm/configure: Likewise.
29118         * sysdeps/ia64/configure: Likewise.
29119         * sysdeps/mach/configure: Likewise.
29120         * sysdeps/mips/configure: Likewise.
29121         * sysdeps/s390/configure: Likewise.
29122         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29125         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29126         file.
29127         * sysdeps/ia64/configure.ac: Likewise.
29129 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29132         specify symbol version for ld.so.  Do not include entry for
29133         libpthread.
29134         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29135         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29136         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29138         [BZ #14171]
29139         * Makeconfig [$(build-shared) = yes]
29140         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29141         makefiles.
29142         [$(build-shared) = yes && $(soversions.mk-done) = t]
29143         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29144         [$(build-shared) = yes && $(soversions.mk-done) = t]
29145         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29146         to Makerules.
29147         [$(build-shared) = yes && $(soversions.mk-done) = t]
29148         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29149         here.
29150         [$(build-shared) = yes && $(soversions.mk-done) = t]
29151         (common-generated): Don't append gnu/lib-names.h and
29152         gnu/lib-names.stmp here.
29153         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29154         (lib-names-h-abi): New variable.
29155         [$(build-shared) = yes && $(soversions.mk-done) = t]
29156         (lib-names-stmp-abi): Likewise.
29157         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29158         abi-variants] (before-compile): Append
29159         $(common-objpfx)$(lib-names-h-abi).
29160         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29161         abi-variants] (common-generated): Append gnu/lib-names.h.
29162         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29163         abi-variants] (install-others-nosubdir): Depend on
29164         $(inst_includedir)/$(lib-names-h-abi).
29165         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29166         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29167         [$(build-shared) = yes && $(soversions.mk-done) = t]
29168         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29169         [$(build-shared) = yes && $(soversions.mk-done) = t]
29170         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29171         [$(build-shared) = yes && $(soversions.mk-done) = t]
29172         (common-generated): Append $(lib-names-h-abi) and
29173         $(lib-names-stmp-abi).
29174         * scripts/lib-names.awk: Do not handle multi being set.
29175         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29176         Remove variable.
29177         (abi-lp64_be-ld-soname): Likewise.
29178         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29179         Likewise.
29180         (abi-hard-ld-soname): Likewise.
29181         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29182         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29183         Remove variable.
29184         (abi-o32_hard-ld-soname): Likewise.
29185         (abi-o32_soft_2008-ld-soname): Likewise.
29186         (abi-o32_hard_2008-ld-soname): Likewise.
29187         (abi-n32_soft-ld-soname): Likewise.
29188         (abi-n32_hard-ld-soname): Likewise.
29189         (abi-n32_soft_2008-ld-soname): Likewise.
29190         (abi-n32_hard_2008-ld-soname): Likewise.
29191         (abi-n64_soft-ld-soname): Likewise.
29192         (abi-n64_hard-ld-soname): Likewise.
29193         (abi-n64_soft_2008-ld-soname): Likewise.
29194         (abi-n64_hard_2008-ld-soname): Likewise.
29195         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29196         Likewise.
29197         (abi-64-v2-ld-soname): Likewise.
29198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29199         ld.so entries.
29200         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29201         variable.
29202         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29203         entry.
29204         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29205         variable.
29206         (abi-64-ld-soname): Likewise.
29207         (abi-x32-ld-soname): Likewise.
29208         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29209         entry.
29210         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29212 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29214         [BZ #14138]
29215         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29216         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29217         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29218         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29219         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29220         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29221         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29222         syscall entry for GLIBC_2.2 symbol version.
29223         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29224         Likewise.
29225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29226         (setrlimit): Likewise.
29227         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29228         Likewise.
29230 2014-09-23  Will Newton  <will.newton@linaro.org>
29232         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29233         _LINUX_ARM_SYSDEP_H include guard too.
29234         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29235         define.
29237 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29239         * sysdeps/unix/sysv/linux/eventfd.c:
29240         Make first argument unsigned.
29241         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29242         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29244 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29246         [BZ #16852]
29247         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29248         * socket/sys/socket.h: Likewise.
29249         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29251 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29253         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29255 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29257         * time/tst-ftime.c: New test.
29258         * time/Makefile (tests): Add tst-ftime.
29260 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29262         * soft-fp/extended.h: Fix comment formatting.
29263         * soft-fp/op-1.h: Likewise.
29264         * soft-fp/op-2.h: Likewise.
29265         * soft-fp/op-4.h: Likewise.
29266         * soft-fp/op-8.h: Likewise.
29267         * soft-fp/op-common.h: Likewise.
29268         * soft-fp/soft-fp.h: Likewise.
29270         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29272 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29274         [BZ #6652]
29275         * Makeconfig (soversions-default-setname): Remove variable.
29276         ($(common-objpfx)soversions.i): Don't pass default_setname to
29277         soversions.awk.
29278         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29279         oldest_abi to abi-versions.awk.
29280         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29281         * config.make.in (oldest-abi): Remove variable.
29282         * configure.ac (--enable-oldest-abi): Remove configure option.
29283         * configure: Regenerated.
29284         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29285         text.
29286         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29287         * scripts/soversions.awk: Do not handle default_setname variable.
29288         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29289         variable.
29290         * sysdeps/mach/hurd/configure: Regenerated.
29291         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29292         variable.
29293         * sysdeps/unix/sysv/linux/configure: Regenerated.
29295 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29297         * elf/Makefile (CFLAGS-interp.c): Remove.
29298         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29299         path string.
29300         * elf/interp.c: Include generated runtime-linker.h
29302         * Makerules (lib%.so): Don't include $(+interp) in
29303         prerequisites.
29304         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29305         * dlfcn/eval.c: Remove file.
29307         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29308         macros.
29310         [BZ #17266]
29311         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29312         4.2 and newer.
29314         [BZ #17370]
29315         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29317 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29318             Jakub Jelinek  <jakub@redhat.com>
29320         [BZ #17266]
29321         * libio/stdio.h: Check definition of __fortify_function
29322         instead of __extern_always_inline to include bits/stdio2.h.
29323         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29324         check if __extern_always_inline is defined.
29325         [__USE_MISC || __USE_XOPEN]: Likewise.
29326         [__USE_ISOC99] Likewise.
29327         * misc/sys/cdefs.h (__fortify_function): Define only if
29328         __extern_always_inline is defined.
29329         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29330         __extern_always_inline and __extern_inline only for g++-4.3
29331         and newer or a compatible gcc.
29333 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29335         [BZ #17371]
29336         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29337         last change to handle zero prefix length.
29339 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29341         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29342         _SC_REGEX_VERSION.
29344         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29345         _POSIX_RAW_SOCKETS.
29347 2014-09-13  Allan McRae  <allan@archlinux.org>
29349         * po/ru.po: Update Russian translation from translation project.
29351 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29353         * locale/programs/locale.c (show_locale_vars): Inline local function
29354         into its sole call site.  Clean up some style nits.
29355         (print_item): New function, broken out of ...
29356         (show_info): ... local function here.  Clean up style nits.
29358         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29359         out of ...
29360         (set_class_defaults): ... local function set_default here.
29361         Define set_default as a macro locally to pass constant parameters.
29362         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29363         rather than a shared local.
29365         * stdlib/rpmatch.c (try): New function, broken out of ...
29366         (rpmatch): ... local function here.  Also, prototypify definition.
29368 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29370         * scripts/soversions.awk: Do not handle configuration names.
29371         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29372         vendor and os variables to soversions.awk.
29373         * configure.ac: Do not modify gnu-* host_os.
29374         * configure: Regenerated
29375         * shlib-versions: Remove first column with configuration names.
29376         * nptl/shlib-versions: Likewise.
29377         * nptl_db/shlib-versions: Likewise.
29378         * sysdeps/hppa/shlib-versions: Likewise.
29379         * sysdeps/m68k/shlib-versions: Likewise.
29380         * sysdeps/mach/hurd/shlib-versions: Likewise.
29381         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29382         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29383         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29384         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29385         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29386         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29387         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29388         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29390         Likewise.
29391         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29392         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29393         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29394         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29395         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29396         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29397         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29398         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29401         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29403         Regenerated.
29404         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29406         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29408         * shlib-versions: Remove OS-specific entries.  Moved to files in
29409         sysdeps.
29410         * sysdeps/mach/hurd/shlib-versions: New file.
29411         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29413         * nptl/shlib-versions: Remove architecture-specific entries.
29414         Moved to files in sysdeps.
29415         * shlib-versions: Likewise.
29416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29417         file.
29418         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29419         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29420         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29421         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29423         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29424         (UDP_NO_CHECK6_RX): Likewise.
29426 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29428         * sysdeps/posix/sysconf.c (__sysconf): Spell
29429         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29431 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29433         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29434         loading.
29435         * iconv/Versions (__gconv_transliterate): Export for use from
29436         gconv modules.
29437         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29438         (struct __gconv_trans_data, __gconv_trans_fct,
29439         __gconv_trans_context_fct, __gconv_trans_query_fct,
29440         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29441         definitions.
29442         (struct __gconv_step_data): Remove __trans member.
29443         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29444         longer hidden.  Remove unused trans_data argument.
29445         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29446         (__gconv_translit_find): Remove declaration.
29447         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29448         prototype.
29449         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29450         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29451         trans_data argument.  Add hidden definition.
29452         (__gconv_translit_find): Remove.
29453         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29454         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29455         * iconv/skeleton.c: Remove transliteration initialization.
29456         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29457         __gconv_step_data initialization.
29458         * libio/iofwide.c (__libio_translit_): Remove.
29459         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29460         * wcsmbs/btowc.c (__btowc): Likewise.
29461         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29462         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29463         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29464         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29465         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29466         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29467         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29468         * wcsmbs/wctob.c (wctob): Likewise.
29470 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29472         [BZ #16194]
29473         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29474         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29475         register usage.
29476         * sysdeps/x86/Makefile: Adjust.
29478 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29479             Roland McGrath  <roland@hack.frob.com>
29481         * locale/weight.h: Add include guard.
29482         (findidx): Make static rather than auto; take new parameters
29483         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29484         * locale/weightwc.h: Likewise.
29485         * posix/fnmatch_loop.c
29486         (FCT): Change type of EXTRA from int32_t to wint_t.
29487         Don't include either header inside the function.
29488         Call FINDIDX rather than findidx, and pass new arguments.
29489         #undef FINDIDX at the end of the file.
29490         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29491         FINDIDX before including fnmatch_loop.c for the non-wide version.
29492         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29493         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29494         for the wide version.
29495         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29496         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29497         Pass new arguments to findidx.
29498         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29499         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29500         Don't #include it inside the function.  Pass new arguments to findidx.
29501         * posix/regex_internal.h
29502         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29503         (re_string_elem_size_at): Don't #include it inside the function.
29504         Pass new arguments to findidx.
29505         * string/strcoll_l.c: #include WEIGHT_H at top level.
29506         (get_next_seq): Don't #include it inside the function.
29507         Pass new arguments to findidx.
29508         (get_next_seq_nocache): Likewise.
29509         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29510         (STRXFRM): Don't #include it inside the function.
29511         Pass new arguments to findidx.
29513 2014-09-11  Florian Weimer  <fweimer@redhat.com>
29515         [BZ #17344]
29516         * malloc/malloc.c (unlink): Turn asserts into a call to
29517         malloc_printerr.
29519 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
29521         [BZ #17370]
29522         * libio/wfileops (do_ftell_wide): Free OUT.
29524 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
29526         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29528 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29530         [BZ #17363]
29531         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29532         group if the current group is empty.
29534 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29536         * benchtests/bench-memset.c (test_main): Add more test from size
29537         from 32 to 512 bytes.
29538         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29539         Add POWER8 memset object.
29540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29541         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29542         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29543         implementation.
29544         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29545         Likewise.
29546         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29547         multiarch POWER8 memset optimization.
29548         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29549         POWER8 memset optimization.
29551         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29552         Remove bzero multiarch objects.
29553         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29554         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29555         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29556         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29557         Remove define.
29558         [__bzero]: Redefine to specific name.
29559         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29560         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29561         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29562         define.
29563         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29564         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29566 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29568         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29569         warnings into errors.
29571         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29572         __cxa_thread_atexit_impl prototype.
29574 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29576         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29577         Fix capitalization of error message.
29579 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29581         * sysdeps/mips/preconfigure: Modify ABI tests.
29583 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29585         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29587 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29588             Carlos O'Donell  <carlos@systemhalted.org>
29590         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29591         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29592         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29593         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29594         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29595         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29596         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29597         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29598         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29599         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29600         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29601         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29602         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29603         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29604         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29605         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29606         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29607         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29608         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29609         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29610         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29611         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29612         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29613         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29614         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29615         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29616         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29617         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29618         Deconditionalize the code that was previously under [RESET_PID].
29619         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29620         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29621         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29622         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29623         include sysdep.h.
29625 2014-09-08  Allan McRae  <allan@archlinux.org>
29627         * version.h (RELEASE): Set to "development".
29628         (VERSION): Set to "2.20.90"
29630 2014-09-07  Allan McRae  <allan@archlinux.org
29632         * version.h (RELEASE): Set to "stable".
29633         (VERSION): Set to "2.20"
29634         * include/features.h (__GLIBC_MINOR__): Set to 20.
29636         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29637         Liebler.
29639         * po/ko.po: Update Korean translation from translation project.
29641 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
29643         [BZ #17354]
29644         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29645         macro for handling signed relocations.
29647 2014-09-03  Florian Weimer  <fweimer@redhat.com>
29649         [BZ #17325]
29650         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29651         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29652         assert.
29653         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29654         * iconvdata/ibm935.c (BODY): Likewise.
29655         * iconvdata/ibm937.c (BODY): Likewise.
29656         * iconvdata/ibm939.c (BODY): Likewise.
29657         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29658         assert.
29659         * iconvdata/Makefile (iconv-test.out): Pass module list to test
29660         script.
29661         * iconvdata/run-iconv-test.sh: New test loop for checking for
29662         decoder crashers.
29664 2014-09-02  Khem Raj  <raj.khem@gmail.com>
29666         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29667         libm_hidden_ver.
29669 2014-09-01  Allan McRae  <allan@archlinux.org>
29671         * po/eo.po: Update Esperanto translation from translation project.
29673         * po/ca.po: Update Catalan translation from translation project.
29675 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29677         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29678         __proc_dostop call.
29680 2014-08-27  Mark Wielaard  <mjw@redhat.com>
29682         [BZ #17319]
29683         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29684         to call set_thread_area instead of hand written asm.
29685         (__NR_set_thread_area): Removed define.
29686         (TLS_FLAG_WRITABLE): Likewise.
29687         (__ASSUME_SET_THREAD_AREA): Remove check.
29688         (TLS_EBX_ARG): Remove define.
29689         (TLS_LOAD_EBX): Likewise.
29691 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29693         Simplify atomicity of socket creation in bind.
29695         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29696         looking up the name after linking the file.
29698 2014-08-27  Allan McRae  <allan@archlinux.org>
29700         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29702 2014-08-26  Florian Weimer  <fweimer@redhat.com>
29704         [BZ #17187]
29705         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29706         trans_compare, open_translit, __gconv_translit_find):
29707         Remove module loading code.
29709 2014-08-26  Allan McRae  <allan@archlinux.org>
29711         * po/vi.po: Update Vietnamese translation from translation project.
29713         * po/uk.po: Update Ukrainian translation from translation project.
29715         * po/fr.po: Update French translation from translation project.
29717         * po/ru.po: Update Russian translation from translation project.
29719         * po/pl.po: Update Polish translation from translation project.
29721         * po/cs.po: Update Czech translation from translation project.
29723         * po/de.po: Update German translation from translation project.
29725         * po/bg.po: Update Bulgarian translation from translation project.
29727         * po/sv.po: Update Sweedish translation from translation project.
29729         * po/nl.po: Update Dutch translation from translation project.
29731         * po/es.po: Update Spanish translation from translation project.
29733 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29735         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29737         * catgets/Makefile (CPPFLAGS-gencat): Remove.
29738         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29739         (CPPFLAGS-iconvconfig): Likewise.
29740         * timezone/Makefile (CPPFLAGS-zic): Likewise.
29742         * include/libc-symbols.h: Remove unnecessary check for
29743         NOT_IN_libc.
29744         * nptl/pthreadP.h: Likewise.
29745         * sysdeps/aarch64/setjmp.S: Likewise.
29746         * sysdeps/alpha/setjmp.S: Likewise.
29747         * sysdeps/arm/sysdep.h: Likewise.
29748         * sysdeps/i386/setjmp.S: Likewise.
29749         * sysdeps/m68k/setjmp.c: Likewise.
29750         * sysdeps/posix/getcwd.c: Likewise.
29751         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29752         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29753         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29754         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29755         * sysdeps/sh/sh3/setjmp.S: Likewise.
29756         * sysdeps/sh/sh4/setjmp.S: Likewise.
29757         * sysdeps/unix/alpha/sysdep.h: Likewise.
29758         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29759         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29760         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29761         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29764         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29765         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29766         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29767         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29768         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29769         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29770         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29771         * sysdeps/x86_64/setjmp.S: Likewise.
29773 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
29775         [BZ #17263]
29776         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29777         <stdint.h>.
29778         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29779         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29781 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29783         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29785         [BZ #17262]
29786         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29787         and __x86_64__ when disabling x87 inline functions.
29789 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29791         [BZ #17259]
29792         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29793         asm statement with __cpuid_count.
29795 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
29797         * configure.ac: Change __ehdr_start code to dereference the struct.
29798         Run readelf on the output to look for relocations.
29799         * configure: Regenerated.
29801 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
29803         [BZ #17261]
29804         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
29805         value to 0.
29806         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
29808 2014-08-12  Roland McGrath  <roland@hack.frob.com>
29810         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
29812 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
29814         [BZ #16892]
29815         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29816         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29818 2014-08-12  Sean Anderson  <seanga2@gmail.com>
29820         * malloc/malloc.c: Fix typo in comment.
29822 2014-08-09  Allan McRae  <allan@archlinux.org>
29824         * Regenerate libc.po.
29826 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
29828         * intl/tst-gettext2.sh: Check every lang file for creation.
29830 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29832         * sysdeps/aarch64/fpu/math_private.h
29833         (libc_feholdsetround_noex_aarch64_ctx): New function.
29835 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29837         * sysdeps/arm/armv6/strcpy.S (strcpy):
29838         Fix performance issue in misaligned cases.
29840 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29842         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29843         Move definition from termios.h.
29844         (struct termio): Likewise.
29845         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29846         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29847         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29848         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29849         Likewise.
29850         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29851         Move definition to ioctl-types.h
29852         (struct termio): Likewise.
29853         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29854         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29855         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29856         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29857         Likewise.
29859 2014-08-05  Richard Henderson  <rth@redhat.com>
29861         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29862         exceptions.
29863         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29864         Add fraiseexcpt.
29865         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29866         Use __feraiseexcept.
29867         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29868         Protect libm symbols with IS_IN_libm.
29870         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29872 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
29874         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29876 2014-08-04  Will Newton  <will.newton@linaro.org>
29878         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29879         file.
29881 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
29883         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29884         variants for each function.
29886 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29888         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29889         appended ...
29890         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29891         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29892         appended ...
29893         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29894         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29895         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29896         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29897         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29898         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29899         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29900         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29901         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29902         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29903         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29904         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29905         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29906         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29907         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29908         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29909         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29910         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29911         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29912         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29913         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29914         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29915         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29916         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29917         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29918         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29919         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29920         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29921         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29922         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29923         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29924         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29925         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29926         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29927         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29928         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29929         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29930         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29931         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29932         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29933         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29934         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29935         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29936         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29937         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29938         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29939         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29940         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29941         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29942         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29943         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29944         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29945         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29946         Update #include.
29947         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29948         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29950 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29952         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29953         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29954         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29955         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29956         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29957         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29959 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29961         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29962         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29963         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29964         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29966 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29968         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29969         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29970         (__libc_vfork): Define function under this name.
29971         (__vfork): Define as an alias.
29972         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29973         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29975 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29977         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
29978         that was previously under [RESET_PID].
29979         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
29981 2014-08-04  Andreas Schwab  <schwab@suse.de>
29983         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
29985 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
29987         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
29988         (main): Likewise.
29990 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29992         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
29994 2014-08-01  Richard Henderon  <rth@redhat.com>
29996         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
29997         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
29998         typo in exact zero test.
29999         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30000         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30001         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30003 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30005         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30006         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30007         * sysdeps/arm/sysdep.h: ... here.
30008         [!__ASSEMBLER__]: Include <stdint.h>.
30010 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30012         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30013         (HAVE_WCTYPE_H): Likewise.
30014         (HAVE_ISWCTYPE): Likewise.
30015         (ENABLE_NLS): Likewise.
30016         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30017         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30019         * posix/regex_internal.c: Check if DEBUG is defined and is
30020         set.
30022         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30023         (HAVE_MBSRTOWCS): Likewise.
30024         * posix/fnmatch.c: Include string.h unconditionally.
30026 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30028         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30029         reversal.
30031 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30033         * sysdeps/generic/safe-fatal.h: New file.
30034         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30035         * nptl/forward.c: Include it.
30036         (__pthread_unwind): Use __safe_fatal as default action, rather
30037         than a bogus use of INTERNAL_SYSCALL that could never work.
30039         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30040         * configure.ac (libc_cv_builtin_trap): New test.
30041         * configure: Regenerated.
30042         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30043         (ABORT_INSTRUCTION): Define using __builtin_trap.
30045         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30046         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30047         * sysdeps/nptl/nptl-signals.h: New file.
30048         * nptl/pthreadP.h: Include <nptl-signals.h>.
30050 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30052         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30053         (ONE_DIRECTION): Define.
30054         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30055         (ONE_DIRECTION): Define.
30056         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30057         (ONE_DIRECTION): Define.
30059 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30061         * sysdeps/s390/Makefile: Delete file.
30062         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30063         * sysdeps/s390/__longjmp.c: Delete file.
30064         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30065         Remove fields __flags and __reserved.
30066         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30067         and add versioning.
30068         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30069         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30070         * sysdeps/s390/rtld-setjmp.S: Likewise.
30071         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30072         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30073         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30074         * sysdeps/s390/s390-32/setjmp.S: ... here.
30075         Add versioning.
30076         (__sigsetjmp): Remove setting __flags field.
30077         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30078         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30079         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30080         * sysdeps/s390/s390-64/setjmp.S: ... here.
30081         Add versioning.
30082         (__sigsetjmp): Remove setting __flags field.
30083         * sysdeps/s390/setjmp.S: Delete file.
30084         * sysdeps/s390/sigjmp.c: Likewise.
30085         * sysdeps/s390/v1-longjmp.c: Likewise.
30086         * sysdeps/s390/v1-setjmp.h: Likewise.
30087         * sysdeps/s390/v1-sigjmp.c: Likewise.
30088         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30089         Remove v1-longjmp_chk.
30090         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30091         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30092         Include debug/longjmp_chk.c and add versioning.
30093         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30094         Include nptl/pt-longjmp.c and add versioning.
30095         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30096         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30097         Include __longjmp.c.
30098         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30099         Move to ...
30100         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30101         (__getcontext): Remove setting __flags field.
30102         Add versioning.
30103         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30104         Don't restore upper high grps.
30105         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30106         Likewise.
30107         (__swapcontext): Remove setting uc_flags field.
30108         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30109         Delete file.
30110         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30111         Include __longjmp.c.
30112         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30113         Move to ...
30114         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30115         (__getcontext): Remove setting __flags field.
30116         Add versioning.
30117         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30118         (__swapcontext): Remove setting uc_flags field.
30119         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30120         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30121         Remove fields uc_high_gprs and __reserved.
30122         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30123         New file with reverted content.
30124         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30125         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30126         Regenerated.
30127         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30128         Regenerated.
30130 2014-07-31  Andreas Schwab  <schwab@suse.de>
30132         * config.h.in (HAVE_IFUNC): Define to 0.
30133         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30134         definedness.
30136 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30139         memmove-avx-unaligned, memcpy-avx-unaligned and
30140         mempcpy-avx-unaligned.
30141         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30142         Add tests for AVX memcpy functions.
30143         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30144         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30145         memcpy_chk.
30146         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30147         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30148         memmove_chk.
30149         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30150         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30151         mempcpy_chk.
30152         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30153         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30154         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30156 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30158         [BZ #17213]
30159         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30160         powerpc64le.
30162 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30164         [BZ #16839]
30165         * manual/llio.texi: Add section about open file description locks.
30166         * manual/examples/ofdlocks.c: Example of open file description
30167         lock usage.
30168         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30169         F_OFD_SETLK, and F_OFD_SETLKW.
30171 2014-07-23  Allan McRae  <allan@archlinux.org>
30173         * po/es.po: Update Spanish translation from translation project.
30175 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30177         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30179 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30181         [BZ #17078]
30182         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30183         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30184         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30186 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30188         [BZ #17088]
30189         * math/fesetenv.c (__fesetenv)
30190         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30191         * math/feupdateenv.c (__feupdateenv)
30192         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30194         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30195         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30196         (__ASSUME_SOCKETCALL): Do not define.
30198         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30199         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30200         (__ASSUME_SOCKETCALL): Do not define.
30201         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30202         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30203         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30204         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30205         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30206         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30207         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30208         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30210         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30211         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30212         (__ASSUME_SOCKETCALL): Do not define.
30213         (__ASSUME_IPC64): Define unconditionally.
30214         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30215         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30216         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30217         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30218         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30219         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30220         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30221         Likewise.
30223         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30224         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30225         (__ASSUME_SOCKETCALL): Do not define.
30226         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30227         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30228         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30229         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30230         (__ASSUME_REQUEUE_PI): Define unconditionally.
30231         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30232         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30233         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30234         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30235         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30236         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30238         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30239         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30240         (__ASSUME_SOCKETCALL): Do not define.
30241         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30242         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30243         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30244         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30245         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30246         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30248         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30249         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30250         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30251         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30252         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30253         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30254         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30255         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30256         (__ASSUME_GETCPU_SYSCALL): Likewise.
30258         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30259         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30260         cases for individual architectures.
30261         * sysdeps/gnu/configure: Regenerated.
30262         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30263         LIBC_SLIBDIR_RTLDDIR.
30264         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30265         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30266         LIBC_SLIBDIR_RTLDDIR.
30267         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30269         LIBC_SLIBDIR_RTLDDIR.
30270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30271         Regenerated.
30272         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30273         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30274         file.
30275         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30276         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30277         file.
30278         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30279         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30280         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30281         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30283         * sysdeps/aarch64/shlib-versions: Move to ...
30284         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30285         * sysdeps/alpha/shlib-versions: Move to ...
30286         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30287         * sysdeps/arm/shlib-versions: Move to ...
30288         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30289         * sysdeps/hppa/shlib-versions: Move all contents except for
30290         libgcc_s entry to ...
30291         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30292         entry from ...
30293         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30294         * sysdeps/ia64/shlib-versions: Move to ...
30295         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30296         entry from ...
30297         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30298         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30299         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30300         * sysdeps/microblaze/shlib-versions: Move to ...
30301         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30302         * sysdeps/mips/shlib-versions: Move to ...
30303         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30304         entry from ...
30305         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30306         * sysdeps/tile/shlib-versions: Move to ...
30307         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30308         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30309         from ...
30310         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30311         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30312         entry from ...
30313         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30315 2014-07-17  Will Newton  <will.newton@linaro.org>
30317         * sysdeps/arm/bits/atomic.h
30318         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30319         (__arch_compare_and_exchange_bool_16_int): Likewise.
30320         (__arch_compare_and_exchange_bool_64_int): Likewise.
30322         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30323         into an #else block.
30325 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30327         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30328         just Linux configurations.  Test empirically that the compiler sets
30329         __ARM_EABI__, rather than using the tuple to decide.
30330         * sysdeps/arm/preconfigure: Regenerated.
30331         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30332         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30333         contents appended ...
30334         * sysdeps/arm/configure.ac: ... here.
30335         * sysdeps/arm/configure: Regenerated.
30337 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30339         * nptl/pthread_kill.c: New file.
30340         * nptl/pthread_sigmask.c: New file.
30341         * nptl/pthread_sigqueue.c: New file.
30343         * sysdeps/nptl/lowlevellock.h: New file.
30344         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30345         * sysdeps/nptl/lowlevellock-futex.h: New file.
30347         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30348         Remove dead declarations.
30350 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30352         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30353         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30354         config-cflags-avx2.
30355         * sysdeps/x86_64/configure.ac: Likewise.
30356         * sysdeps/i386/configure: Regenerated.
30357         * sysdeps/x86_64/configure: Likewise.
30358         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30359         memset-avx2 only if config-cflags-avx2 is yes.
30360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30361         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30362         defined.
30363         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30364         only if HAVE_AVX2_SUPPORT is defined.
30365         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30367 2014-07-14  Alan Modra  <amodra@gmail.com>
30369         [BZ #17153]
30370         * elf/elf.h (DT_PPC64_NUM): Correct value.
30371         * NEWS: Add to fixed bug list.
30373 2014-07-13  Jim Meyering  <meyering@fb.com>
30375         [BZ 17150]
30376         regex: don't deref NULL upon heap allocation failure
30377         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30378         failure in one more place.
30379         To trigger the segfault, configure grep -with-included-regex,
30380         build it, and run these commands:
30381         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30383 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30385         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30387 2014-07-11  Richard Henderson  <rth@redhat.com>
30389         * sysdeps/aarch64/libm-test-ulps: Update.
30391 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30393         [BZ #17135]
30394         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30395         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30396         (__nptl_setxid): Initialize error member.  Call
30397         __nptl_setxid_error.
30398         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30399         * nptl/descr.h (struct xid_command): Add error member.
30400         * nptl/tst-setuid3.c: New file.
30401         * nptl/Makefile (tests): Add it.
30403 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30405         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30406         New define.
30407         (__lll_trylock): Use __lll_base_trylock.
30408         (__lll_cond_trylock): Likewise.
30410 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30412         * nptl/pthread_create.c (start_thread): Use atomic_or and
30413         lll_futex_wake directly rather than lll_robust_dead.
30414         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30415         (lll_robust_dead): Macro removed.
30416         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30417         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30418         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30419         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30420         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30421         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30422         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30423         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30424         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30425         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30426         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30427         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30428         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30429         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30430         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30432         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30433         Use atomic_compare_and_exchange_val_acq directly rather than
30434         lll_robust_trylock.
30435         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30436         (__lll_robust_trylock, lll_robust_trylock): Removed.
30437         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30438         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30439         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30440         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30441         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30442         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30443         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30444         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30445         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30446         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30447         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30448         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30449         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30450         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30452 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30454         * manual/locale.texi (Locale Names): New section documenting
30455         locale name syntax.  Adjust menu and node chaining accordingly.
30456         (Choosing Locale): Reference Locale Names, Locale Categories.
30457         Mention setting LC_ALL=C.  Reflect that name syntax is now
30458         documented.
30459         (Locale Categories): New section title.  Reference Locale Names.
30460         LC_ALL is an environment variable, but not a category.
30461         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30462         description, now in Locale Name.  Reference that section.  Locale
30463         name syntax is now documented.
30465 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30467         [BZ #17137]
30468         * locale/findlocale.c (name_present, valid_locale_name): New
30469         functions.
30470         (_nl_find_locale): Use the loc_name variable to store name
30471         candidates.  Call name_present and valid_locale_name to check and
30472         validate locale names.  Return an error if the locale is invalid.
30474 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30476         * locale/setlocale.c (setlocale): Use strdup for allocating
30477         composite name copy.
30479 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30481         Sync up with gnulib.
30482         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30483         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30484         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30485         and _GL_ARG_NONNULL.
30486         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30487         [!_LIBC]: Include code for Windows and Cygwin.
30488         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30489         Include prototype for int strerror_r.
30490         [!_LIBC] (is_open): New function.
30491         (flush_stdout): New function.
30492         (print_errno_message): Use it.
30493         (error): Likewise.
30494         (error_at_line): Likewise.
30495         (error_tail) Add function attribute macros.  Use
30496         __builtin_expect.
30498         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30500         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30502         * io/ftw.c: Include sys/param.h unconditionally.
30504         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30506         [BZ #17125]
30507         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30508         libc_freeres_ptr.
30509         (freecache): New function to free CACHE on exit.
30511         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30512         initialization.
30514 2014-07-09  David S. Miller  <davem@davemloft.net>
30516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30518         * sysdeps/sparc/nptl/internaltypes.h: Delete.
30519         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30520         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30521         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30522         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30523         * sysdeps/sparc/nptl/sem_init.c: Likewise.
30524         * sysdeps/sparc/nptl/sem_post.c: Likewise.
30525         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30526         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30527         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30528         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30529         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30530         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30532 2014-07-09  Andreas Schwab  <schwab@suse.de>
30534         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30535         output.
30536         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30537         (do_test): Likewise.
30539         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30541 2014-07-09  Will Newton  <will.newton@linaro.org>
30543         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30544         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30545         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30546         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30547         * sysdeps/hppa/start.S (_start): Likewise.
30549 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30551         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30553         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30554         defined.
30556 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30558         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30559         after checking that it is non-NULL.
30561         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30563 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30565         * sysdeps/powerpc/memmove.c: Remove file.
30566         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30567         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30568         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30569         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30570         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30571         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30572         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30573         string memmove instead of removed powerpc one.
30575         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30576         [weak_alias]: Fix compiler warning due trailing data.
30577         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30578         [weak_alias]: Likewise.
30579         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30580         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30582         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30583         (__libc_ifunc_impl_list): Add memmove functions.
30585 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30587         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30588         Remove code.
30589         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30590         Likewise.
30591         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30592         Likewise.
30593         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30594         Likewise.
30595         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30596         Likewise.
30597         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30598         Likewise.
30599         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30600         Likewise.
30601         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30602         Likewise.
30603         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30604         Likewise.
30605         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30606         Likewise.
30607         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30608         Likewise.
30609         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30610         Likewise.
30611         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30612         Likewise.
30613         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30614         Likewise.
30615         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30616         Likewise.
30617         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30618         Likewise.
30619         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30620         Likewise.
30622 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30624         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30625         to avoid alignment traps in non-cacheable memory.
30626         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30628         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30629         multiarch objects.
30630         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30631         file: multiarch power7 memmove.
30632         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30633         multiarch default memmove.
30634         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30635         multiarch memove for powerpc32/power4.
30637         * string/bcopy.c: Use full path to include memmove.c.
30638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30639         multiarch objects.
30640         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30641         bcopy for powerpc64.
30642         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30643         bcopy for powerpc64.
30644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30645         and memmove implementations.
30646         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30647         optimized multiarch memmove for POWER7/powerpc64.
30648         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30649         default multiarch memmove for powerpc64.
30650         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30651         multiarch for powerpc64.
30652         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30653         for POWER7/powerpc64.
30654         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30655         memmove for POWER7/powerpc64.
30657         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30658         glibc default one.
30660         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30661         __ELF_NATIVE_CLASS equal to 64.
30663 2014-07-07  Roland McGrath  <roland@hack.frob.com>
30665         * sysdeps/nptl/lowlevellock.h: File removed.
30667         * NEWS: NPTL is no longer an add-on!
30668         * nptl/internaltypes.h: Moved ...
30669         * sysdeps/nptl/internaltypes.h: ... here.
30670         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30671         * sysdeps/nptl/fork.c: Likewise.
30672         * sysdeps/nptl/gai_misc.h: Likewise.
30673         * sysdeps/nptl/librt-cancellation.c: Likewise.
30674         * sysdeps/nptl/jmp-unwind.c: Likewise.
30675         * sysdeps/nptl/setxid.h: Likewise.
30676         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30677         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30678         * sysdeps/unix/sysv/linux/arm/Implies: New file.
30679         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30680         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30681         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30682         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30683         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30684         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30685         * sysdeps/unix/sysv/linux/mips/Implies: New file.
30686         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30687         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30688         * sysdeps/unix/sysv/linux/sh/Implies: New file.
30689         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30690         * sysdeps/unix/sysv/linux/tile/Implies: New file.
30691         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30692         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30693         * nptl/Makeconfig: Moved ...
30694         * sysdeps/nptl/Makeconfig: ... here.
30695         * nptl/configure: File removed.
30696         * nptl/ANNOUNCE: File removed.
30697         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30698         * sysdeps/unix/sysv/linux/configure: Regenerated.
30700         * nptl/Makefile (routines): Add libc_pthread_init,
30701         libc_multiple_threads, register-atfork and unregister-atfork.
30702         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30703         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30704         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30705         pthread-pi-defines.sym, structsem.sym.
30706         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30707         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30708         [$(subdir) = nptl] (tests): Add tst-setgetname.
30709         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30710         * sysdeps/unix/sysv/linux/sigaction.c: Just include
30711         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30712         [!LIBC_SIGACTION]: Remove aliases.
30713         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30714         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30715         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30716         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30717         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30718         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30719         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30720         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30721         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30722         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30723         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30724         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30725         __libc_allocate_rtsig_private.
30726         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30727         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30728         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30729         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30730         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30731         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30732         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30733         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30734         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30735         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30736         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30737         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30738         * nptl/internaltypes.h: ... here.
30739         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30740         * sysdeps/nptl/jmp-unwind.c: ... here.
30741         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30742         * nptl/libc-lowlevellock.c: ... here.
30743         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30744         * nptl/libc_multiple_threads.c: ... here.
30745         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30746         * nptl/libc_pthread_init.c: ... here.
30747         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30748         * nptl/lowlevelbarrier.sym: ... here.
30749         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30750         * nptl/lowlevelcond.sym: ... here.
30751         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30752         * nptl/lowlevellock.c: ... here.
30753         * nptl/lowlevellock.h: Moved ...
30754         * sysdeps/nptl/lowlevellock.h: ... here.
30755         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30756         * nptl/lowlevelrobustlock.c: ... here.
30757         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30758         * nptl/lowlevelrobustlock.sym: ... here.
30759         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30760         * nptl/lowlevelrwlock.sym: ... here.
30761         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30762         * nptl/pt-fork.c: ... here.
30763         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30764         * nptl/pthread-pi-defines.sym: ... here.
30765         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30766         * nptl/pthread_attr_getaffinity.c: ... here.
30767         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30768         * nptl/pthread_attr_setaffinity.c: ... here.
30769         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30770         * nptl/pthread_mutex_cond_lock.c: ... here.
30771         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30772         Update #include.
30773         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30774         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30775         * nptl/pthread_once.c: ... here, replacing old file.
30776         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30777         * nptl/pthread_yield.c: ... here.
30778         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30779         * nptl/register-atfork.c: ... here.
30780         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30781         * nptl/sem_post.c: ... here.
30782         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30783         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30784         * nptl/sem_timedwait.c: ... here.
30785         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30786         * nptl/sem_trywait.c: ... here.
30787         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30788         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30789         * nptl/sem_wait.c: ... here.
30790         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30791         * nptl/structsem.sym: ... here.
30792         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30793         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30794         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30795         * nptl/unregister-atfork.c: ... here.
30796         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30797         * nptl/unwindbuf.sym: ... here.
30798         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30799         * sysdeps/nptl/fork.c: ... here.
30800         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30801         * sysdeps/nptl/fork.h: ... here.
30802         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
30803         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
30804         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
30805         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
30806         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
30807         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
30808         * sysdeps/unix/sysv/linux/getpid.c: ... here.
30809         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
30810         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
30811         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
30812         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30813         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30814         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30815         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30816         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30817         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30818         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30819         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30820         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30821         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30822         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30823         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30824         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30825         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30826         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30827         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30828         * sysdeps/unix/sysv/linux/raise.c: ... here.
30829         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30830         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30831         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30832         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30833         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30834         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30835         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30836         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30837         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30838         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30839         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30840         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30841         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30842         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30843         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30845 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30847         * sysdeps/generic/memcopy.h: Add comment for
30848         MEMCPY_OK_FOR_FWD_MEMMOVE.
30850 2014-07-04  Will Newton  <will.newton@linaro.org>
30852         * string/memchr.c: Merge from gnulib.
30853         [_LIBC]: Remove conditionals.
30854         (__ptr_t): Remove define.
30855         (LONG_MAX_32_BITS): Likewise.
30856         (LONG_MAX): Likewise.
30857         (MEMCHR): Use ANSI prototype and optimize algorithm.
30859         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30861 2014-07-03  Roland McGrath  <roland@hack.frob.com>
30863         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30864         (lll_futex_timed_wait_bitset): Fix syscall argument count.
30866         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30867         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30868         in a bare environment with no <stdlib.h> installed.
30869         * sysdeps/nptl/configure: Regenerated.
30871         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30873         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30874         AC_EGREP_CPP for kernel header checks, so they only succeed if
30875         including <linux/version.h> actually works right.
30876         * sysdeps/unix/sysv/linux/configure: Regenerated.
30878         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30879         value so it's not diagnosed as unused.
30881         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30882         thing) with "ifeq ($(subdir),rt)".
30884 2014-07-03  Richard Henderson  <rth@redhat.com>
30886         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30887         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30888         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30890         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30891         (math_force_eval): New.
30893         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30894         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30896         * sysdeps/alpha/fpu/s_round.c: Remove file.
30897         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30899         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30900         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30901         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30902         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30903         (_dl_start, print_statistics): Likewise.
30904         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30905         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30907         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30908         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30909         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30910         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30911         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30912         (HP_SMALL_TIMING_AVAIL): Define.
30913         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30914         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30915         (HP_SMALL_TIMING_AVAIL): Define.
30916         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30917         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30919         * sysdeps/aarch64/hp-timing.h: New file.
30921         * sysdeps/generic/hp-timing.h: Remove dead comment.
30922         * sysdeps/generic/hp-timing-common.h: New file.
30923         * sysdeps/alpha/hp-timing.h: Include it.
30924         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30925         * sysdeps/i386/i686/hp-timing.h: Likewise.
30926         * sysdeps/ia64/hp-timing.h: Likewise.
30927         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30928         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30929         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30930         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30931         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30932         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30933         (hp_timing_t): New.
30935         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30936         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30937         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30938         * elf/rtld.c (_dl_start_final): Likewise.
30939         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30940         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30941         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30942         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30943         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30944         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30945         (HP_TIMING_DIFF_INIT): Remove.
30946         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30947         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30948         (HP_TIMING_DIFF_INIT): Remove.
30949         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30950         * sysdeps/i386/i686/hp-timing.c: Remove file.
30951         * sysdeps/x86_64/hp-timing.c: Remove file.
30952         * sysdeps/ia64/hp-timing.c: Remove file.
30953         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30954         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30955         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30956         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30958         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30959         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30960         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30961         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30962         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30963         (HP_TIMING_ACCUM): Remove.
30964         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30965         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30966         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30968         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30969         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30970         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30971         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30972         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30973         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30974         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30975         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30977         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
30979 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
30981         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
30983 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30985         Sync up with gettext.
30986         * intl/loadmsgcat.c: Define O_BINARY if not defined.
30987         [_MSC_VER]: Include malloc.h
30988         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
30989         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
30990         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
30991         TEMP_FAILURE_RETRY.  Cast return of alloca.
30992         [!_LIBC] Call gl_rwlock_init.
30993         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
30995 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30997         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
30998         before checking its value.
31000 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31002         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31004         * debug/memcpy_chk.c: Don't include pagecopy.h.
31005         * debug/mempcpy_chk.c: Likewise.
31006         * string/memcpy.c: Likewise.
31007         * string/memmove.c: Likewise.
31008         * sysdeps/powerpc/memmove.c: Likewise.
31009         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31010         definition of PAGE_COPY_FWD_MAYBE here...
31011         * sysdeps/generic/pagecopy.h: ... from here.
31012         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31014 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31015             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31017         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31019         optimizations.
31020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31021         (__libc_ifunc_impl_list): Likewise.
31022         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31023         multiarch strcat for PPC64.
31024         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31025         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31027 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31029         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31031 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31033         * intl/loadmsgcat.c: Remove declaration of
31034         get_sysdep_segment_value.
31035         (get_sysdep_segment_value): Use ISO C style.
31036         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31037         semicolon.  Fix typo and formatting in comment.
31038         (_nl_unload_domain): Use ISO C style.
31040         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31042 2014-07-02  Will Newton  <will.newton@linaro.org>
31044         * malloc/obstack.c: Merge from gnulib master.
31045         [HAVE_CONFIG_H]: Remove conditional code.
31046         [!_LIBC]: Include config.h.
31047         [!ELIDE_CODE]: Don't include inttypes.h, include
31048         stdint.h unconditionally.
31049         (print_and_abort): Mark as _Noreturn.
31050         (_obstack_allocated_p): Mark as __attribute_pure__.
31051         (obstack_free): Rename to __obstack_free.
31052         [!__attribute__]: Remove conditional code.
31053         * malloc/obstack.h: Merge from gnulib master.
31054         [__cplusplus]: Move conditional down.
31055         [!__attribute_pure__]: Define __attribute_pure__ here
31056         if it is not already defined.
31057         (_obstack_memory_used): Mark as __attribute_pure__.
31058         [!__obstack_free]: Define as obstack_free.
31059         [__GNUC__]: Remove check for ancient NeXT gcc.
31061 2014-07-02  Will Newton  <will.newton@linaro.org>
31062             Paul Eggert  <eggert@cs.ucla.edu>
31064         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31066 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31068         * resolv/gethnamaddr.c: Add comment warning that the file is
31069         not maintained.
31071 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31073         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31074         entries.
31076         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31077         entry for aio_cancel and aio_cancel64.
31078         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31079         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31080         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31081         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31082         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31083         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31084         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31085         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31086         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31087         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31088         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31089         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31090         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31092 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31094         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31095         * nptl/pthread_mutex_lock.c: Likewise.
31096         * nptl/pthread_mutex_timedlock.c: Likewise.
31097         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31099 2014-07-01  Richard henderson  <rth@redhat.com>
31101         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31102         (__isnan, __isnanl): Remove.
31103         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31105         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31107 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31109         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31111 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31113         * resolv/nss_dns/dns-host.c (getanswer_r)
31114         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31116 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31118         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31119         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31120         undefine.
31121         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31122         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31124 2014-07-01  Roland McGrath <roland@hack.frob.com>
31126         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31127         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31129         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31130         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31132         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31133         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31134         ... here.
31135         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31136         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31138         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31139         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31140         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31141         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31143         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31144         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31145         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31146         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31147         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31148         Moved ...
31149         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31150         ... here.
31151         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31152         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31153         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31154         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31155         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31156         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31157         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31158         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31159         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31160         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31161         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31162         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31163         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31164         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31165         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31166         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31167         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31168         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31169         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31170         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31171         ... here.
31172         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31173         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31174         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31175         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31176         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31177         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31178         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31179         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31181 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31183         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31184         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31185         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31186         Add sysdep.
31188 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31192 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31194         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31195         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31197         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31199         * sysdeps/arm/libm-test-ulps: Regenerated.
31201 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31202             Roland McGrath <roland@hack.frob.com>
31204         * test-skeleton.c (signal_handler): Kill the whole process group
31205         before killing the child individually.
31206         (main): Report any failure on `setpgid'.
31208 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31210         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31211         from _TLS_H to _ARM_NPTL_TLS_H.
31212         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31213         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31215 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31217         [BZ #16539]
31218         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31219         (__expm1l): Return argument unchanged when small but not
31220         subnormal.
31222         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31223         include macro name.
31224         (_FP_UNPACK_RAW_1_P): Likewise.
31225         (_FP_PACK_RAW_1): Likewise.
31226         (_FP_PACK_RAW_1_P): Likewise.
31227         (_FP_MUL_MEAT_1_wide): Likewise.
31228         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31229         (_FP_MUL_MEAT_1_hard): Likewise.
31230         (_FP_DIV_MEAT_1_imm): Likewise.
31231         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31232         (_FP_DIV_MEAT_1_udiv): Likewise.
31233         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31234         (_FP_UNPACK_RAW_2): Likewise.
31235         (_FP_UNPACK_RAW_2_P): Likewise.
31236         (_FP_PACK_RAW_2): Likewise.
31237         (_FP_PACK_RAW_2_P): Likewise.
31238         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31239         (_FP_MUL_MEAT_2_wide): Likewise.
31240         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31241         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31242         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31243         (_FP_MUL_MEAT_2_gmp): Likewise.
31244         (_FP_DIV_MEAT_2_udiv): Likewise.
31245         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31246         (_FP_FRAC_SRL_4): Likewise.
31247         (_FP_FRAC_SRST_4): Likewise.
31248         (_FP_FRAC_SRS_4): Likewise.
31249         (_FP_UNPACK_RAW_4): Likewise.
31250         (_FP_UNPACK_RAW_4_P): Likewise.
31251         (_FP_PACK_RAW_4): Likewise.
31252         (_FP_PACK_RAW_4_P): Likewise.
31253         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31254         (_FP_MUL_MEAT_4_wide): Likewise.
31255         (_FP_MUL_MEAT_4_gmp): Likewise.
31256         (umul_ppppmnnn): Likewise.
31257         (_FP_DIV_MEAT_4_udiv): Likewise.
31258         (__FP_FRAC_ADD_4): Likewise.
31259         (__FP_FRAC_SUB_3): Likewise.
31260         (__FP_FRAC_SUB_4): Likewise.
31261         (__FP_FRAC_DEC_3): Likewise.
31262         (__FP_FRAC_DEC_4): Likewise.
31263         (__FP_FRAC_ADDI_4): Likewise.
31264         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31265         (_FP_FRAC_SRL_8): Likewise.
31266         (_FP_FRAC_SRS_8): Likewise.
31268         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31269         include macro name.
31270         (FP_UNPACK_RAW_EP): Likewise.
31271         (FP_PACK_RAW_E): Likewise.
31272         (FP_PACK_RAW_EP): Likewise.
31273         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31274         (_FP_ISSIGNAN): Likewise.
31275         (_FP_ADD_INTERNAL): Likewise.
31276         (_FP_FMA): Likewise.
31277         (_FP_CMP): Likewise.
31278         (_FP_SQRT): Likewise.
31279         (_FP_TO_INT): Likewise.
31280         (_FP_FROM_INT): Likewise.
31281         (FP_EXTEND): Likewise.
31282         (_FP_DIV_MEAT_N_loop): Likewise.
31284 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31286         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31287         throughout.
31289 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31291         [BZ #17097]
31292         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31293         result with correct sign in case of exponents that produce
31294         overflow except for X very close to 1.
31296 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31298         mktime: merge #if/#ifdef usage from glibc
31299         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31300         as that works with both Glibc's and Gnulib's style.
31301         See thread starting at Siddhesh Poyarekar's bug report at:
31302         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31304 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31306         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31307         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31308         * sysdeps/tile/tilegx/memmove.c: Remove file.
31310 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31312         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31313         abi-name definition.
31314         * scripts/soversions.awk: Do not handle or generate ABI lines.
31315         * shlib-versions: Remove ABI entries.
31316         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31317         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31319 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31321         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31322         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31323         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31324         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31326         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31328         Moved ...
31329         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31330         ... here.
31331         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31332         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31333         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31334         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31335         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31336         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31338         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31339         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31340         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31341         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31342         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31343         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31344         Moved ...
31345         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31347         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31349         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31350         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31351         Moved ...
31352         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31354         Moved ...
31355         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31356         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31357         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31358         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31359         Moved ...
31360         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31361         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31362         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31363         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31364         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31365         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31366         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31368         Moved ...
31369         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31371         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31372         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31373         Moved ...
31374         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31375         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31376         Moved ...
31377         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31378         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31379         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31380         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31381         Moved ...
31382         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31383         ... here.
31384         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31385         Identical file removed.
31386         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31387         Moved ...
31388         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31390         Identical file removed.
31391         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31392         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31393         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31394         Moved ...
31395         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31396         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31397         Identical file removed.
31398         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31399         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31401         Identical file removed.
31402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31403         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31404         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31405         Identical file removed.
31406         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31407         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31408         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31409         Identical file removed.
31410         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31411         Moved ...
31412         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31413         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31414         Identical file removed.
31415         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31416         Moved ...
31417         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31418         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31419         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31420         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31421         Identical file removed.
31422         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31423         Moved ...
31424         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31425         ... here.
31426         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31427         Identical file removed.
31428         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31429         Moved ...
31430         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31431         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31432         Identical file removed.
31433         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31434         Moved ...
31435         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31436         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31437         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31438         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31439         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31440         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31441         Moved ...
31442         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31443         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31444         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31446         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31447         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31448         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31449         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31450         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31452 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31454         [BZ #17092]
31455         * nscd/nscd.c (monitor_child): Return exit status of child
31456         instead of return value from wait syscall.
31458 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31460         * configure.ac (libc_commonpagesize): Remove variable.
31461         (libc_relro_required): Likewise.
31462         (libc_cv_z_relro): Remove configure test.
31463         * configure: Regenerated.
31464         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31465         variable.
31466         (libc_relro_required): Likewise.
31467         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31468         (libc_relro_required): Likewise.
31469         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31470         (libc_relro_required): Likewise.
31471         * sysdeps/arm/preconfigure: Regenerated.
31472         * sysdeps/ia64/preconfigure: Remove file.
31473         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31474         variable.
31475         (libc_relro_required): Likewise.
31477         [BZ #16561]
31478         [BZ #16562]
31479         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31480         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31481         recompute overflowing results in original rounding mode.
31482         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31483         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31484         recompute overflowing results in original rounding mode.
31485         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31486         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31487         recompute overflowing results in original rounding mode.
31488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31489         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31490         recompute overflowing results in original rounding mode.
31491         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31492         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31493         recompute overflowing results in original rounding mode.
31494         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31495         (libc_feholdsetround_ctx): New macro.
31496         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31497         * sysdeps/i386/fpu/libm-test-ulps: Update.
31498         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31500 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31502         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31503         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31504         corresponding .cpsetup call.
31506 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31508         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31509         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31510         * sysdeps/arm/Makefile [$(subdir) = csu]
31511         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31512         (static-only-routines): Add aeabi_read_tp here.
31513         (shared-only-routines): Add libc-aeabi_read_tp here.
31514         (CFLAGS-libc-start.c): Add -fexceptions here.
31515         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31516         (sysdep_routines, static-only-routines, shared-only-routines):
31517         Don't add to these here.
31518         (CFLAGS-libc-start.c): Likewise.
31520         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31521         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31522         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31523         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31524         * sysdeps/arm/Makefile [$(subdir) = rt]
31525         (librt-sysdep_routines, librt-shared-only-routines):
31526         Append rt-aeabi_unwind_cpp_pr1 here.
31527         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31528         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31529         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31530         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31531         Append nptl-aeabi_unwind_cpp_pr1 here.
31532         (tests): Filter out tst-cleanupx4 here.
31533         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31534         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31535         Don't do those here.
31537 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31539         * scripts/list-sources.sh: Do not handle ports specially.
31541 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31543         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31544         * sysdeps/arm/feupdateenv.c: Likewise.
31546         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31548 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31550         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31551         trailing whitespace removed.
31552         * scripts/config.guess: Update to version 2014-03-23.
31553         * scripts/config.sub: Update to version 2014-05-01
31554         * scripts/install-sh: Update to version 2013-12-25.23.
31555         * scripts/move-if-change: Update from gnulib.
31557 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31559         * debug/memmove_chk.c: Remove pagecopy.h include.
31561 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31563         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31564         identical to gnulib mktime.
31566 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31568         * configure.ac: Do not test for machine being rs6000.  Do not test
31569         for powerpc*-*soft.
31570         * configure: Regenerated.
31572         [BZ #11505]
31573         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31574         test.
31575         * configure: Regenerated.
31576         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31577         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31578         Remove configure test.
31579         * sysdeps/arm/configure: Regenerated.
31580         * sysdeps/nptl/configure.ac: Do not check
31581         libc_cv_asm_cfi_directives.
31582         * sysdeps/nptl/configure: Regenerated.
31583         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31584         * sysdeps/x86_64/nptl/configure: Remove generated file.
31585         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31586         unconditional.
31587         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31589 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31591         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31592         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31593         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31594         it is defined.
31596         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31597         instead of whether it is defined.
31598         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31599         * sysdeps/hppa/dl-machine.h: Likewise.
31600         * sysdeps/ia64/dl-machine.h: Likewise.
31601         * sysdeps/m68k/dl-machine.h: Likewise.
31602         * sysdeps/microblaze/dl-machine.h: Likewise.
31603         * sysdeps/mips/dl-machine.: Likewise.
31604         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31605         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31606         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31607         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31608         * sysdeps/sh/dl-machine.h: Likewise.
31609         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31610         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31611         * sysdeps/tile/dl-machine.h: Likewise.
31612         * sysdeps/x86_64/dl-machine.h: Likewise.
31614         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31615         code.
31616         (verify_persistent_db): Likewise.
31618 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31621         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31623         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31625         Moved ...
31626         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31627         ... here.
31628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31629         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31631         Identical file removed.
31632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31633         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31635         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31637         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31639         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31641         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31643         Moved ...
31644         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31646         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31648         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31650         Moved ...
31651         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31653         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31655         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31657         Identical file removed.
31658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31659         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31661         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31663         Moved ...
31664         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31665         ... here.
31666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31667         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31669         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31671         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31673         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31675         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31677         Moved ...
31678         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31680         Moved ...
31681         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31683         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31685         Moved ...
31686         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31688         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31690         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31691         folded into ...
31692         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31693         * sysdeps/unix/sysv/linux/s390/Versions
31694         (libpthread: GLIBC_2.19): New version set.
31695         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31696         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31697         (librt: GLIBC_2.3.3): New version set.
31698         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31699         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31700         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31701         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31702         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31703         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31704         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31705         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31706         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31707         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31708         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31709         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31710         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31711         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31712         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31713         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31714         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31715         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31716         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31717         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31718         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31719         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31720         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31721         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31722         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31723         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31724         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31725         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31726         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31727         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31728         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31729         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31730         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31731         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31732         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31734         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31735         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31736         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31737         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31738         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31739         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31740         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31741         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31742         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31744         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31745         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31746         (__libc_vfork): Define the function under this name.
31747         [!NOT_IN_libc] (__vfork): Make this an alias.
31748         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31749         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31750         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31751         (__libc_vfork): Define the function under this name.
31752         [!NOT_IN_libc] (__vfork): Make this an alias.
31753         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31754         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31755         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31756         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31757         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31758         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31760         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31761         code that was previously under [RESET_PID].
31762         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31763         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31764         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31766         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31767         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31768         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31769         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31770         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31771         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31772         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31773         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31774         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31775         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31776         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31777         Moved ...
31778         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31779         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31780         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31781         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31782         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31783         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31784         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31785         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31786         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31787         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31788         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31789         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31790         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31791         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31792         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31793         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31794         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31795         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31796         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31797         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31798         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31799         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31800         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31801         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31802         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
31803         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
31804         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
31805         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
31806         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
31808 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31810         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
31811         that was previously under [RESET_PID].
31812         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31814 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31816         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31817         not undefine and redefine.
31818         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31819         [O_CLOEXEC]: Make code unconditional.
31820         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31821         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31822         <kernel-features.h>.
31823         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31824         conditional variable definition.
31825         (shm_open) [O_CLOEXEC]: Make code unconditional.
31826         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31827         code.
31829         * configure.ac (USE_REGPARMS): Don't define here.
31830         * configure: Regenerated.
31831         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31832         * sysdeps/i386/configure: Regenerated.
31834         * nptl/createthread.c: Don't include kernel-features.h.
31835         * nptl/pthread_cancel.c: Likewise.
31836         * nptl/pthread_condattr_setclock.c: Likewise.
31837         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31838         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31839         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31840         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31841         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31842         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31843         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31844         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31845         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31846         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31847         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31848         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31849         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31850         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31851         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31852         * nscd/gai.c: Likewise.
31853         * nss/nss_db/db-open.c: Likewise.
31854         * sysdeps/generic/ldsodefs.h: Likewise.
31855         * sysdeps/sh/nptl/tls.h: Likewise.
31856         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31857         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31858         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31859         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31860         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31861         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31862         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31863         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31864         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31865         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31866         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31867         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31868         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31869         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31870         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31871         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31872         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31873         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31874         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31875         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31876         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31877         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31878         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31879         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31880         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31881         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31882         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31883         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31884         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31885         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31886         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31887         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31888         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31889         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31890         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31891         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31892         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31893         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31894         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31895         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31896         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31897         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31898         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31899         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31900         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31901         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31902         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31903         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31904         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31905         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31906         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31907         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31908         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31909         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31910         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31911         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31912         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31913         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31936         * sysdeps/unix/sysv/linux/pread.c: Likewise.
31937         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31938         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31939         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31940         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31941         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31942         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31943         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31944         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31945         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31946         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31947         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31948         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31949         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31950         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31951         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31952         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31953         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31954         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31955         * sysdeps/unix/sysv/linux/system.c: Likewise.
31956         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31957         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31958         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31959         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31960         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31961         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31962         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31964         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31965         * configure: Regenerated.
31966         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31968         * configure.ac (base_machine): Do not set specially for particular
31969         machines here.
31970         * configure: Regenerated.
31971         * sysdeps/powerpc/preconfigure: Move machine and base_machine
31972         settings from configure.ac.
31973         * sysdeps/i386/preconfigure: New file.
31974         * sysdeps/s390/preconfigure: Likewise.
31975         * sysdeps/sh/preconfigure: Likewise.
31976         * sysdeps/sparc/preconfigure: Likewise.
31978 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31980         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
31981         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
31982         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
31983         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
31984         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
31985         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
31986         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
31987         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
31988         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
31989         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
31990         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
31991         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31992         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
31993         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
31994         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
31995         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31996         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
31997         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
31998         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32000         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32001         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32002         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32003         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32004         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32005         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32006         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32007         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32008         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32009         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32010         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32011         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32012         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32013         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32014         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32015         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32016         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32017         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32018         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32019         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32020         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32021         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32022         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32023         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32024         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32025         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32026         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32027         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32028         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32029         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32030         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32031         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32032         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32033         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32034         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32035         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32036         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32037         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32040         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32042         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32044         Moved ...
32045         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32046         ... here.
32047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32048         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32050         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32052         Moved ...
32053         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32055         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32057         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32059         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32061         Moved ...
32062         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32064         Moved ...
32065         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32067         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32069         Moved ...
32070         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32072         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32074         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32076         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32078         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32080         Moved ...
32081         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32082         ... here.
32083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32084         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32086         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32088         Moved ...
32089         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32091         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32093         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32095         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32097         Moved ...
32098         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32100         Moved ...
32101         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32103         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32105         Moved ...
32106         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32108         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32110         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32112 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32114         * timezone/checktab.awk: Update from tzcode 2014e.
32115         * timezone/private.h: Likewise.
32116         * timezone/tzfile.h: Likewise.
32117         * timezone/zdump.c: Likewise.
32118         * timezone/zic.c: Likewise.
32120         * sysdeps/unix/sysv/linux/kernel-features.h
32121         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32122         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32123         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32124         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32125         Remove conditional code.
32127 2014-06-25  Will Newton  <will.newton@linaro.org>
32129         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32130         (_dl_arm_cap_flags): Add HWCAP2 values.
32131         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32132         (_DL_HWCAP_COUNT): Increase to 37.
32133         (_DL_HWCAP_LAST): New define.
32134         (_DL_HWCAP2_LAST): New define.
32135         (_dl_procinfo): Add support for printing
32136         AT_HWCAP2 entries.
32137         (_dl_string_hwcap): Use _dl_hwcap_string.
32139 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32143 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32145         * README: Do not mention ports directory.
32147         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32148         Remove macro.
32149         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32150         <kernel-features.h>.
32151         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32152         conditional variable definition.
32153         (__futimes): Update comment.
32154         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32155         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32157         [BZ #16560]
32158         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32159         arguments close to 0.
32160         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32161         Likewise.
32162         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32163         Likewise.
32164         * math/auto-libm-test-in: Add more tests of exp10.
32165         * math/auto-libm-test-out: Regenerated.
32166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32168         * sysdeps/unix/sysv/linux/kernel-features.h
32169         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32170         * sysdeps/unix/sysv/linux/readv.c: Do not include
32171         <kernel-features.h>.
32172         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32173         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32174         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32175         unconditional.
32176         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32177         conditional code.
32178         * sysdeps/unix/sysv/linux/writev.c: Do not include
32179         <kernel-features.h>.
32180         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32181         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32182         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32183         unconditional.
32184         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32185         conditional code.
32187 2014-06-25  Will Newton  <will.newton@linaro.org>
32189         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32190         comment changes throughout the file.  Remove checks
32191         for HAVE_*_H definitions that are not required.
32192         (__gen_tempname): Call abort if an unknown kind value is
32193         passed.
32195 2014-06-25  Andreas Schwab  <schwab@suse.de>
32197         [BZ #17086]
32198         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32199         scalbln, scalblnf, scalblnl in libc.
32201 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32203         [BZ #17086]
32204         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32205         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32206         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32208 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32210         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32211         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32212         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32213         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32214         Update #include.
32215         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32216         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32217         Update #include.
32218         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32219         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32220         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32221         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32222         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32223         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32224         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32225         * sysdeps/x86/bits/semaphore.h: ... here.
32226         * sysdeps/x86/nptl/elide.h: Moved ...
32227         * sysdeps/x86/elide.h: ... here.
32228         * sysdeps/x86_64/nptl/Implies: File removed.
32229         * sysdeps/i386/nptl/Implies: File removed.
32231 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32233         [BZ #16539]
32234         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32235         return the argument for normal arguments with exponent below -64.
32236         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32237         Likewise.
32238         * math/auto-libm-test-in: Add another test of expm1.
32239         * math/auto-libm-test-out: Regenerated.
32241         [BZ #16287]
32242         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32243         calling __erfcl for arguments at least 16.
32244         * math/auto-libm-test-in: Add more tests of erf.
32245         * math/auto-libm-test-out: Regenerated.
32247         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32248         individual architectures.
32249         * sysdeps/unix/sysv/linux/configure: Regenerated.
32250         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32251         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32252         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32253         (ldd_rewrite_script): Define variable.
32254         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32256         file.
32257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32258         generated file.
32259         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32260         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32261         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32262         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32263         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32264         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32265         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32266         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32268 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32270         [BZ #17084]
32271         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32272         Rename member __data.d to __data.__elision_data.
32274 2014-06-24  Wilco  <wdijkstr@arm.com>
32276         * NEWS: Add 16918 to fixed bug list.
32278 2014-06-24  Wilco  <wdijkstr@arm.com>
32280         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32282 2014-06-24  Wilco  <wdijkstr@arm.com>
32284         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32285         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32286         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32287         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32288         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32289         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32290         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32291         Use _FPU_MASK_RM.
32293 2014-06-24  Wilco  <wdijkstr@arm.com>
32295         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32297 2014-06-24  Wilco  <wdijkstr@arm.com>
32299         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32300         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32301         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32302         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32304 2014-06-24  Wilco  <wdijkstr@arm.com>
32306         [BZ #16918]
32307         * sysdeps/arm/feupdateenv.c (feupdateenv):
32308         Rewrite to reduce FPSCR accesses and fix return value.
32310 2014-06-24  Wilco  <wdijkstr@arm.com>
32312         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32313         Optimize to avoid unnecessary FPSCR writes.
32314         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32315         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32316         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32317         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32319 2014-06-24  Wilco  <wdijkstr@arm.com>
32321         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32322         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32323         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32324         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32325         Call libc_fetestexcept_vfp.
32326         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32327         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32328         __SOFTFP__ ifdef so that they can be built for softfp.
32330 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32332         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32333         argument type signed char.
32335         * Makerules (check-abi): Dump diff of symlist if the test
32336         fails.
32338 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32340         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32341         using abort.
32343         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32344         Remove unused variable ST.
32346 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32348         [BZ #16354]
32349         [BZ #17061]
32350         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32351         small arguments before calling __expm1.
32352         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32353         small arguments before calling __expm1f.
32354         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32355         small arguments before calling __expm1l.
32356         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32357         Likewise.
32358         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32359         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32360         spurious underflow for some cosh tests.
32361         * math/auto-libm-test-out: Regenerated.
32362         * sysdeps/i386/fpu/libm-test-ulps: Update.
32364         [BZ #17050]
32365         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32366         (__ieee754_y1): Set errno if return value overflows.
32367         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32368         (__ieee754_y1f): Set errno if return value overflows.
32369         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32370         (__ieee754_y1l): Set errno if return value overflows.
32371         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32372         (__ieee754_y1l): Set errno if return value overflows.
32373         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32374         * math/auto-libm-test-out: Regenerated.
32376         * math/gen-auto-libm-tests.c: Document use of
32377         ignore-zero-inf-sign.
32378         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32379         (input_flags): Add ignore-zero-inf-sign.
32380         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32381         * math/gen-libm-test.pl (generate_testfile): Handle
32382         ignore-zero-inf-sign.
32383         * math/auto-libm-test-in: Mark some cpow tests with
32384         ignore-zero-inf-sign and some with xfail-rounding.
32385         * math/auto-libm-test-out: Regenerated.
32386         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32387         * sysdeps/i386/fpu/libm-test-ulps: Update.
32388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32390         [BZ #16315]
32391         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32392         overflowing or underflowing operations take place with sign of
32393         result.
32394         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32395         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32396         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32397         (__ieee754_pow): Recompute overflowing and underflowing results in
32398         original rounding mode.
32399         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32400         (__powl_helper): Allow negative argument X and scale negated value
32401         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32402         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32403         overflowing or underflowing operations take place with sign of
32404         result.
32405         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32406         Include <math.h>.
32407         * math/auto-libm-test-in: Add more tests of pow.
32408         * math/auto-libm-test-out: Regenerated.
32409         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32410         (pow_tonearest_test_data): Remove.
32411         (pow_test_tonearest): Likewise.
32412         (pow_towardzero_test_data): Likewise.
32413         (pow_test_towardzero): Likewise.
32414         (pow_downward_test_data): Likewise.
32415         (pow_test_downward): Likewise.
32416         (pow_upward_test_data): Likewise.
32417         (pow_test_upward): Likewise.
32418         (main): Don't call removed functions.
32419         * sysdeps/i386/fpu/libm-test-ulps: Update.
32420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32422 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32425         Moved ...
32426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32428         Moved ...
32429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32431         Moved ...
32432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32434         Moved ...
32435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32437         File removed.
32438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32439         File removed.
32440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32441         File removed.
32442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32443         File removed.
32444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32445         File removed.
32446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32447         File removed.
32448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32449         File removed.
32450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32451         File removed.
32452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32453         File removed.
32454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32455         File removed.
32456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32457         File removed.
32458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32459         File removed.
32460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32461         Moved ...
32462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32464         Moved ...
32465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32466         ... here.
32467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32468         Moved ...
32469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32471         Moved ...
32472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32474         Moved ...
32475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32477         Moved ...
32478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32480         Moved ...
32481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32483         Moved ...
32484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32486         Moved ...
32487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32490         ... here.
32491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32492         Moved ...
32493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32495         Moved ...
32496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32497         ... here.
32498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32499         Moved ...
32500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32501         ... here.
32502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32503         Moved ...
32504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32505         ... here.
32506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32507         Moved ...
32508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32510         Moved ...
32511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32515         Moved ...
32516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32517         ... here.
32518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32519         Moved ...
32520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32521         ... here.
32522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32523         Moved ...
32524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32526         Moved ...
32527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32529         Moved ...
32530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32532         Moved ...
32533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32535         Moved ...
32536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32537         ... here.
32538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32539         Moved ...
32540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32542         Moved ...
32543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32545         Moved ...
32546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32548         Moved ...
32549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32553         Moved ...
32554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32556         Moved ...
32557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32559         Moved ...
32560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32561         ... here.
32562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32563         Moved ...
32564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32565         ... here.
32566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32567         Moved ...
32568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32569         ... here.
32570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32571         Moved ...
32572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32574         Moved ...
32575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32577         Moved ...
32578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32580         Moved ...
32581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32582         ... here.
32583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32584         Moved ...
32585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32586         ... here.
32587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32588         Moved ...
32589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32590         ... here.
32591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32592         Moved ...
32593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32595         Moved ...
32596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32598 2014-06-23  Will Newton  <will.newton@linaro.org>
32599             Wilco  <wdijkstr@arm.com>
32601         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32602         implementation.  Include get-rounding-mode.h.
32603         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32604         [!libc_feholdsetround_noex_ctx]: Define
32605         libc_feholdsetround_noex_ctx.
32606         [!libc_feholdsetround_noexf_ctx]: Define
32607         libc_feholdsetround_noexf_ctx.
32608         [!libc_feholdsetround_noexl_ctx]: Define
32609         libc_feholdsetround_noexl_ctx.
32610         (libc_feholdsetround_ctx): New function.
32611         (libc_feresetround_ctx): New function.
32612         (libc_feholdsetround_noex_ctx): New function.
32613         (libc_feresetround_noex_ctx): New function.
32615 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32617         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32618         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32619         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32620         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32621         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32622         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32624         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32625         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32626         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32627         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32628         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32629         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32630         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32631         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32632         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32633         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32634         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32635         Moved ...
32636         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32637         ... here.
32638         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32639         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32640         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32641         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32642         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32643         Moved ...
32644         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32645         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32646         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32647         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32648         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32649         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32650         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32651         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32652         Moved ...
32653         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32654         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32655         Moved ...
32656         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32657         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32658         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32660         Moved ...
32661         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32662         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32663         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32664         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32665         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32666         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32667         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32668         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32669         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32670         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32671         Moved ...
32672         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32673         ... here.
32674         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32675         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32676         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32677         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32678         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32679         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32680         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32681         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32682         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32683         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32684         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32685         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32686         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32687         Moved ...
32688         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32689         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32690         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32691         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32692         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32693         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32694         Moved ...
32695         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32696         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32697         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32698         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32699         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32701         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32702         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32703         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32704         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32705         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32706         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32707         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32708         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32709         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32710         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32711         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32712         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32713         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32714         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32715         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32716         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32717         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32718         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32719         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32720         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32721         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32722         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32723         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32724         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32725         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32726         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32727         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32728         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32730 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32732         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32733         (FALLOC_FL_COLLAPSE_RANGE): New macro.
32734         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32735         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32736         (IPV6_PMTUDISC_INTERFACE): Likewise.
32737         (IPV6_PMTUDISC_OMIT): Likewise.
32739 2014-06-23  Andreas Schwab  <schwab@suse.de>
32741         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32742         Remove unused errout label.
32744 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32746         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32747         macro: hardware supports Vector Crypto instructions.
32749 2014-06-23  Will Newton  <will.newton@linaro.org>
32751         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32752         rather than __builtin_expect.
32754         * elf/dl-lookup.c (undefined_msg): Remove variable.
32755         (_dl_lookup_symbol_x): Replace undefined_msg with string
32756         literal.
32758         * elf/dl-lookup.c (do_lookup_unique): New function.
32759         (do_lookup_x): Move STB_GNU_UNIQUE handling code
32760         to a separate function.
32762 2014-06-23  Andreas Schwab  <schwab@suse.de>
32764         [BZ #17079]
32765         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32766         before reading the next line.
32768 2014-06-23  Will Newton  <will.newton@linaro.org>
32770         * test-skeleton.c (signal_handler): Use printf and %m
32771         rather than perror.  Use printf rather than fprintf to
32772         stderr.  Use puts rather than fputs to stderr.
32773         (main): Likewise.
32775 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
32777         * nscd/nscd.c (thread_info_t): Remove typedef.
32778         (thread_info): Remove variable.
32780 2014-06-21  Allan McRae  <allan@archlinux.org>
32782         * NEWS: Mention CVE-2014-4043.
32784 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32786         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32787         * nptl/smp.h: ... here.
32789         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32791         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32792         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32793         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32794         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32796         * nptl/allocatestack.c: Include <stack-aliasing.h>.
32797         * nptl/stack-aliasing.h: New file.
32798         * sysdeps/i386/i686/stack-aliasing.h: New file.
32799         * sysdeps/i386/i686/nptl/Makefile: File removed.
32800         * sysdeps/x86_64/stack-aliasing.h: New file.
32801         * sysdeps/x86_64/nptl/Makefile
32802         (CFLAGS-pthread_create.c): Variable removed.
32804         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
32805         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32806         old file.
32807         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
32808         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
32809         old file.
32811 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
32813         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32814         (__ASSUME_SIGFRAME_V2): Remove macro.
32815         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32816         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32817         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32818         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32819         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32820         Declare as function.  Remove conditional macro definitions.
32821         (__default_rt_sa_restorer): Likewise.
32822         (__default_sa_restorer_v1): Remove declaration.
32823         (__default_sa_restorer_v2): Likewise.
32824         (__default_rt_sa_restorer_v1): Likewise.
32825         (__default_rt_sa_restorer_v2): Likewise.
32826         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32827         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32828         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32830 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32832         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32833         (libpthread-routines): Add sysdep.
32834         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32835         * sysdeps/unix/sysv/linux/sparc/Versions
32836         (libpthread: GLIBC_2.3.3): New version set.
32837         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32838         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32839         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32840         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32841         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
32842         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32843         Moved ...
32844         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32845         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32846         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32847         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32848         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32849         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32850         * sysdeps/sparc/nptl/sem_init.c: ... here.
32851         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32852         * sysdeps/sparc/nptl/sem_post.c: ... here.
32853         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32854         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32855         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32856         * sysdeps/sparc/nptl/sem_wait.c: ... here.
32857         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32858         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32859         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32860         (libpthread-routines): Add cpu_relax.
32861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32862         File removed.
32863         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32864         (librt: GLIBC_2.3.3): New version set.
32865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32866         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32867         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32868         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32871         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32873         Moved ...
32874         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32876         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32878         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32880         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32882         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32884         Moved ...
32885         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32886         Update #include.
32887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32888         Moved ...
32889         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32890         Update #include.
32891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32892         Moved ...
32893         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32894         Update #include.
32895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32896         Moved ...
32897         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32898         Update #include.
32899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32900         Moved ...
32901         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32902         Update #include.
32903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32904         Moved ...
32905         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32906         Update #include.
32907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32908         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32912         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32914         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32916         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32918         Moved ...
32919         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32921         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32923         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32925 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32927         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32928         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32929         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32930         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32931         * nscd/nscd.c: Likewise.
32932         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32933         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32934         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32935         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32937         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32938         <kernel-features.h>.
32939         (init_mq_netlink): Remove conditional have_sock_cloexec
32940         definitions.  Remove code conditional on have_sock_cloexec < 0.
32941         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32942         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32943         * sysdeps/unix/sysv/linux/opensock.c: Do not include
32944         <kernel-features.h>.
32945         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32946         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32948 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32950         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32951         Add tests for memset_chk and memset.
32953         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32954         with AVX2_Usable.
32956 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32958         [BZ #16046]
32959         * elf/tst-dl-iter-static.c: New file.
32960         * elf/Makefile (tests-static): Add tst-dl-iter-static.
32962         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32963         error.
32965 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32967         * sysdeps/unix/sysv/linux/kernel-features.h
32968         (__ASSUME_F_GETOWN_EX): Remove macro.
32969         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32970         <kernel-features.h>.
32971         (miss_F_GETOWN_EX): Remove variable or macro.
32972         (do_fcntl): Do not check miss_F_GETOWN_EX.
32973         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32975         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
32976         Remove macro.
32977         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
32978         [!__ASSUME_AT_RANDOM]: Remove conditional code.
32979         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
32981         * sysdeps/unix/sysv/linux/kernel-features.h
32982         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
32983         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
32984         [ADJ_OFFSET_SS_READ]: Make code unconditional.
32985         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
32987 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32989         [BZ #17075]
32990         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
32991         Fix calculation of the symbol's value.
32992         * sysdeps/arm/tst-armtlsdescloc.c: New file.
32993         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
32994         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
32995         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
32996         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
32997         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
32998         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
32999         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33000         (modules-names): Add `tst-armtlsdescmod',
33001         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33002         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33003         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33004         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33005         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33006         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33007         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33008         ($(objpfx)tst-armtlsdescloc): New dependency.
33009         ($(objpfx)tst-armtlsdescextnow): Likewise.
33010         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33011         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33012         TLS scheme support.
33013         * sysdeps/arm/configure: Regenerate.
33015 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33017         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33018         (__atfct_seterrno_2): Likewise.
33019         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33020         <kernel-features.h>.
33021         (__ASSUME_ATFCTS): Do not undefine and redefine.
33022         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33023         (__have_atfcts): Remove conditional definition.
33024         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33025         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33026         unreachable if [__ASSUME_ATFCTS].
33027         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33028         not undefine and redefine.
33029         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33030         <kernel-features.h>.
33031         (faccessat) [__NR_faccessat]: Make code unconditional.
33032         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33033         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33034         <kernel-features.h>.
33035         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33036         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33037         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33038         <kernel-features.h>.
33039         (fchownat) [__NR_fchownat]: Make code unconditional.
33040         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33041         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33042         <kernel-features.h>.
33043         (futimesat) [__NR_futimesat]: Make code unconditional.
33044         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33045         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33046         <kernel-features.h>.
33047         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33048         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33049         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33050         <kernel-features.h>.
33051         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33052         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33053         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33054         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33055         <kernel-features.h>.
33056         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33057         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33058         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33059         <kernel-features.h>.
33060         (linkat) [__NR_linkat]: Make code unconditional.
33061         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33062         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33063         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33064         <kernel-features.h>.
33065         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33066         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33067         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33068         <kernel-features.h>.
33069         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33070         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33071         * sysdeps/unix/sysv/linux/openat.c: Do not include
33072         <kernel-features.h>.
33073         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33074         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33075         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33076         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33077         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33078         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33079         <kernel-features.h>.
33080         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33081         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33082         result of INLINE_SYSCALL directly, not via int variable.
33083         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33084         <kernel-features.h>.
33085         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33086         (renameat) [__NR_renameat]: Make code unconditional.
33087         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33088         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33089         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33090         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33091         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33092         (__ASSUME_ATFCTS): Do not undefine and redefine.
33093         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33094         <kernel-features.h>.
33095         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33096         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33097         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33098         <kernel-features.h>.
33099         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33100         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33101         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33102         (__ASSUME_ATFCTS): Do not undefine and redefine.
33103         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33104         <kernel-features.h>.
33105         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33106         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33107         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33108         <kernel-features.h>.
33109         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33110         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33112 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33114         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33116 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33118         [BZ #17069]
33119         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33120         constructed tree before returning error.
33121         * posix/bug-regexp36.c: Expand test case.
33123 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33125         [BZ #6803]
33126         * math/libm-test.inc (scalbln_test_date):
33127         Add errno expectations.
33128         * math/w_scalblnf.c: New File.
33129         Add wrapper which checks for setting errno to ERANGE.
33130         Add weak_alias for corresponding scalbln function.
33131         * math/w_scalbln.c: Likewise.
33132         * math/w_scalblnl.c: Likewise.
33133         * math/Makefile (libm-calls): Add w_scalbln.
33134         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33135         Remove weak_alias for corresponding scalbln function.
33136         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33137         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33138         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33139         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33140         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33141         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33142         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33143         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33144         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33145         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33146         Remove long_double_symbol for scalblnl function in libm, libc.
33147         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33148         Add wrapper which checks for setting errno to ERANGE.
33149         Add long_double_symbol for scalblnl function in libm, libc.
33150         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33151         Remove long_double_symbol for scalblnl in libm.
33152         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33153         Add wrapper which checks for setting errno to ERANGE.
33154         Add long_double_symbol for scalblnl function in libm.
33155         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33156         Do not use wrapper because of own implementation.
33158 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33160         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33161         3 bytes for __pad1 for x32.
33162         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33164 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33165             H.J. Lu  <hongjiu.lu@intel.com>
33167         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33168         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33169         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33170         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33171         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33173 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33175         [BZ #17069]
33176         * posix/regcomp.c (parse_expression): Deallocate partially
33177         constructed tree before returning error.
33178         * posix/Makefile.c (tests): Add bug-regex36.
33179         (generated): Add bug-regex36.mtrace.
33180         (tests-special): Add $(objpfx)bug-regex36-mem.out
33181         (bug-regex36-ENV): New variable.
33182         ($(objpfx)bug-regex36-mem.out): New rule.
33183         * posix/bug-regex36.c: New file.
33185 2014-06-19  Will Newton  <will.newton@linaro.org>
33187         * malloc/malloc.c (systrim): If extra is zero then return
33188         early.
33190 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33192         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33194 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33196         * sysdeps/aarch64/strchr.S: New file.
33198 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33200         [BZ #17022]
33201         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33202         from arguments -2 or below.
33203         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33204         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33206 2014-06-18  Andreas Schwab  <schwab@suse.de>
33208         [BZ #17062]
33209         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33210         of a bracket expr not to run off the end of the string.
33211         * posix/Makefile (tests): Add tst-fnmatch3.
33212         * posix/tst-fnmatch3.c: New file.
33214 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33216         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33217         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33218         [$(cross-compiling) = no]: Likewise.
33219         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33220         [$(cross-compiling) = no]: Likewise.
33222 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33224         [BZ #17031]
33225         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33226         double, adjusted for any remainder from the high double.
33227         * math/libm-test.inc (nearbyint): Add tests.
33228         (rint): Likewise.
33230 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33232         * nptl/sysdeps/powerpc/Makefile: Moved ...
33233         * sysdeps/powerpc/nptl/Makefile: ... here.
33234         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33235         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33236         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33237         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33238         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33239         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33240         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33241         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33242         * nptl/sysdeps/powerpc/tls.h: Moved ...
33243         * sysdeps/powerpc/nptl/tls.h: ... here.
33245 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33247         [BZ #16681]
33248         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33249         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33250         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33251         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33252         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33253         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33254         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33255         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33256         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33258 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33260         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33262 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33264         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33265         defined operator.
33267         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33268         $TIMEOUTFACTOR.
33270 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33272         [BZ #17058]
33273         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33274         non-executed part of the test.
33276 2014-06-16  Andreas Schwab  <schwab@suse.de>
33278         * string/bits/string2.h (strdup, strndup): Update feature guard.
33280 2014-06-14  David S. Miller  <davem@davemloft.net>
33282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33284 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33286         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33287         that was previously under [RESET_PID].
33288         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33290         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33291         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33292         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33293         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33294         (__libc_vfork): New strong alias.
33295         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33297 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33299         * sysdeps/generic/elide.h: New file.
33301 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33303         * Makefile (installed-headers): Adjust path of pthread.h header.
33305 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33307         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33308         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33309         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33310         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33312         * nptl/sysdeps/s390/Makefile: Moved ...
33313         * sysdeps/s390/nptl/Makefile: ... here.
33314         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33315         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33316         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33317         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33318         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33319         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33320         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33321         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33322         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33323         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33324         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33325         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33326         * nptl/sysdeps/s390/tls.h: Moved ...
33327         * sysdeps/s390/nptl/tls.h: ... here.
33329         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33330         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33332 2014-06-13  David S. Miller  <davem@davemloft.net>
33334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33337         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33341         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33342         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33343         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33344         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33345         Remove RESET_PID cpp guards.
33346         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33347         Remove RESET_PID cpp guards.
33348         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33350 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33352         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33353         __sp to uintptr_t.
33355 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33357         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33358         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33359         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33360         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33361         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33362         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33363         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33364         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33365         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33366         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33367         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33368         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33369         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33370         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33371         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33372         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33373         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33374         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33375         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33376         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33378         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33379         (pthread_rwlock_rdlock): Add elision.
33380         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33381         (pthread_rwlock_wrlock): Add elision.
33382         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33383         (pthread_rwlock_trywrlock): Add elision.
33384         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33385         (pthread_rwlock_tryrdlock): Add elision.
33386         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33387         (pthread_rwlock_tryrdlock): Add elision unlock.
33388         * nptl/sysdeps/pthread/pthread.h:
33389         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33390         (PTHREAD_RWLOCK_INITIALIZER,
33391         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33392         Handle new elision field.
33393         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33394         * sysdeps/arm/nptl/bits/pthreadtypes.h
33395         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33396         * sysdeps/sh/nptl/bits/pthreadtypes.h
33397         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33398         * sysdeps/tile/nptl/bits/pthreadtypes.h
33399         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33400         * sysdeps/a/nptl/bits/pthreadtypes.h
33401         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33402         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33403         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33404         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33406         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33407         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33408         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33409         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33410         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33411         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33412         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33413         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33414         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33415         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33416         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33417         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33418         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33419         (elision_init): Set try_xbegin to zero when no RTM.
33420         * sysdeps/x86/nptl/bits/pthreadtypes.h
33421         (pthread_rwlock_t): Change __pad1 to __rwelision.
33422         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33424 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33426         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33427         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33428         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33429         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33431 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33433         [BZ #16996]
33434         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33435         that the cached result has been set before returning it.
33437 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33439         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33440         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33441         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33442         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33443         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33444         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33446         * nptl/sysdeps/sparc/Makefile: Moved ...
33447         * sysdeps/sparc/nptl/Makefile: ... here.
33448         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33449         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33450         * nptl/sysdeps/sparc/tls.h: Moved ...
33451         * sysdeps/sparc/nptl/tls.h: ... here.
33452         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33453         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33454         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33455         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33456         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33457         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33458         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33459         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33460         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33461         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33462         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33463         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33464         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33465         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33466         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33467         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33468         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33469         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33470         Update #include.
33471         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33472         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33473         Update #include.
33474         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33475         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33476         Update #include.
33477         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33478         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33479         Update #include.
33481         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33483         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33484         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33486         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33487         (struct list_links): Type removed.
33488         (struct thread_node, struct timer_node): Replace struct list_links
33489         with struct list_head.
33490         (list_unlink_ip): Likewise.
33491         * sysdeps/pthread/timer_routines.c
33492         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33493         (list_append, list_insbefore): Likewise.
33494         (list_init): Function removed.
33495         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33496         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33497         * sysdeps/pthread/Makefile: ... here, new file.
33499         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33500         * sysdeps/nptl/Implies: ... here.
33501         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33502         * nptl/sysdeps/pthread/list.h: Moved ...
33503         * include/list.h: ... here.
33504         * nptl/sysdeps/pthread/createthread.c: Moved ...
33505         * nptl/createthread.c: ... here.
33506         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33507         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33508         * nptl/pt-longjmp.c: ... here.
33509         * nptl/sysdeps/pthread/Makefile: Moved ...
33510         * sysdeps/nptl/Makefile: ... here.
33511         * nptl/sysdeps/pthread/Subdirs: Moved ...
33512         * sysdeps/nptl/Subdirs: ... here.
33513         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33514         * sysdeps/nptl/aio_misc.h: ... here.
33515         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33516         * sysdeps/nptl/bits/libc-lock.h: ... here.
33517         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33518         * sysdeps/nptl/bits/libc-lockP.h: ... here.
33519         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33520         * sysdeps/nptl/bits/stdio-lock.h: ... here.
33521         * nptl/sysdeps/pthread/configure: Moved ...
33522         * sysdeps/nptl/configure: ... here.
33523         * nptl/sysdeps/pthread/configure.ac: Moved ...
33524         * sysdeps/nptl/configure.ac: ... here.
33525         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33526         * sysdeps/nptl/gai_misc.h: ... here.
33527         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33528         * sysdeps/nptl/librt-cancellation.c: ... here.
33529         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33530         * sysdeps/nptl/malloc-machine.h: ... here.
33531         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33532         * sysdeps/nptl/pthread-functions.h: ... here.
33533         * nptl/sysdeps/pthread/pthread.h: Moved ...
33534         * sysdeps/nptl/pthread.h: ... here.
33535         * nptl/sysdeps/pthread/setxid.h: Moved ...
33536         * sysdeps/nptl/setxid.h: ... here.
33537         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33538         * sysdeps/nptl/sigfillset.c: ... here.
33539         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33540         * sysdeps/nptl/tcb-offsets.h: ... here.
33541         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33542         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33543         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33544         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33545         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33546         * sysdeps/pthread/allocalim.h: ... here.
33547         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33548         * sysdeps/pthread/bits/sigthread.h: ... here.
33549         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33550         * sysdeps/pthread/flockfile.c: ... here.
33551         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33552         * sysdeps/pthread/ftrylockfile.c: ... here.
33553         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33554         * sysdeps/pthread/funlockfile.c: ... here.
33555         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33556         * sysdeps/pthread/posix-timer.h: ... here.
33557         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33558         * sysdeps/pthread/timer_create.c: ... here.
33559         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33560         * sysdeps/pthread/timer_delete.c: ... here.
33561         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33562         * sysdeps/pthread/timer_getoverr.c: ... here.
33563         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33564         * sysdeps/pthread/timer_gettime.c: ... here.
33565         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33566         * sysdeps/pthread/timer_routines.c: ... here.
33567         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33568         * sysdeps/pthread/timer_settime.c: ... here.
33569         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33570         * sysdeps/pthread/tst-timer.c: ... here.
33571         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33572         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33574         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33575         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33577         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33578         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33579         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33580         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33581         Update #include target.
33582         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33583         * sysdeps/i386/i686/nptl/Makefile: ... here.
33584         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33585         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33586         Update #include target.
33587         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33588         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33589         * nptl/sysdeps/i386/Makefile: Moved ...
33590         * sysdeps/i386/nptl/Makefile: ... here.
33591         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33592         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33593         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33594         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33595         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33596         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33597         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33598         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33599         * sysdeps/i386/nptl/pthreaddef.h: ... here.
33600         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33601         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33602         * nptl/sysdeps/i386/tls.h: Moved ...
33603         * sysdeps/i386/nptl/tls.h: ... here.
33605         * sysdeps/sh/Makefile [$(subdir) = csu]
33606         (gen-as-const-headers): Add tcb-offsets.sym.
33607         * nptl/sysdeps/sh/Makefile: File removed.
33608         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33609         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33610         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33611         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33612         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33613         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33614         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33615         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33616         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33617         * sysdeps/sh/nptl/pthreaddef.h: ... here.
33618         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33619         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33620         * nptl/sysdeps/sh/tls.h: Moved ...
33621         * sysdeps/sh/nptl/tls.h: ... here.
33622         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33623         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33624         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33625         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33626         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33627         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33628         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33629         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33630         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33631         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33632         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33633         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33634         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33635         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33636         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33637         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33638         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33639         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33640         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33641         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33642         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33643         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33644         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33645         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33646         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33647         Moved ...
33648         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33649         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33650         Moved ...
33651         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33652         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33653         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33654         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33655         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33656         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33657         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33658         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33659         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33660         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33661         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33662         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33663         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33664         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33665         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33666         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33667         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33668         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33669         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33671 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33673         * posix/spawn_faction_addopen.c: Include string.h.
33675 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33677         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33678         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33679         * nptl/sysdeps/x86_64/Makefile: Moved ...
33680         * sysdeps/x86_64/nptl/Makefile: ... here.
33681         * nptl/sysdeps/x86_64/configure: Moved ...
33682         * sysdeps/x86_64/nptl/configure: ... here.
33683         * nptl/sysdeps/x86_64/configure.ac: Moved ...
33684         * sysdeps/x86_64/nptl/configure.ac: ... here.
33685         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33686         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33687         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33688         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33689         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33690         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33691         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33692         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33693         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33694         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33695         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33696         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33697         * nptl/sysdeps/x86_64/tls.h: Moved ...
33698         * sysdeps/x86_64/nptl/tls.h: ... here.
33699         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33700         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33701         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33702         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33704         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33706 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33710 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
33712         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33713         type.
33714         [POSIX] (off_t): Likewise.
33715         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33716         [POSIX] (S_ISBLK): Require macro.
33717         [POSIX] (S_ISCHR): Likewise.
33718         [POSIX] (S_ISDIR): Likewise.
33719         [POSIX] (S_ISFIFO): Likewise.
33720         [POSIX] (S_ISREG): Likewise.
33721         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33722         optional-macro.
33723         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33724         type.
33725         [POSIX] (time_t): Likewise.
33726         [POSIX] (timer_t): Likewise.
33728 2014-06-11  Florian Weimer  <fweimer@redhat.com>
33730         [BZ #17048]
33731         * posix/spawn_int.h (struct __spawn_action): Make the path string
33732         non-const to support deallocation.
33733         * posix/spawn_faction_addopen.c
33734         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33735         * posix/spawn_faction_destroy.c
33736         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
33737         path in all spawn_do_open actions.
33738         * posix/tst-spawn.c (do_test): Exercise the copy operation in
33739         posix_spawn_file_actions_addopen.
33741 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
33743         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33744         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33745         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33746         conditional code always true.
33747         (__libc_vfork): New alias.
33749 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33751         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33752         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33754         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33756         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33757         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33759         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33760         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33762         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33763         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33765 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33767         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33768         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33769         multiarch strcmp for PPC64.
33770         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33771         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33773         multiarch optimizations.
33774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33775         (__libc_ifunc_impl_list): Likewise.
33777 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33779         * benchtests/scripts/validate_benchout.py: New script.
33780         * benchtests/Makefile (bench-func): Call it.
33781         * benchtests/scripts/benchout.schema.json: New file.
33783 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
33785         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33786         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33787         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33788         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33789         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33790         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33791         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33792         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33793         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33794         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33795         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33796         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33797         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33798         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33799         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33800         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33802         Moved ...
33803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
33804         ... here.
33805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
33806         Moved ...
33807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
33808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33809         Moved ...
33810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
33811         ... here.
33812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33813         Moved ...
33814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33815         ... here.
33816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33817         Moved ...
33818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33820         Moved ...
33821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33822         ... here.
33823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33824         Moved ...
33825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33826         ... here.
33827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33828         Moved ...
33829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33831         Moved ...
33832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33833         ... here.
33834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33835         Moved ...
33836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33837         ... here.
33838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33839         Moved ...
33840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33841         ... here.
33842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33843         Moved ...
33844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33846         Moved ...
33847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33848         ... here.
33849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33850         Moved ...
33851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33852         ... here.
33853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33854         Moved ...
33855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33856         ... here.
33857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33858         Moved ...
33859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33861         Moved ...
33862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33863         ... here.
33864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33865         Moved ...
33866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33867         ... here.
33868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33869         Moved ...
33870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33872         Moved ...
33873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33874         ... here.
33875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33876         Moved ...
33877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33879         Moved ...
33880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33882         Moved ...
33883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33884         ... here.
33885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33886         Moved ...
33887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33888         ... here.
33889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33890         Moved ...
33891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33892         ... here.
33893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33894         Moved ...
33895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33897         Moved ...
33898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33899         ... here.
33900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33901         Moved ...
33902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33903         ... here.
33904         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33905         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33906         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33907         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33908         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33909         Moved ...
33910         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33911         ... here.
33912         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33913         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33914         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33915         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33916         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33917         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33918         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33919         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33920         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33921         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33922         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33923         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33924         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33925         Moved ...
33926         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33927         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33928         Moved ...
33929         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33930         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33931         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33932         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33933         Moved ...
33934         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33935         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33936         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33937         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33938         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33939         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33940         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33942 2014-06-10  Wilco  <wdijkstr@arm.com>
33944         * math/test-fenv-return.c: New file.
33945         * math/Makefile: Add new test test-fenv-return.
33947 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
33949         [BZ #17042]
33950         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33951         when x - 1 is zero.
33952         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33953         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33954         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33955         0.0L for an argument of 1.0L.
33956         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33957         Likewise.
33958         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33959         value when x - 1 is zero.
33960         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33961         * sysdeps/i386/fpu/libm-test-ulps: Update.
33962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33964 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
33966         [BZ #15119]
33967         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33969 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33971         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33972         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33974 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33976         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33977         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
33979         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33980         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
33982         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33983         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
33985         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33986         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
33988         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
33989         if not already defined.
33990         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
33991         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
33992         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
33993         (TLS_INIT_TP): Use it.
33994         (TLS_DEFINE_INIT_TP): New macro.
33995         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33997 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
33999         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34000         constant.
34001         [POSIX] (IXANY): Likewise.
34002         [POSIX] (OLCUC): Likewise.
34003         [POSIX || POSIX2008] (CBAUD): Do not allow.
34004         [POSIX || POSIX2008] (DEFECHO): Likewise.
34005         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34006         [POSIX || POSIX2008] (ECHOKE): Likewise.
34007         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34008         [POSIX || POSIX2008] (EXTA): Likewise.
34009         [POSIX || POSIX2008] (EXTB): Likewise.
34010         [POSIX || POSIX2008] (FLUSHO): Likewise.
34011         [POSIX || POSIX2008] (LOBLK): Likewise.
34012         [POSIX || POSIX2008] (PENDIN): Likewise.
34013         [POSIX || POSIX2008] (SWTCH): Likewise.
34014         [POSIX || POSIX2008] (VDISCARD): Likewise.
34015         [POSIX || POSIX2008] (VDSUSP): Likewise.
34016         [POSIX || POSIX2008] (VLNEXT): Likewise.
34017         [POSIX || POSIX2008] (VREPRINT): Likewise.
34018         [POSIX || POSIX2008] (VSTATUS): Likewise.
34019         [POSIX || POSIX2008] (VWERASE): Likewise.
34020         (B*): Change to B[0123456789]*.
34021         * conform/data/time.h-data [POSIX || UNIX98]
34022         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34023         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34024         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34025         [POSIX] (tm_*): Do not allow.
34027 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34029         * Makefile (install): Don't set LANGUAGE.
34030         * Makefile.in (install): Likewise.
34031         * assert/Makefile (test-assert-ENV): Remove variable.
34032         (test-assert-perr-ENV): Likewise.
34033         * elf/Makefile (neededtest4-ENV): Likewise.
34034         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34035         [$(cross-compiling) = no]: Don't set LANGUAGE.
34036         * io/ftwtest-sh (LANG): Remove variable.
34037         * libio/Makefile (tst-widetext-ENV): Likewise.
34038         * manual/install.texi (Running make install): Don't refer to
34039         environment settings for make install.
34040         * INSTALL: Regenerated.
34041         * nptl/tst-tls6.sh: Don't set LANG.
34042         * posix/globtest.sh (LANG): Remove variable.
34043         * string/Makefile (tester-ENV): Likewise.
34044         (inl-tester-ENV): Likewise.
34045         (noinl-tester-ENV): Likewise.
34046         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34047         [$(cross-compiling) = no]: Don't set LANGUAGE.
34048         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34049         without explicit environment settings.
34051 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34053         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34054         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34055         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34056         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34058 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34060         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34061         other files in the crypt directory.
34062         * crypt/crypt.c: Remove duplicate includes.
34063         * crypt/crypt-entry.c: Likewise.
34064         * crypt/crypt_util.c: Likewise.
34066 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34068         * Makeconfig (run-program-env): New variable.
34069         (run-program-prefix-before-env): Likewise.
34070         (run-program-prefix-after-env): Likewise.
34071         (run-program-prefix): Define in terms of new variables.
34072         (built-program-cmd-before-env): New variable.
34073         (built-program-cmd-after-env): Likewise.
34074         (built-program-cmd): Define in terms of new variables.
34075         (test-program-prefix-before-env): New variable.
34076         (test-program-prefix-after-env): Likewise.
34077         (test-program-prefix): Define in terms of new variables.
34078         (test-program-cmd-before-env): New variable.
34079         (test-program-cmd-after-env): Likewise.
34080         (test-program-cmd): Define in terms of new variables.
34081         * Rules (make-test-out): Use $(run-program-env).
34082         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34083         (help): Do not mention environment variables.  Mention
34084         --timeoutfactor option.
34085         (timeoutfactor): New variable.
34086         (blacklist_exports): Remove function.
34087         (exports): Remove variable.
34088         (command): Do not include ${exports}.
34089         * manual/install.texi (Configuring and compiling): Do not mention
34090         test wrappers preserving environment variables.  Mention that last
34091         assignment to a variable must take precedence.
34092         * INSTALL: Regenerated.
34093         * benchtests/Makefile (run-bench): Use $(run-program-env).
34094         * catgets/Makefile ($(objpfx)test1.cat): Use
34095         $(built-program-cmd-before-env), $(run-program-env) and
34096         $(built-program-cmd-after-env).
34097         ($(objpfx)test2.cat): Do not specify environment variables
34098         explicitly.
34099         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34100         $(run-program-env) and $(built-program-cmd-after-env).
34101         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34102         $(run-program-env) and $(test-program-cmd-after-env).
34103         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34104         explicitly.
34105         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34106         run_program_env and test_program_cmd_after_env arguments.
34107         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34108         * elf/tst-pathopt.sh: Use run_program_env argument.
34109         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34110         $(test-wrapper-env) and $(run-program-env).
34111         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34112         run_program_env arguments.
34113         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34114         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34115         $(test-program-prefix-before-env), $(run-program-env) and
34116         $(test-program-prefix-after-env).
34117         ($(objpfx)tst-gettext2.out): Likewise.
34118         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34119         run_program_env and test_program_prefix_after_env arguments.
34120         * intl/tst-gettext2.sh: Likewise.
34121         * intl/tst-gettext4.sh: Do not set environment variables
34122         explicitly.
34123         * intl/tst-gettext6.sh: Likewise.
34124         * intl/tst-translit.sh: Likewise.
34125         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34126         $(test-program-prefix-before-env), $(run-program-env) and
34127         $(test-program-prefix-after-env).
34128         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34129         run_program_env and test_program_prefix_after_env arguments.
34130         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34131         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34132         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34133         explicitly with each use of ${test_wrapper_env}.
34134         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34135         $(test-program-prefix-before-env), $(run-program-env) and
34136         $(test-program-prefix-after-env).
34137         * posix/tst-getconf.sh: Do not set environment variables
34138         explicitly.
34139         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34140         run_program_env and test_program_prefix_after_env arguments.
34141         * stdio-common/tst-printf.sh: Do not set environment variables
34142         explicitly.
34143         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34144         $(test-program-prefix-before-env), $(run-program-env) and
34145         $(test-program-prefix-after-env).
34146         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34147         run_program_env and test_program_prefix_after_env arguments.
34148         Split $test calls into $test_pre and $test.
34149         * timezone/Makefile (build-testdata): Use
34150         $(built-program-cmd-before-env), $(run-program-env) and
34151         $(built-program-cmd-after-env).
34153 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34155         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34156         strlen for non SHARED builds.
34158 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34160         * nptl/allocatestack.c (check_list): Inlined function...
34161         (__reclaim_stacks): ... here.
34163 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34165         [BZ #15698]
34166         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34167         memory overrun.
34169 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34171         * Rules (make-test-out): Include
34172         LOCPATH=$(common-objpfx)localedata in default environment.
34173         * debug/Makefile (tst-chk1-ENV): Remove variable.
34174         (tst-chk2-ENV): Likewise.
34175         (tst-chk3-ENV): Likewise.
34176         (tst-chk4-ENV): Likewise.
34177         (tst-chk5-ENV): Likewise.
34178         (tst-chk6-ENV): Likewise.
34179         (tst-lfschk1-ENV): Likewise.
34180         (tst-lfschk2-ENV): Likewise.
34181         (tst-lfschk3-ENV): Likewise.
34182         (tst-lfschk4-ENV): Likewise.
34183         (tst-lfschk5-ENV): Likewise.
34184         (tst-lfschk6-ENV): Likewise.
34185         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34186         (tst-iconv7-ENV): Likewise.
34187         * intl/Makefile (LOCPATH-ENV): Likewise.
34188         (tst-codeset-ENV): Likewise.
34189         (tst-gettext3-ENV): Likewise.
34190         (tst-gettext5-ENV): Likewise.
34191         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34192         (tst-fopenloc-ENV): Likewise.
34193         (tst-fgetws-ENV): Remove variable.
34194         (tst-ungetwc1-ENV): Likewise.
34195         (tst-ungetwc2-ENV): Likewise.
34196         (bug-ungetwc2-ENV): Likewise.
34197         (tst-swscanf-ENV): Likewise.
34198         (bug-ftell-ENV): Likewise.
34199         (tst-fgetwc-ENV): Likewise.
34200         (tst-fseek-ENV): Likewise.
34201         (tst-ftell-partial-wide-ENV): Likewise.
34202         (tst-ftell-active-handler-ENV): Likewise.
34203         (tst-ftell-append-ENV): Likewise.
34204         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34205         (tst-regexloc-ENV): Likewise.
34206         (bug-regex1-ENV): Likewise.
34207         (tst-regex-ENV): Likewise.
34208         (tst-regex2-ENV): Likewise.
34209         (bug-regex5-ENV): Likewise.
34210         (bug-regex6-ENV): Likewise.
34211         (bug-regex17-ENV): Likewise.
34212         (bug-regex18-ENV): Likewise.
34213         (bug-regex19-ENV): Likewise.
34214         (bug-regex20-ENV): Likewise.
34215         (bug-regex22-ENV): Likewise.
34216         (bug-regex23-ENV): Likewise.
34217         (bug-regex25-ENV): Likewise.
34218         (bug-regex26-ENV): Likewise.
34219         (bug-regex30-ENV): Likewise.
34220         (bug-regex32-ENV): Likewise.
34221         (bug-regex33-ENV): Likewise.
34222         (bug-regex34-ENV): Likewise.
34223         (bug-regex35-ENV): Likewise.
34224         (tst-rxspencer-ENV): Likewise.
34225         (tst-rxspencer-no-utf8-ENV): Likewise.
34226         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34227         (tst-sscanf-ENV): Likewise.
34228         (tst-swprintf-ENV): Likewise.
34229         (tst-swscanf-ENV): Likewise.
34230         (test-vfprintf-ENV): Likewise.
34231         (scanf13-ENV): Likewise.
34232         (bug14-ENV): Likewise.
34233         (tst-grouping-ENV): Likewise.
34234         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34235         (tst-strtod3-ENV): Likewise.
34236         (tst-strtod4-ENV): Likewise.
34237         (tst-strtod5-ENV): Likewise.
34238         (testmb2-ENV): Likewise./
34239         * string/Makefile (tst-strxfrm-ENV): Likewise.
34240         (tst-strxfrm2-ENV): Likewise.
34241         (bug-strcoll1-ENV): Likewise.
34242         (test-strcasecmp-ENV): Likewise.
34243         (test-strncasecmp-ENV): Likewise.
34244         * time/Makefile (tst-strptime-ENV): Likewise.
34245         (tst-ftime_l-ENV): Likewise.
34246         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34247         (tst-mbrtowc-ENV): Likewise.
34248         (tst-wcrtomb-ENV): Likewise.
34249         (tst-mbrtowc2-ENV): Likewise.
34250         (tst-c16c32-1-ENV): Likewise.
34251         (tst-mbsnrtowcs-ENV): Likewise.
34253 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34255         * manual/resource.texi (How to get information about the memory
34256         subsystem?): Fix typo.
34257         Reported by Peon de la Parra Ivan <peon@keba.com>
34259 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34261         [BZ #16882]
34262         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34263         (pthread_spin_lock): Branch out of spin loop to proper location.
34264         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34265         (pthread_spin_lock): Likewise.
34267         * nptl/tst-spin4.c: New test.
34268         * nptl/Makefile (tests): Add tst-spin4.
34270 2014-06-03  Andreas Schwab  <schwab@suse.de>
34272         [BZ #15946]
34273         * resolv/res_send.c (send_dg): Reload file descriptor after
34274         calling reopen.
34276 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34278         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34280 2014-06-03  Richard Henderson  <rth@redhat.com>
34282         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34283         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34284         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34285         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34286         in the SAVE_PID block.
34287         (__libc_vfork): New alias.
34288         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34290         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34291         child in registers, not on the stack.  Remove RESET_PID conditionals.
34292         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34294 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34296         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34298 2014-06-03  Wilco  <wdijkstr@arm.com>
34300         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34301         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34302         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34303         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34304         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34305         Likewise.
34307 2014-06-03  Wilco  <wdijkstr@arm.com>
34309         * sysdeps/aarch64/fpu/math_private.h
34310         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34311         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34312         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34313         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34314         Fix declarations.
34316 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34318         * crypt/crypt-private.h: Include ufc-crypt.h.
34319         (__b64_from_24bit): Declare extern.
34320         * crypt/crypt_util.c(__b64_from_24bit): New function.
34321         (b64t): New static const variable.
34322         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34323         (b64t): Remove variable.
34324         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34325         * crypt/sha256-crypt.c: Include crypt-private.h.
34326         (b64t): Remove variable.
34327         (__sha256_crypt_r): Remove b64_from_24bit and replace
34328         with __b64_from_24bit.
34329         * crypt/sha512-crypt.c: Likewise.
34331 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34333         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34334         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34335         Label the code __libc_vfork rather than __vfork.
34336         [!NOT_IN_libc] (vfork): Define as weak alias.
34337         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34338         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34339         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34341 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34343         * malloc/malloc.c (malloc_info): Fix format specifier for
34344         n_mmaps.
34346 2014-06-02  Wilco  <wdijkstr@arm.com>
34348         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34349         FPCR write.
34351 2014-06-02  Wilco  <wdijkstr@arm.com>
34353         [BZ #17009]
34354         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34355         Rewrite to reduce FPCR/FPSR accesses.
34357 2014-06-01  David S. Miller  <davem@davemloft.net>
34359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34361 2014-05-31  David S. Miller  <davem@davemloft.net>
34363         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34364         to occur in round to nearest mode when |x| >= 2.0
34366 2014-05-30  Richard Henderson  <rth@twiddle.net>
34368         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34369         (PSEUDO_RET_NOERRNO): Remove.
34370         (ret): Don't redefine.
34371         (ret_NOERRNO): Define in terms of ret.
34372         (ret_ERRVAL): Likewise.
34374         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34375         use of PSEUDO_RET; perform the error check directly.
34377 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34379         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34380         with __int128_t.
34382 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34384         * malloc/malloc (malloc_info): Fix formatting.
34386 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34387             Roland McGrath  <roland@hack.frob.com>
34389         * malloc/malloc (malloc_info): Also print mmapped statistics.
34391 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34393         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34394         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34396 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34398         * malloc/malloc.c (malloc_info): Inline mi_arena.
34400 2014-05-29  Richard Henderson  <rth@twiddle.net>
34402         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34403         Remove comma before expanding ASM_ARGS_##nr.
34404         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34405         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34406         of ASM_ARGS_##nr.
34407         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34408         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34409         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34410         (ASM_ARGS_1): Add leading comma.
34412         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34413         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34414         to __errno_location.
34415         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34416         Remove the expected plt for __errno_location.
34418         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34419         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34420         call to __read_tp.
34422         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34423         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34424         it and break it down.
34425         (DOCARGS_0, DOCARGS_1): Do nothing.
34426         (DOCARGS_2): Update to store into the new stack frame.
34427         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34428         (UNDOCARGS_1): Update to restore from the new stack frame.
34429         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34430         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34432         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34433         (SINGLE_THREAD_P): New parameter for result regno.
34434         (PSEUDO): Update to match; use cbz instead of beq.
34436         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34437         Use ENTRY to define the _nocancel entry point.  Share the syscall
34438         and syscall error check paths with the cancel path.
34439         (PSEUDO_END): New.
34441         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34442         whitespace; tabs before and after asm mnemonics.
34444 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34446         [BZ #15132]
34447         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34448         Call fstat64 or stat64 internally, depending on arguments passed.
34449         Replace stat buffer argument with file descriptor argument.
34450         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34451         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34452         Pass fd to __internal_statvfs instead of calling fstat64.
34453         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34454         Pass fd to __internal_statvfs64 instead of calling fstat64.
34455         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34456         Pass -1 to __internal_statvfs instead of calling stat64.
34457         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34458         Pass -1 to __internal_statvfs64 instead of calling stat64.
34460 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34462         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34463         that was previously under [RESET_PID].
34464         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34466         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34467         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34469 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34471         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34473         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34474         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34476 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34478         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34480 2014-05-27  Andreas Schwab  <schwab@suse.de>
34482         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34483         TLS_INIT_TP macro.
34484         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34485         * elf/rtld.c (init_tls, dl_main): Likewise.
34486         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34487         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34488         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34489         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34490         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34491         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34492         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34493         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34494         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34495         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34496         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34497         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34498         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34499         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34500         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34501         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34502         * sysdeps/generic/tls.h: Update description.
34504 2014-05-27  Will Newton  <will.newton@linaro.org>
34506         [BZ #16990]
34507         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34508         and restore r2 rather than just restoring.
34510 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34512         [BZ #16724]
34513         * libio/tst-ftell-append.c: New test case.
34514         * libio/Makefile (tests): Add test case.
34515         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34516         append mode.
34517         * libio/wfileops.c (do_ftell_wide): Likewise.
34519 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34523         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34524         ...
34525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34527         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34528         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34529         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34530         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34531         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34532         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34534         Moved ...
34535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34536         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34537         Moved ...
34538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34539         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34540         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34541         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34542         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34543         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34544         ...
34545         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34546         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34547         Moved ...
34548         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34549         here.
34550         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34551         ...
34552         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34553         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34554         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34556         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34557         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34558         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34559         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34561         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34562         merge into ...
34563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34564         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34565         ...
34566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34567         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34568         ...
34569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34570         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34571         Moved ...
34572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34573         here.
34574         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34575         Moved ...
34576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34577         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34578         Moved ...
34579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34582         conditional [RESET_PID].
34583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34584         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34585         removed.
34586         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34587         removed.
34589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34590         <tcb-offsets.h>.
34591         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34592         (__libc_vfork): New strong alias.
34593         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34594         removed.
34595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34596         Removed.
34598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34599         <tcb-offsets.h>.
34600         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34601         (__libc_vfork): New strong alias.
34602         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34603         removed.
34604         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34605         removed.
34607 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
34609         * malloc/malloc.c (mi_arena): New function.
34610         (malloc_info): Remove nested function mi_arena. Call non-nosted
34611         function mi_arena.
34613 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34615         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34616         by insrwi.
34617         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34618         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34619         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34620         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34621         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34622         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34623         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34625 2014-05-26  Andreas Schwab  <schwab@suse.de>
34627         [BZ #16984]
34628         * locale/programs/repertoire.c (repertoire_read): Add slash
34629         between I18NPATH element and file name.
34630         * locale/programs/locfile.c (locfile_read): Likewise.
34632 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34634         * nptl/pthread_mutexattr_settype.c
34635         (__pthread_mutexattr_settype):
34636         Disable lock elision for PTHREAD_MUTEX_NORMAL.
34638 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34640         * nptl/tst-mutex5 (do_test):
34641         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34643 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34645         * benchtests/README: Document 'init' directive.
34646         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34647         BENCH_INIT.
34648         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34649         (parse_file): Recognize 'init' directive.
34651 2014-05-26  Kyle McMartin  <kyle@redhat.com>
34653         [BZ #16796]
34654         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34655         alignment of struct pthread.
34657 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34659         [BZ #16878]
34660         * nscd/netgroupcache.c (addgetnetgrentX): Look for
34661         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34662         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34663         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34665 2014-05-25  Richard Henderson  <rth@twiddle.net>
34667         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34668         (SINGLE_THREAD_P_PIC): Remove.
34669         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34670         (SINGLE_THREAD_P_PIC): Remove.
34672         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34673         branch to syscall error ...
34674         (PSEUDO): ... here.
34675         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34676         from __local_syscall_error to .Lsyscall_error.
34677         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34678         (SYSCALL_ERROR): Update label name.
34680         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34681         Do not use DOARGS/UNDOARGS.
34682         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34683         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34684         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34685         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34686         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34688         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34689         block comment.
34691         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34692         define if !NOT_IN_libc.
34693         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34694         define with non-default symbol versions.
34696 2014-05-23  Richard Henderson  <rth@twiddle.net>
34698         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34699         (vfork, __vfork): Define via compat_symbol.
34701         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34702         [!HAVE_IFUNC] (vfork_compat): Remove.
34703         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34705 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34707         [BZ #16978]
34708         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34709         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34710         variable.
34712 2014-05-23  Richard Henderson  <rth@twiddle.net>
34714         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34715         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34716         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34717         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34719         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34720         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34721         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34722         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34723         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34724         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34725         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34726         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34727         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34728         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34729         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34730         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34731         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34732         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34733         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34734         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34735         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34736         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34737         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34738         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34739         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34740         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34741         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34742         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34743         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34744         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34745         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34746         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34747         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34748         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34749         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34750         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34751         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34752         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34753         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34754         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34755         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34756         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34757         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34758         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34759         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34760         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34761         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34762         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34763         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34764         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34765         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34766         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34767         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34768         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34769         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34770         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34771         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34772         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34773         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34774         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34776         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34777         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34778         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
34779         before exiting on error.
34780         (__libc_vfork): New strong alias.
34781         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34782         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34784         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34785         that was previously under [RESET_PID].
34786         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34788         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34790 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34792         [BZ #16977]
34793         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34794         value when x - 1 is zero.
34795         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34796         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34797         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34798         0.0L for an argument of 1.0L.
34799         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34800         Likewise.
34801         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34802         value when x - 1 is zero.
34803         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
34804         * sysdeps/i386/fpu/libm-test-ulps: Update.
34805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34807 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34809         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
34810         alphasort and versionsort.
34812 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34814         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34815         macro.
34816         [copysignf]: Likewise.
34818 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34820         * crypt/md5-crypt.c: Fix formatting.
34822 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34824         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34825         (b64_from_24bit): New function.
34827 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34829         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34830         libc_hidden_builtin_def to ifunc.
34831         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34832         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34834 2014-05-21  Roland McGrath  <roland@hack.frob.com>
34836         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34837         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34839 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
34841         * nscd/Depend (linuxthreads): Remove.
34842         (nptl): Add.
34843         * resolv/Depend (linuxthreads): Remove.
34844         * rt/Depend (linuxthreads): Remove.
34846         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34847         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34848         $(common-objpfx)elf/.
34849         (link-libc-before-gnulib): Likewise.
34850         (elfobjdir): Remove variable.
34851         * Makefile (install): Use $(elf-objpfx) instead of
34852         $(common-objpfx)elf/.
34853         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34854         $(elfobjdir)/.
34855         (link-libc-deps): Likewise.
34856         ($(common-objpfx)libc.so): Likewise.
34857         ($(common-objpfx)linkobj/libc.so): Likewise.
34858         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34859         instead of $(common-objpfx)elf/.
34860         (symbolic-link-list): Likewise.
34861         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34862         [$(cross-compiling) = no]: Likewise.
34863         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34864         $(elfobjdir)/.
34865         (static-gnulib-arch): Likewise.
34866         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34867         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34868         $(common-objpfx)elf/.
34870 2014-05-21  Richard Henderson  <rth@redhat.com>
34872         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34873         (SINGLE_THREAD_P): Use the correct width load.  Fold
34874         into the ldr offset.
34876         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34877         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34879 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
34881         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34882         (libgcc_s_resume): Use __attribute_used__.
34883         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34884         Likewise.
34886 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34888         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34889         optimization when used with float constants.
34891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34893 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
34895         [BZ #16915]
34896         * locale/nl_langinfo_l.c: Make direct reference to every
34897         _nl_current_CATEGORY symbol.
34898         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34899         (tests-static): Add tst-langinfo-static.
34900         (tests-special): Add tst-langinfo-static.out.
34901         ($(objpfx)tst-langinfo.out): Redirect output.
34902         ($(objpfx)tst-langinfo-static.out): New.
34903         * localedata/tst-langinfo.sh: Send output to stdout.
34904         * localedata/tst-langinfo-static.c: New file.
34906         [BZ #16965]
34907         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34908         when the shift amount is modulo the limb size.
34910 2014-05-20  Richard Henderson  <rth@redhat.com>
34912         [BZ #16967]
34913         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34914         Change type of sa_flags from unsigned int to int.
34916         [BZ #16966]
34917         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34919         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34921 2014-05-20  Will Newton  <will.newton@linaro.org>
34923         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34924         Test the return value of the system call in the nocancel case.
34926 2014-05-20  Will Newton  <will.newton@linaro.org>
34927             Yvan Roux  <yvan.roux@linaro.org>
34929         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34930         #include of asm/ptrace.h.
34931         (PTRACE_GET_THREAD_AREA): Remove #undef.
34932         (PTRACE_GETHBPREGS): Likewise.
34933         (PTRACE_SETHBPREGS): Likewise.
34934         (struct user_regs_struct): New structure.
34935         (struct user_fpsimd_struct): New structure.
34936         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34937         #include of asm/ptrace.h and second #include of sys/user.h.
34938         (PTRACE_GET_THREAD_AREA): Remove #undef.
34939         (PTRACE_GETHBPREGS): Likewise.
34940         (PTRACE_SETHBPREGS): Likewise.
34941         (ELF_NGREG): Use new struct user_regs_struct.
34942         (elf_fpregset_t): Use new struct user_fpsimd_struct.
34944 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34946         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34947         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34949 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
34951         [BZ #16958]
34952         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34953         membar to avoid block loads/stores to overlap previous stores.
34955 2014-05-17  Richard Henderson  <rth@redhat.com>
34957         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34958         Create the __##syscall_name##_nocancel entry point.
34959         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34960         Remove; let the sysdep-cancel.h code create it.
34962 2014-05-17  David S. Miller  <davem@davemloft.net>
34964         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34965         Protect with __USE_GNU.
34966         (TIOCSET_TEMPT): Likewise.
34967         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34968         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34969         these are already provided in bits/ioctl-types.h
34971 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34973         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34974         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
34976         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34977         Use wait4 regardless of [__NR_waitpid].
34979 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34981         PR libgcc/60166
34982         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34983         (_FP_NANSIGN_Q): Set the quiet bit.
34985 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
34987         * benchtests/Makefile
34988         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
34989         not $(common-objpfx)math/libm.so.
34990         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
34991         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
34992         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
34993         $(common-objpfx)dlfcn/libdl.so.
34994         ($(objpfx)tst-audit8): Depend on $(libm), not
34995         $(common-objpfx)math/libm.so.
34996         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
34997         not $(common-objpfx)dlfcn/libdl.so.
34998         * math/Makefile
34999         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35000         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35001         [$(build-shared) = yes].
35002         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35003         $(common-objpfx)nptl/libpthread.so.
35004         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35005         $(common-objpfx)math/libm.so$(libm.so-version) or
35006         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35007         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35008         $(common-objpfx)dlfcn/libdl.so.
35009         * setjmp/Makefile (link-libm): Remove variable.
35010         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35011         * stdio-common/Makefile (link-libm): Remove variable.
35012         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35013         * stdlib/Makefile (link-libm): Remove variable.
35014         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35015         ($(objpfx)tst-strtod-round): Likewise.
35016         ($(objpfx)tst-tininess): Likewise.
35017         ($(objpfx)tst-strtod-underflow): Likewise.
35018         ($(objpfx)tst-strtod6): Likewise.
35019         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35020         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35021         $(common-objpfx)dlfcn/libdl.so.
35023 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35025         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35026         BSD terminal modes definitions.
35028 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35030         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35031         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35033         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35034         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35035         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35036         Don't do #include_next.
35037         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35038         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35039         Don't do #include_next.
35040         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35041         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35042         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35043         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35045 2014-05-16  Allan McRae  <allan@archlinux.org>
35047         * po/sv.po: Update Swedish translation from translation project.
35049         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35050         in sed expression.
35052 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35054         [BZ #16917]
35055         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35056         errno if the TIOCGPTN ioctl fails with an error different than
35057         EINVAL.
35058         * login/tst-ptsname.c: New file.
35059         * login/Makefile (tests): Add tst-ptsname.
35061         [BZ #16943]
35062         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35063         and prlimit64.
35065 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35067         [BZ #16849]
35068         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35069         herrno to return EAI_AGAIN.
35071 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35073         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35074         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35075         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35076         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35077         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35078         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35079         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35080         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35081         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35082         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35083         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35084         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35085         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35086         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35087         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35088         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35089         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35090         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35091         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35092         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35093         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35094         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35095         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35096         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35097         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35098         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35099         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35100         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35101         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35102         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35104         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35106         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35108         Moved ...
35109         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35111         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35113         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35115         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35117         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35119         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35121         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35123         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35125         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35127         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35129         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35131         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35133         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35135         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35137         Moved ...
35138         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35140         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35142         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35144         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35146         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35148         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35150         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35152         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35154         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35156         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35158         Moved ...
35159         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35161         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35163         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35164         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35165         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35166         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35167         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35168         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35169         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35170         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35171         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35172         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35173         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35174         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35175         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35176         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35177         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35178         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35179         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35180         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35181         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35182         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35183         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35184         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35185         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35186         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35187         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35188         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35189         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35190         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35191         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35192         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35193         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35195         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35196         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35198         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35199         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35200         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35201         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35202         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35203         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35204         Moved ...
35205         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35206         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35207         Moved ...
35208         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35209         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35210         Moved ...
35211         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35212         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35213         Moved ...
35214         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35215         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35216         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35217         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35218         Moved ...
35219         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35220         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35221         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35222         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35223         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35224         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35225         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35226         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35227         Moved ...
35228         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35229         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35230         Moved ...
35231         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35232         ... here.
35233         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35234         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35235         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35236         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35237         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35238         Moved ...
35239         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35240         ... here.
35241         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35242         Moved ...
35243         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35244         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35245         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35246         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35247         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35248         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35249         Moved ...
35250         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35251         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35252         Moved ...
35253         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35254         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35255         Moved ...
35256         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35257         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35258         Moved ...
35259         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35260         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35261         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35262         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35263         Moved ...
35264         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35265         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35266         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35267         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35268         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35269         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35270         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35271         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35272         Moved ...
35273         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35274         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35275         Moved ...
35276         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35277         ... here.
35278         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35279         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35280         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35281         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35282         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35283         Moved ...
35284         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35285         ... here.
35286         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35287         Moved ...
35288         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35289         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35290         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35291         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35292         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35293         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35294         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35295         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35296         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35297         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35298         Moved ...
35299         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35300         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35301         Moved ...
35302         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35303         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35304         Moved ...
35305         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35306         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35307         Moved ...
35308         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35309         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35310         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35311         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35312         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35313         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35314         Moved ...
35315         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35316         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35317         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35318         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35319         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35320         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35321         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35322         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35323         Moved ...
35324         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35325         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35326         Moved ...
35327         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35328         ... here.
35329         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35330         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35331         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35332         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35333         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35334         Moved ...
35335         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35336         ... here.
35337         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35338         Moved ...
35339         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35340         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35341         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35342         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35343         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35344         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35345         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35346         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35347         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35348         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35349         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35351         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35352         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35354         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35355         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35357         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35358         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35359         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35360         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35361         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35362         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35363         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35364         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35365         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35366         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35367         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35368         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35369         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35370         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35371         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35372         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35373         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35374         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35375         Moved ...
35376         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35377         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35378         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35379         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35380         Moved ...
35381         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35382         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35383         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35384         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35385         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35386         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35387         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35388         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35389         Moved ...
35390         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35391         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35392         Moved ...
35393         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35394         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35395         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35396         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35397         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35399         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35400         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35401         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35402         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35403         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35404         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35405         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35406         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35407         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35408         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35409         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35411         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35412         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35413         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35414         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35415         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35417         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35418         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35419         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35420         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35421         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35422         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35423         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35424         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35425         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35426         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35428         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35429         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35431         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35432         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35433         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35434         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35435         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35436         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35437         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35438         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35439         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35440         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35441         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35442         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35443         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35444         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35445         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35446         Update #include.
35447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35448         Likewise.
35449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35450         Likewise.
35451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35452         Likewise.
35453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35454         Likewise.
35455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35456         Likewise.
35457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35458         Likewise.
35459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35460         Likewise.
35461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35462         Likewise.
35463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35464         Likewise.
35465         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35466         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35467         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35468         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35470         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35471         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35472         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35473         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35474         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35475         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35476         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35477         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35478         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35479         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35481         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35482         that was previously under [RESET_PID].
35483         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35484         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35485         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35487         * sysdeps/i386/nptl/Implies: New file.
35488         * sysdeps/x86_64/nptl/Implies: New file.
35489         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35490         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35491         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35492         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35494         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35495         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35496         (__libc_vfork): New strong alias.
35497         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35498         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35500         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35501         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35502         (__libc_vfork): New strong alias.
35503         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35504         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35506         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35507         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35508         (__libc_vfork): New strong alias.
35509         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35510         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35511         * nptl/pt-vfork.c: New file.
35512         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35513         (libpthread: GLIBC_2.20): New version set (empty).
35515 2014-05-14  Will Newton  <will.newton@linaro.org>
35517         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35518         rather than #if.
35520 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35522         [BZ #16564]
35523         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35524         arguments with exponent 65 or above.
35525         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35526         arguments 0x1p113L or above.
35527         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35528         to arguments 0x1p107L or above.
35529         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35530         positive arguments with exponent 65 or above.
35531         * math/auto-libm-test-in: Add more tests of log1p.
35532         * math/auto-libm-test-out: Regenerated.
35534         [BZ #16928]
35535         * math/s_cacos.c (__cacos): Ensure zero real part of result from
35536         non-finite arguments is +0.
35537         * math/s_cacosf.c (__cacosf): Likewise.
35538         * math/s_cacosl.c (__cacosl): Likewise.
35539         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35540         * sysdeps/i386/fpu/libm-test-ulps: Update.
35541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35543         [BZ #16927]
35544         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35545         value.
35546         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35547         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35548         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35549         for explicit high bit of mantissa when testing for argument equal
35550         to 1.
35551         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35552         * sysdeps/i386/fpu/libm-test-ulps: Update.
35553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35555         [BZ #16516]
35556         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35557         (__erf): Scale by 16 instead of 8 in potentially underflowing
35558         case.  Ensure exception if result actually underflows.
35559         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35560         (__erff): Scale by 16 instead of 8 in potentially underflowing
35561         case.  Ensure exception if result actually underflows.
35562         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35563         (efx8): Remove variable.
35564         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35565         case.  Ensure exception if result actually underflows.
35566         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35567         (efx8): Remove variable.
35568         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35569         case.  Ensure exception if result actually underflows.
35570         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35571         (efx8): Remove variable.
35572         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35573         case.  Ensure exception if result actually underflows.
35574         * math/auto-libm-test-in: Add more tests of erf.
35575         * math/auto-libm-test-out: Regenerated.
35577 2014-05-14  Andreas Schwab  <schwab@suse.de>
35579         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35580         Remove code conditionalized on USE___THREAD.
35582         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35583         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35584         not definedness.
35586 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35588         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35589         Define unconditionally.
35590         (__ASSUME_O_CLOEXEC): Likewise.
35591         (__ASSUME_SOCK_CLOEXEC): Likewise.
35592         (__ASSUME_IN_NONBLOCK): Likewise.
35593         (__ASSUME_PIPE2): Likewise.
35594         (__ASSUME_EVENTFD2): Likewise.
35595         (__ASSUME_SIGNALFD4): Likewise.
35596         (__ASSUME_DUP3): Likewise.
35597         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35598         (__ASSUME_DUP3): Do not define.
35599         (__ASSUME_EVENTFD2): Likewise.
35600         (__ASSUME_IN_NONBLOCK): Likewise.
35601         (__ASSUME_O_CLOEXEC): Likewise.
35602         (__ASSUME_PIPE2): Likewise.
35603         (__ASSUME_SIGNALFD4): Likewise.
35604         (__ASSUME_SOCK_CLOEXEC): Likewise.
35605         (__ASSUME_UTIMES): Undefine.
35606         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35607         (__ASSUME_UTIMES): Do not define.
35608         (__ASSUME_O_CLOEXEC): Likewise.
35609         (__ASSUME_SOCK_CLOEXEC): Likewise.
35610         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35611         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35612         0x020621].
35613         (__ASSUME_PIPE2): Likewise.
35614         (__ASSUME_EVENTFD2): Likewise.
35615         (__ASSUME_SIGNALFD4): Likewise.
35616         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35617         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35618         Do not define.
35619         (__ASSUME_EVENTFD2): Likewise.
35620         (__ASSUME_SIGNALFD4): Likewise.
35621         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35622         (__ASSUME_32BITUIDS): Likewise.
35623         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35624         (__ASSUME_IPC64): Likewise.
35625         (__ASSUME_ST_INO_64_BIT): Likewise.
35626         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35627         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35628         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35629         (__ASSUME_UTIMES): Do not define.
35630         (__ASSUME_PSELECT): Likewise.
35631         (__ASSUME_PPOLL): Likewise.
35632         (__ASSUME_O_CLOEXEC): Likewise.
35633         (__ASSUME_SOCK_CLOEXEC): Likewise.
35634         (__ASSUME_IN_NONBLOCK): Likewise.
35635         (__ASSUME_PIPE2): Likewise.
35636         (__ASSUME_EVENTFD2): Likewise.
35637         (__ASSUME_SIGNALFD4): Likewise.
35638         (__ASSUME_DUP3): Likewise.
35639         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35640         (__ASSUME_UTIMES): Likewise.
35641         (__ASSUME_O_CLOEXEC): Likewise.
35642         (__ASSUME_SOCK_CLOEXEC): Likewise.
35643         (__ASSUME_IN_NONBLOCK): Likewise.
35644         (__ASSUME_PIPE2): Likewise.
35645         (__ASSUME_EVENTFD2): Likewise.
35646         (__ASSUME_SIGNALFD4): Likewise.
35647         (__ASSUME_DUP3): Likewise.
35648         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35649         (__ASSUME_UTIMES): Likewise.
35650         (__ASSUME_O_CLOEXEC): Likewise.
35651         (__ASSUME_SOCK_CLOEXEC): Likewise.
35652         (__ASSUME_IN_NONBLOCK): Likewise.
35653         (__ASSUME_PIPE2): Likewise.
35654         (__ASSUME_EVENTFD2): Likewise.
35655         (__ASSUME_SIGNALFD4): Likewise.
35656         (__ASSUME_DUP3): Likewise.
35657         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
35658         Likewise.
35659         (__ASSUME_UTIMES): Likewise.
35660         (__ASSUME_EVENTFD2): Likewise.
35661         (__ASSUME_SIGNALFD4): Likewise.
35662         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35663         (__ASSUME_O_CLOEXEC): Likewise.
35664         (__ASSUME_SOCK_CLOEXEC): Likewise.
35665         (__ASSUME_IN_NONBLOCK): Likewise.
35666         (__ASSUME_PIPE2): Likewise.
35667         (__ASSUME_EVENTFD2): Likewise.
35668         (__ASSUME_SIGNALFD4): Likewise.
35669         (__ASSUME_DUP3): Likewise.
35670         (__ASSUME_UTIMES): Undefine.
35672         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35673         feclearexcept.  Remove symbol versioning code.
35674         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
35675         symbol versioning code.
35676         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
35677         symbol versioning code.
35678         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35679         feupdateenv.  Remove symbol versioning code.
35680         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35681         fegetexceptflag.  Remove symbol versioning code.
35682         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35683         fesetexceptflag.  Remove symbol versioning code.
35684         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35685         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
35686         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35687         (__posix_fadvise64_l32): Remove prototype.
35688         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35689         code.
35691 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35693         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35694         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35695         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35696         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35698 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
35700         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35701         current working directory
35703 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35705         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35706         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35707         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35708         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35709         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35710         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35711         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35712         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35713         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35714         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35715         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35716         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35717         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35718         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35719         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35720         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35721         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35722         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35723         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35724         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35725         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35726         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35727         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35728         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35729         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35730         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35731         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35732         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35733         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35734         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35735         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35736         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35737         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35738         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35739         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35740         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35741         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35742         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35743         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35744         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35745         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35746         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35748         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35749         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35751         * sysdeps/unix/sysv/linux/arm/Makefile
35752         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35753         Add rt-aeabi_unwind_cpp_pr1.
35754         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35755         Add nptl-aeabi_unwind_cpp_pr1.
35756         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35757         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35758         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35759         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35760         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35761         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35763         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35764         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35765         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35766         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35768         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35769         Deconditionalize the code that was previously under [RESET_PID].
35770         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35772         * sysdeps/generic/exit-thread.h: New file.
35773         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35774         * include/unistd.h (__exit_thread): Remove declaration.
35775         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35776         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35777         * csu/libc-start.c: Include <exit-thread.h>.
35778         (LIBC_START_MAIN): Pass no argument to __exit_thread.
35779         * nptl/pthread_create.c: Include <exit-thread.h>.
35780         (start_thread): Call __exit_thread in place of __exit_thread_inline.
35781         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35782         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35783         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35784         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35785         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35786         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35787         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35788         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35789         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35790         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35791         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35792         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35793         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35794         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35795         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35796         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35798 2014-05-13  Andreas Schwab  <schwab@suse.de>
35800         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35802 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
35804         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35805         (__ASSUME_UTIMES): Do not condition on kernel version.
35806         (__ASSUME_PSELECT): Define unconditionally.
35807         (__ASSUME_PPOLL): Likewise.
35808         (__ASSUME_ATFCTS): Likewise.
35809         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
35810         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
35811         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
35812         (__ASSUME_UTIMENSAT): Define unconditionally.
35813         (__ASSUME_PRIVATE_FUTEX): Likewise.
35814         (__ASSUME_FALLOCATE): Likewise.
35815         (__ASSUME_O_CLOEXEC): Likewise.
35816         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35817         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35818         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35819         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35820         (__ASSUME_IN_NONBLOCK): Likewise.
35821         (__ASSUME_PIPE2): Likewise.
35822         (__ASSUME_EVENTFD2): Likewise.
35823         (__ASSUME_SIGNALFD4): Likewise.
35824         (__ASSUME_DUP3): Likewise.
35825         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35826         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35827         (__ASSUME_AT_RANDOM): Likewise.
35828         (__ASSUME_PREADV): Likewise.
35829         (__ASSUME_PWRITEV): Likewise.
35830         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35831         (__ASSUME_F_GETOWN_EX): Define unconditionally.
35832         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35833         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35834         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35835         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35836         (__ASSUME_O_CLOEXEC): Define unconditionally.
35837         (__ASSUME_PSELECT): Do not undefine conditionally.
35838         (__ASSUME_PPOLL): Likewise.
35839         (__ASSUME_ATFCTS): Likewise.
35840         (__ASSUME_SET_ROBUST_LIST): Likewise.
35841         (__ASSUME_UTIMENSAT): Likewise.
35842         (__ASSUME_FDATASYNC): Define unconditionally.
35843         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35844         (__ASSUME_SIGFRAME_V2): Likewise.
35845         )__ASSUME_EVENTFD2): Likewise.
35846         (__ASSUME_SIGNALFD4): Likewise.
35847         (__ASSUME_PSELECT): Do not undefine conditionally.
35848         (__ASSUME_PPOLL): Likewise.
35849         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35850         (__ASSUME_PSELECT): Define unconditionally.
35851         (__ASSUME_PPOLL): Likewise.
35852         (__ASSUME_O_CLOEXEC): Likewise.
35853         (__ASSUME_SOCK_CLOEXEC): Likewise.
35854         (__ASSUME_IN_NONBLOCK): Likewise.
35855         (__ASSUME_PIPE2): Likewise.
35856         (__ASSUME_EVENTFD2): Likewise.
35857         (__ASSUME_SIGNALFD4): Likewise.
35858         (__ASSUME_DUP3): Likewise.
35859         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35860         (__ASSUME_O_CLOEXEC): Likewise.
35861         (__ASSUME_SOCK_CLOEXEC): Likewise.
35862         (__ASSUME_IN_NONBLOCK): Likewise.
35863         (__ASSUME_PIPE2): Likewise.
35864         (__ASSUME_EVENTFD2): Likewise.
35865         (__ASSUME_SIGNALFD4): Likewise.
35866         (__ASSUME_DUP3): Likewise.
35867         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35868         (__ASSUME_EVENTFD2): Likewise.
35869         (__ASSUME_SIGNALFD4): Likewise.
35870         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35872 2014-05-12  Andreas Schwab  <schwab@suse.de>
35874         [BZ #16932]
35875         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35876         (_nss_nis_gethostbyname4_r): Return error if item length is larger
35877         than maximum RPC packet size.
35878         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35879         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35880         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35881         (_nss_nis_getservbyport_r): Likewise.
35883 2014-05-12  Will Newton  <will.newton@linaro.org>
35885         * malloc/Makefile (tests): Add tst-mallopt.
35886         * malloc/tst-mallopt.c: New file.
35888 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35890         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35891         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35893 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35895         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35896         (tst-tlsmod6.so): Likewise.
35898 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35900         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35902 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
35904         [BZ #16064]
35905         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35906         and <dl-procinfo.h>.
35907         (__fegetenv): Save SSE state in envp->__eip if supported.
35908         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35909         envp->__eip if supported.
35910         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35911         and <dl-procinfo.h>.
35912         (__fesetenv): Always set __eip, __cs_selector, __opcode,
35913         __data_offset and __data_selector in environment to 0.  Set SSE
35914         state if supported.
35915         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35916         test-fenv-sse.
35917         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35918         -mfpmath=sse.
35919         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35921 2014-05-09  Will Newton  <will.newton@linaro.org>
35923         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35924         and libc_relro_required for ARM.
35925         * sysdeps/arm/preconfigure: Regenerate.
35927 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35928             Stefan Liebler  <stli@linux.vnet.ibm.com>
35930         * config.make.in (enable-lock-elision): New Makefile variable.
35931         * configure.ac: Likewise.
35932         * configure: Regenerate.
35933         * sysdeps/s390/configure.ac:
35934         Add check for gcc transactions support.
35935         * sysdeps/s390/configure: Regenerate.
35936         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35937         Build elision files if enabled.
35938         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35939         Add lock elision support for s390.
35940         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35941         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35942         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35943         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35944         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35945         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35946         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35947         Likewise.
35948         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35949         Likewise.
35950         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35951         Likewise.
35952         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35953         Likewise.
35954         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35955         (__lll_timedlock_elision, __lll_lock_elision)
35956         (__lll_unlock_elision, __lll_trylock_elision)
35957         (lll_timedlock_elision, lll_lock_elision)
35958         (lll_unlock_elision, lll_trylock_elision): Add.
35959         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35960         (pthread_mutex_t): Add lock elision support for s390.
35962 2014-05-14  Wilco  <wdijkstr@arm.com>
35964         * sysdeps/arm/fclrexcpt.c: Cleanup.
35965         * sysdeps/arm/fedisblxcpt.c: Cleanup.
35966         * sysdeps/arm/feenablxcpt.c: Cleanup.
35967         * sysdeps/arm/fegetenv.c: Cleanup.
35968         * sysdeps/arm/fegetexcept.c: Cleanup.
35969         * sysdeps/arm/fegetround.c: Cleanup.
35970         * sysdeps/arm/feholdexcpt.c: Cleanup.
35971         * sysdeps/arm/fesetenv.c: Cleanup.
35972         * sysdeps/arm/fesetround.c: Cleanup.
35973         * sysdeps/arm/feupdateenv.c: Cleanup.
35974         * sysdeps/arm/fgetexcptflg.c: Cleanup.
35975         * sysdeps/arm/fraiseexcpt.c: Cleanup.
35976         * sysdeps/arm/fsetexcptflg.c: Cleanup.
35977         * sysdeps/arm/ftestexcept.c: Cleanup.
35978         * sysdeps/arm/get-rounding-mode.h: Cleanup.
35979         * sysdeps/arm/setfpucw.c: Cleanup.
35981 2014-05-09  Will Newton  <will.newton@linaro.org>
35983         * sysdeps/arm/armv7/strcmp.S: New file.
35984         * NEWS: Mention addition of ARMv7 optimized strcmp.
35986 2014-05-08  Roland McGrath  <roland@hack.frob.com>
35988         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
35989         look for %.ac rather than %.in.
35991         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
35992         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
35993         * sysdeps/mach/hurd/configure: Regenerated.
35994         * sysdeps/unix/sysv/linux/configure: Regenerated.
35996         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
35998 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36000         [BZ# 16922]
36001         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36002         (LONG_SUB): Ditto.
36003         (PTR_SUB): Ditto.
36005 2014-05-07  Andreas Schwab  <schwab@suse.de>
36007         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36008         when skipping over non-matching result from nscd.
36010 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36012         [BZ #16876]
36013         * nptl/sockperf.c (client): Check socket return value.
36015         [BZ #16877]
36016         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36017         nscd security class.
36019 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36021         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36022         * sysdeps/arm/unwind.h: ... here.
36024 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36026         [BZ# 16916]
36027         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36028         Define.
36030 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36032         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36033         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36034         multiarch strncpy for PPC64.
36035         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36036         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36038         multiarch optimizations.
36039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36040         (__libc_ifunc_impl_list): Likewise.
36041         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36042         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36043         multiarch stpncpy for PPC64.
36044         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36045         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36047 2014-05-06  Andreas Schwab  <schwab@suse.de>
36049         [BZ #16912]
36050         * gmon/mcount.c (_MCOUNT_DECL): Use
36051         atomic_compare_and_exchange_bool_acq instead of
36052         catomic_compare_and_exchange_bool_acq.
36054 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36056         * elf/Makefile (others, install-bin): Remove pldd.
36057         (pldd-modules): Variable removed.
36058         ($(objpfx)pldd): Target removed.
36059         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36060         (others, install-bin): Append pldd here.
36061         ($(objpfx)pldd): New target.
36063         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36064         to 0, so the first #if test emitted later doesn't see it undefined.
36065         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36066         * sysdeps/gnu/errlist.c: Regenerated.
36068 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36070         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36071         [libc_hidden_builtin_def]: Define to empty value.
36072         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36073         [libc_hidden_builtin_def]: Likewise.
36074         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36075         [libc_hidden_builtin_def]: Likewise.
36076         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36077         [libc_hidden_builtin_def]: Likewise.
36078         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36079         __redirect_memcpy and define ifunc as default hidden symbol.
36080         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36081         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36083 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36085         * locale/iso-4217.def: Reintroduce XDR currency.
36087 2014-05-04  Allan McRae  <allan@archlinux.org>
36089         * po/eo.po: Update Esperanto translation from translation project.
36091 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36093         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36094         and FEATURE_INDEX_MAX to 1.
36095         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36097 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36099         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36100         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36101         * iconvdata/big5.c (ONE_DIRECTION): Define.
36102         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36103         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36104         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36105         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36106         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36107         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36108         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36109         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36110         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36111         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36112         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36113         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36114         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36115         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36116         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36117         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36118         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36119         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36120         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36121         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36122         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36123         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36124         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36125         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36126         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36127         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36128         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36129         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36130         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36131         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36132         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36133         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36134         * iconvdata/johab.c (ONE_DIRECTION): Define.
36135         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36136         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36137         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36138         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36139         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36140         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36141         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36142         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36143         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36144         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36146 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36148         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36149         (_IO_JUMPS_OFFSET): Define to 0.
36151         * nptl/sysdeps/pthread/bits/libc-lock.h
36152         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36153         (__libc_lock_define_initialized_recursive): Always define using
36154         initializer.  Modern compilers treat uninitialized (implicit zero) and
36155         explicit zero initializers the same (i.e. put the datum in bss).
36157 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36159         * nscd/nscd-client.h: Include <string.h>.
36161 2014-05-01  David S. Miller  <davem@davemloft.net>
36163         [BZ #16885]
36164         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36165         multiple zero bytes exist at the end of a string.
36166         Reported by Aurelien Jarno <aurelien@aurel32.net>
36168         * string/test-strcmp.c (check): Add explicit test for situations where
36169         there are multiple zero bytes after the first.
36171 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36173         [BZ #16890]
36174         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36175         when compiling wprintf.
36176         * stdio-common/tstdiomisc.c (t3): New function.
36177         (main): Call it.
36179 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36181         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36182         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36183         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36184         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36186 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36188         * stdlib/longlong.h: Updated from GCC.
36190 2014-05-01  Will Newton  <will.newton@linaro.org>
36191             Bernard Ogden  <bernie.ogden@linaro.org>
36193         * NEWS: Update fixed bug list.
36195         [BZ #15119]
36196         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36198 2014-04-30  David S. Miller  <davem@davemloft.net>
36200         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36201         (libc_feholdexcept_setround_sparc_ctx): New function.
36202         (libc_fesetenv_sparc_ctx): Likewise.
36203         (libc_feupdateenv_sparc_ctx): Likewise.
36204         (libc_feholdsetround_sparc_ctx): Likewise.
36205         (libc_feholdexcept_setround_ctx): Define.
36206         (libc_feholdexcept_setroundf_ctx): Likewise.
36207         (libc_feholdexcept_setroundl_ctx): Likewise.
36208         (libc_fesetenv_ctx): Likewise.
36209         (libc_fesetenvf_ctx): Likewise.
36210         (libc_fesetenvl_ctx): Likewise.
36211         (libc_feupdateenv_ctx): Likewise.
36212         (libc_feupdateenvf_ctx): Likewise.
36213         (libc_feupdateenvl_ctx): Likewise.
36214         (libc_feresetround_ctx): Likewise.
36215         (libc_feresetroundf_ctx): Likewise.
36216         (libc_feresetroundl_ctx): Likewise.
36217         (libc_feholdsetround_ctx): Likewise.
36218         (libc_feholdsetroundf_ctx): Likewise.
36219         (libc_feholdsetroundl_ctx): Likewise.
36221         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36222         with __USE_GNU instead of XOPEN cpp guards.
36224         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36225         0.
36227         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36228         with XOPEN cpp guards.
36230 2014-04-30  Julian Brown  <julian@codesourcery.com>
36232         [BZ #16888]
36233         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36234         handling.
36236 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36238         [BZ #9894]
36239         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36240         Change to 2.6.32.
36241         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36242         * sysdeps/unix/sysv/linux/configure: Regenerated.
36243         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36244         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36245         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36246         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36247         * README: Update reference to required Linux kernel version.
36248         * manual/install.texi (Linux): Update reference to required Linux
36249         kernel headers version.
36250         * INSTALL: Regenerated.
36252         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36253         header inclusion.
36254         [POSIX] (limits.h): Likewise.
36255         [POSIX] (math.h): Likewise.
36256         [POSIX] (sys/wait.h): Likewise.
36257         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36258         function.
36259         [POSIX] (stddef.h): Do not allow header inclusion.
36261 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36263         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36265 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36267         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36268         Return immediately after lll_futex_wake.
36270 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36272         [BZ #16791]
36273         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36274         structure.
36275         (datahead_init_pos): Call datahead_init_common early.
36276         (datahead_init_neg): Likewise.
36278         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36279         datahead_init_neg): New functions.
36280         * nscd/aicache.c (addhstaiX): Use them.
36281         * nscd/grpcache.c (cache_addgr): Likewise.
36282         * nscd/hstcache.c (cache_addhst): Likewise.
36283         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36284         * nscd/netgroupcache.c (do_notfound): Likewise.
36285         (addgetnetgrentX): Likewise.
36286         (addinnetgrX): Likewise.
36287         * nscd/pwdcache.c (cache_addpw): Likewise.
36288         * nscd/servicescache.c (cache_addserv): Likewise.
36290 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36291             Atsushi Onoe  <atsushi@onoe.org>
36293         [BZ #14308]
36294         [BZ #12994]
36295         [BZ #13651]
36296         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36297         one response is valid.
36298         * resolv/res_send.c (send_dg): Check for validity of other
36299         response if the current response is a referral.
36301 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36303         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36305 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36307         [BZ #16823]
36308         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36309         Always divide by positive zero when computing -Inf result.
36310         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36311         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36313 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36315         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36316         FPSCR if value do not change.
36317         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36318         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36319         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36320         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36321         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36322         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36323         function.
36325 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36327         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36328         * sysdeps/unix/sysv/linux/hppa: Move directory from
36329         ports/systeps/unix/sysv/linux/hppa.
36330         * README: Update listing for hppa-*-linux-gnu.
36332 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36334         [BZ #16754]
36335         * manual/stdio.texi (Hook functions): Fix types of stream hook
36336         functions.
36337         [BZ #16854]
36338         * socket/sys/socket.h: Fix typo in comment.
36340 2014-04-28  Wilco  <wdijkstr@arm.com>
36342         * sysdeps/arm/fenv_private.h: New file.
36343         * sysdeps/arm/math_private.h: New file.
36344         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36346 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36348         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36349         with __int128_t.
36350         (La_x86_64_retval): Likewise.
36352 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36354         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36355         fpsr if value didn't change.
36356         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36357         to fpcr if value didn't change.
36358         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36359         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36360         fpsr or fpcr if value didn't change.
36361         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36362         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36363         fpcr if value didn't change.
36364         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36365         to fpsr if value didn't change.
36367 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36369         * nptl/tst-sem3.c: Use test-skeleton.c
36370         (main): Rename to do_test.  Use return instead of
36371         exit.
36372         * nptl/tst-sem4.c: Use test-skeleton.c
36373         (main): Rename to do_test.
36375 2014-04-22  David S. Miller  <davem@davemloft.net>
36377         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36378         (struct sigaction): New struct member __glibc_reserved0, change
36379         type of sa_flags to int.
36381 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36383         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36384         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36386 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36388         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36389         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36391 2014-04-22  Will Newton  <will.newton@linaro.org>
36392             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36394         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36395         (__longjmp): Add longjmp and longjmp_target SystemTap
36396         probes.
36397         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36398         (__sigsetjmp): Add setjmp SystemTap probe.
36400 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36402         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36403         match manual order.
36405 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36407         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36409         * sysdeps/powerpc/fpu/fenv_private.h
36410         (libc_feholdexcept_setroundl_ctx): Define to
36411         libc_feholdexcept_setround_ppc_ctx.
36412         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36413         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36414         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36415         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36417 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36419         * sysdeps/aarch64/math-tests.h: New file.
36421 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36423         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36424         New.
36425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36426         Check and set bit_AVX2_Usable.
36427         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36428         macro.
36429         (bit_AVX2): Likewise.
36430         (index_AVX2_Usable): Likewise.
36431         (CPUID_AVX2): Likewise.
36432         (HAS_AVX2): Likewise.
36434 2014-04-17  Will Newton  <will.newton@linaro.org>
36436         * manual/setjmp.texi (System V contexts): Add note that
36437         calling setcontext on a context created by a call to a
36438         signal handler is undefined.  Update text to note that
36439         setcontext from a signal handler is possible but not
36440         recommended.
36442         [BZ #16629]
36443         * stdlib/tst-setcontext.c: Include signal.h.
36444         (main): Check that the signal stack before and
36445         after swapcontext is the same.
36447         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36448         Re-implement to restore registers in user code and avoid
36449         rt_sigreturn system call.
36451 2014-04-17  Wilco  <wdijkstr@arm.com>
36453         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36454         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36455         * math/test-fenv.c: Skip exception trap tests on targets which only
36456         support non-stop mode.
36458 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36459             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36461         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36462         (libc_feholdsetround_aarch64_ctx)
36463         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36464         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36465         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36466         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36467         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36468         (libc_feresetround_noexl_ctx): Define.
36470 2014-04-16  Richard Henderson  <rth@redhat.com>
36472         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36474         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36475         unwind tables.
36477         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36478         const from the non-libc, non-ldso copy.
36480         * sysdeps/alpha/libm-test-ulps: Regenerate.
36482 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36483             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36485         * sysdeps/aarch64/fpu/math_private.h: New file.
36487 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36489         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36491 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36493         [BZ #16275]
36494         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36495         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36496         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36497         Intel MPX bound registers before _dl_profile_fixup.
36498         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36499         registers after _dl_profile_fixup.  Save and restore bound
36500         registers bnd0/bnd1 when calling _dl_call_pltexit.
36501         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36502         (LR_BND_OFFSET): Likewise.
36503         (LRV_BND0_OFFSET): Likewise.
36504         (LRV_BND1_OFFSET): Likewise.
36506 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36508         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36509         to...
36510         * sysdeps/mach/hurd/i386/tls.h: ... here.
36511         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36512         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36513         fields.
36515 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36517         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36519 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36521         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36523 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36525         [BZ #14770]
36526         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36527         * sysdeps/s390/configure: Regenerate.
36529         [BZ #16824]
36530         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36531         Set round-to-nearest internally to reduce error accumulation.
36533 2014-04-16  Alan Modra  <amodra@gmail.com>
36535         [BZ #16740]
36536         [BZ #16619]
36537         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36538         * math/libm-test.inc (frexp_test_data): Add tests.
36539         * NEWS: Update fixed bug list.
36541 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36543         * benchtests/Makefile: Depend on libraries in build directory.
36544         (bench-math): Separate out math tests.
36545         (bench-pthread): Separate out pthread tests.
36546         (bench): Include math and pthread tests.
36548 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36550         [BZ #16831]
36551         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36552         _dl_debug_initialize.
36554         * configure.ac: Remove SELinux header check.
36555         * configure: Regenerate.
36556         * nscd/selinux.c (perms): Array of const char* to permission names.
36557         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36558         default policy. Call string_to_security_class and string_to_av_perm to
36559         translate strings. Enforce default policy and call avs_has_perm with
36560         results of translated strings.
36562 2014-04-13  David S. Miller  <davem@davemloft.net>
36564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36566 2014-04-12  Allan McRae  <allan@archlinux.org>
36568         [BZ #16838]
36569         * manual/string.texi (Collation Functions): Fix qsort argument
36570         order in example.
36571         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36573 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36575         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36576         Make the test a no-op if there are no exceptions defined.
36578 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36580         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36581         enable-hardcoded-path-in-tests
36583 2014-04-11  Will Newton  <will.newton@linaro.org>
36585         * benchtests/Makefile (extra-objs): Add json-lib.o.
36586         (bench-func): Tidy up JSON output.
36587         * benchtests/bench-skeleton.c: Include json-lib.h.
36588         (main): Use JSON library functions to do output of
36589         benchmark results.
36590         * benchtests/bench-timing-type.c (main): Output the
36591         timing type simply, leaving formatting to the user.
36592         * benchtests/json-lib.c: New file.
36593         * benchtests/json-lib.h: Likewise.
36595 2014-04-11  Torvald Riegel  <triegel@redhat.com>
36597         [BZ #15215]
36598         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36599         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
36600         memory barriers.  Add comments.
36601         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36602         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36603         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36604         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36605         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36606         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36608 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36610         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36611         * sysdeps/s390/s390-64/configure.ac: ... this ...
36612         * sysdeps/s390/configure.ac: ... to here.
36613         * sysdeps/s390/s390-32/configure: Delete file.
36614         * sysdeps/s390/s390-64/configure: Delete file.
36615         * sysdeps/s390/configure: Regenerate.
36617 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
36619         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36621 2014-04-11  Will Newton  <will.newton@linaro.org>
36623         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36624         to zero if it is not defined elsewhere.  (mtrim): Test
36625         the value of MALLOC_DEBUG with #if rather than #ifdef.
36627 2014-04-10 Torvald Riegel  <triegel@redhat.com>
36629         * benchtests/pthread_once-inputs: New file.
36630         * benchtests/pthread_once-source.c: New file.
36631         * benchtests/README: Update documentation.
36633 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
36634             H.J. Lu  <hongjiu.lu@intel.com>
36636         [BZ #16275]
36637         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36638         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36639         * sysdeps/x86_64/configure: Regenerated.
36640         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36641         macro.
36642         (REGISTER_SAVE_RAX): Likewise.
36643         (REGISTER_SAVE_RCX): Likewise.
36644         (REGISTER_SAVE_RDX): Likewise.
36645         (REGISTER_SAVE_RSI): Likewise.
36646         (REGISTER_SAVE_RDI): Likewise.
36647         (REGISTER_SAVE_R8): Likewise.
36648         (REGISTER_SAVE_R9): Likewise.
36649         (REGISTER_SAVE_BND0): Likewise.
36650         (REGISTER_SAVE_BND1): Likewise.
36651         (REGISTER_SAVE_BND2): Likewise.
36652         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
36653         bound registers when calling _dl_fixup.
36655 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36657         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36658         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36659         of its definition.
36660         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36661         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36662         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36663         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36664         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36665         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36666         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36668 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
36670         [BZ #15514]
36671         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36672         pathconf(_PC_NAME_MAX).
36674 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36676         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36677         Remove macro usage.
36678         (__PTHREAD_SPINS): Move definition to ...
36679         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36680         (__PTHREAD_SPINS): ... here.
36681         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36682         (__PTHREAD_SPIN): Likewise.
36683         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36684         (__PTHREAD_SPIN): Likewise.
36685         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36686         (__PTHREAD_SPIN): Likewise.
36687         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36688         (__PTHREAD_SPIN): Likewise.
36689         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36690         (__PTHREAD_SPIN): Likewise.
36691         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36692         (__PTHREAD_SPIN): Likewise.
36693         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36694         (__PTHREAD_SPIN): Likewise.
36695         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36696         (__PTHREAD_SPIN): Likewise.
36697         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36698         (__PTHREAD_SPIN): Likewise.
36699         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36700         (__PTHREAD_SPIN): Likewise.
36701         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36702         (__PTHREAD_SPIN): Likewise.
36703         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36704         (__PTHREAD_SPIN): Likewise.
36706         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36707         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36708         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36709         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36710         imply folder.
36711         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36712         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36713         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36714         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36715         correct imply path.
36716         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36717         strlen symbol for non multi-arch builds.
36718         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36719         missing hidden_def and weak_alias.
36721 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
36723         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36725 2014-04-07  Will Newton  <will.newton@linaro.org>
36727         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36728         and contents.  [!_LIBC] Remove #ifndef and contents.
36729         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
36730         * string/memccpy.c (__memccpy): Use ANSI prototype.
36731         * string/memfrob.c (memfrob): Likewise.
36732         * string/strcoll.c (STRCOLL): Likewise.
36733         * string/strlen.c (strlen): Likewise.
36734         * string/strtok.c (STRTOK): Likewise.
36735         * string/strcat.c: Remove unused #include of memcopy.h.
36736         (strcat): Use ANSI prototype.
36737         * string/strchr.c: Remove unused #include of memcopy.h.
36738         (strchr): Use ANSI prototype.
36739         * string/strcmp.c: Remove unused #include of memcopy.h.
36740         (strcmp): Use ANSI prototype.
36741         * string/strcpy.c: Remove unused #include of memcopy.h.
36742         (strcpy): Use ANSI prototype.
36744 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36746         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36747         * config.make.in (config-extra-cppflags): Set it from
36748         libc_extra_cppflags.
36749         * configure.ac (libc_extra_cflags): Make it accumulate over
36750         configure fragments.
36751         (libc_extra_cppflags): New flag.
36752         * configure. Regenerate.
36753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36754         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36755         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36758         [BZ #16815]
36759         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36760         result for FE_DOWNWARD rounding mode.
36761         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36762         Likewise.
36763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36765 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
36767         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36768         in function argument name.
36770 2014-04-03  David Svoboda  <svoboda@cert.org>
36772         [BZ #5666]
36773         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36774         explicitly.
36776 2014-04-03  Roland McGrath  <roland@hack.frob.com>
36778         * elf/dl-unmap-segments.h: New file.
36779         * sysdeps/generic/ldsodefs.h
36780         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36781         * elf/dl-close.c: Include <dl-unmap-segments.h>.
36782         * elf/dl-fptr.c: Likewise.
36783         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36784         * sysdeps/aarch64/tlsdesc.c: Likewise.
36785         * sysdeps/arm/tlsdesc.c: Likewise.
36786         * sysdeps/i386/tlsdesc.c: Likewise.
36787         * sysdeps/tile/dl-runtime.c: Likewise.
36788         * sysdeps/x86_64/tlsdesc.c: Likewise.
36789         * elf/dl-load.h: New file.
36790         * elf/dl-load.c: Include it.
36791         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36792         Macros moved to dl-load.h.
36793         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36794         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36795         Use _dl_unmap_segments in place of __munmap.
36796         Break out segment-mapping loop into ...
36797         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36799 2014-04-03  Will Newton  <will.newton@linaro.org>
36801         * elf/dl-lookup.c (do_lookup_x): Remove comment
36802         referring to nested function and move variable
36803         declarations down to before first use.
36805 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
36807         [BZ #16799]
36808         [BZ #16800]
36809         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
36810         with 0 numerator.
36811         * math/s_catanf.c (__catanf): Likewise.
36812         * math/s_catanh.c (__catanh): Likewise.
36813         * math/s_catanhf.c (__catanhf): Likewise.
36814         * math/s_catanhl.c (__catanhl): Likewise.
36815         * math/s_catanl.c (__catanl): Likewise.
36816         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36817         by positive zero when computing -Inf result.
36818         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36819         (catanh_test): Likewise.
36820         * sysdeps/i386/fpu/libm-test-ulps: Update.
36821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36823         [BZ #16789]
36824         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36825         instead of using underflowing value in computing result.
36826         * math/s_clog10.c (__clog10): Likewise.
36827         * math/s_clog10f.c (__clog10f): Likewise.
36828         * math/s_clog10l.c (__clog10l): Likewise.
36829         * math/s_clogf.c (__clogf): Likewise.
36830         * math/s_clogl.c (__clogl): Likewise.
36831         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36832         (clog10_test): Likewise.
36833         * sysdeps/i386/fpu/libm-test-ulps: Update.
36834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36836 2014-04-02  Alan Modra  <amodra@gmail.com>
36838         [BZ #16739]
36839         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36840         output when value is near a power of two.  Use int64_t for lx and
36841         remove casts.  Use decimal rather than hex exponent constants.
36842         Don't use long double multiplication when double will suffice.
36843         * math/libm-test.inc (nextafter_test_data): Add tests.
36844         * NEWS: Add 16739 and 16786 to bug list.
36846         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36848         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36850 2014-04-01  Will Newton  <will.newton@linaro.org>
36852         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36853         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
36855 2014-04-01  Florian Weimer  <fweimer@redhat.com>
36857         [BZ #13347]
36858         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36859         * nptl/tst-setuid2.c: New file.
36860         * nptl/Makefile (xtests): Add tst-setuid2.
36862 2014-04-01  Alan Modra  <amodra@gmail.com>
36864         [BZ #16786]
36865         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36867 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36869         [BZ #6803]
36870         [BZ #6804]
36871         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36872         set errno as appropriate.
36873         * math/w_scalbf.c (__scalbf): Likewise.
36874         * math/w_scalbl.c (__scalbl): Likewise.
36875         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36876         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36877         * math/libm-test.inc (scalb_test_data): Add errno expectations.
36878         Add more NaN tests.
36880         [BZ #16349]
36881         * math/w_atan2.c: Include <errno.h>.
36882         (__atan2): Set errno for result underflowing to zero.
36883         * math/w_atan2f.c: Include <errno.h>.
36884         (__atan2f): Set errno for result underflowing to zero.
36885         * math/w_atan2l.c: Include <errno.h>.
36886         (__atan2l): Set errno for result underflowing to zero.
36887         * math/auto-libm-test-in: Don't allow missing errno for some atan2
36888         tests.
36889         * math/auto-libm-test-out: Regenerated.
36891 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36893         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36894         Encode instruction correctly in little endian.
36895         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36896         Likewise.
36897         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36898         Likewise.
36899         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36900         Likewise.
36901         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36902         Likewise.
36904 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36906         [BZ #9894]
36907         * sysdeps/unix/sysv/linux/kernel-features.h
36908         [__sparc__ && !__arch64__ && !__sparc_v9__]
36909         (__ASSUME_SET_ROBUST_LIST): Do not define.
36910         [__sparc__ && !__arch64__ && !__sparc_v9__]
36911         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36912         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36913         Likewise.
36914         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36915         (__ASSUME_FUTEX_LOCK_PI): Undefine.
36916         (__ASSUME_REQUEUE_PI): Likewise.
36917         (__ASSUME_SET_ROBUST_LIST): Likewise.
36918         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36919         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36920         Undefine.
36921         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36922         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36923         Likewise.
36924         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36925         Likewise.
36926         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36927         Likewise.
36928         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36929         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36930         Undefine.
36931         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36932         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36933         Likewise.
36935         [BZ #16648]
36936         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36937         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36938         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36940 2014-03-31  Will Newton  <will.newton@linaro.org>
36942         * benchtests/Makefile (bench): Add ffs and ffsll to list
36943         of tests.
36944         * benchtests/ffs-inputs: New file.
36945         * benchtests/ffsll-inputs: Likewise.
36947 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
36949         [BZ #16770]
36950         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36951         too large before casting to int.
36952         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36953         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36954         * math/libm-test.inc (scalb_test_data): Add more tests.
36956 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36958         * benchtests/Makefile (DETAILED_OPT): New make option.
36959         (bench-func): Run benchmark program with -d if DETAILED_OPT is
36960         set.
36961         * benchtests/bench-skeleton.c: Include stdbool.h.
36962         (main): Store and print timings per input.
36963         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36964         member to each argument value.
36965         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36966         (_print_arg_data): Initialize per-input timing to 0.
36968         * benchtests/Makefile (timing-type): New binary.
36969         (bench-clean): Also remove bench-timing-type.
36970         (bench): New target for timing-type.
36971         (bench-func): Print output in JSON format.
36972         * benchtests/bench-skeleton.c (main): Print output in JSON
36973         format.
36974         * benchtests/bench-timing-type.c: New file.
36975         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
36976         (TIMING_PRINT_STATS): Remove.
36977         * benchtests/scripts/bench.py (_print_arg_data): Store variant
36978         name separately.
36980         * benchtests/bench-modf.c: Remove.
36981         * benchtests/modf-inputs: New inputs file.
36983 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
36985         [BZ #16362]
36986         * math/s_clog10.c (M_PI_LOG10E): New macro.
36987         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
36988         imaginary parts are 0.
36989         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
36990         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
36991         imaginary parts are 0.
36992         * math/s_clog10l.c (M_PI_LOG10El): New macro.
36993         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
36994         imaginary parts are 0.
36995         * math/libm-test.inc (clog10_test_data): Update expected results
36996         for when real and imaginary parts are 0.
36998 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37000         * elf/dl-load.c: Finish conversion of __builtin_expect into
37001         __glibc_{un}likely.
37003 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37005         [BZ #16348]
37006         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37007         1+x for argument with exponent below -67.
37008         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37009         Likewise.
37010         * math/auto-libm-test-in: Add more tests of exp.
37011         * math/auto-libm-test-out: Regenerated.
37013 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37015         [BZ #16759]
37016         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37017         (nscd_getnetgrent): Use it.
37019         [BZ #16760]
37020         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37021         of stpcpy.
37023 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37025         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37026         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37027         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37028         (lll_robust_unlock): Remove out of line section. Use cfi
37029         intrinsics.
37030         (LLL_STUB_UNWIND_INFO*): Remove.
37031         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37032         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37033         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37034         (lll_robust_unlock): Remove out of line section. Use cfi
37035         intrinsics.
37036         (LLL_STUB_UNWIND_INFO*): Remove.
37038 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37040         [BZ #16758]
37041         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37042         blank values.
37044 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37046         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37048 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37050         [BZ #16198]
37051         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37052         fnstenv.
37053         * math/test-fenv-preserve.c: New file.
37054         * math/Makefile (tests): Add test-fenv-preserve.
37056 2014-03-26  Will Newton <will.newton@linaro.org>
37058         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37060 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37062         * scripts/versionlist.awk: Partition the version sets and emit all
37063         GLIBC_* (sorted) before all others (sorted).
37065 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37067         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37068         GLIBC_2.2.5 version.
37070 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37072         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37073         calls.
37075         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37076         previous change.
37078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37080 2014-03-25  Andreas Schwab  <schwab@suse.de>
37082         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37083         label to be used after in6ailist is initialized.
37085 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37087         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37088         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37090 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37092         [BZ #16357]
37093         [BZ #16599]
37094         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37095         min_plus_half.
37096         (fp_formats): Update initializers.
37097         (init_fp_formats): Initialize new field.
37098         (output_for_one_input_case): Allow underflow for results up to
37099         min_plus_half.
37100         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37101         * math/auto-libm-test-in: Don't mark some underflows from asin and
37102         atanh as spurious.
37103         * math/auto-libm-test-out: Regenerated.
37104         * sysdeps/i386/fpu/libm-test-ulps: Update.
37105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37107 2014-03-25  Andreas Schwab  <schwab@suse.de>
37109         * libio/Makefile (tst-ftell-partial-wide-ENV)
37110         (tst-ftell-active-handler-ENV): Define.
37112 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37114         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37116 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37118         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37120 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37122         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37123         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37124         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37126 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37128         [BZ #16634]
37129         * elf/dl-load.c (open_verify): Add mode parameter.
37130         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37131         (open_path): Change from boolean 'secure' to complete flag 'mode'
37132         (_dl_map_object): Adjust.
37133         * elf/Makefile (tests): Add tst-dlopen-aout.
37134         * elf/tst-dlopen-aout.c: New test.
37136 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37138         [BZ #16714]
37139         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37140         (struct stat): Rename member pad0 to __glibc_reserved0.
37142         [BZ #16712]
37143         * sysdeps/s390/s390-32/bits/wordsize.h
37144         (__WORDSIZE32_SIZE_ULONG): New define.
37145         * sysdeps/s390/s390-64/bits/wordsize.h
37146         (__WORDSIZE32_SIZE_ULONG): Likewise.
37147         * sysdeps/generic/stdint.h (SIZE_MAX):
37148         Define as UL if __WORDSIZE32_SIZE_ULONG.
37150         [BZ #16713]
37151         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37152         (__glibc_reserved0): New variable.
37153         (sa_flags): Change type to int.
37155         * posix/Makefile (before-compile): Use += before-compile instead
37156         of a :=.
37158         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37159         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37161 2014-03-20  Andreas Schwab  <schwab@suse.de>
37163         [BZ #16743]
37164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37165         non-matching result from nscd.
37167 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37169         * scripts/bench.py: Moved to ...
37170         * benchtests/scripts/bench.py: ... here.
37171         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37173 2014-03-24  Andreas Schwab  <schwab@suse.de>
37175         [BZ #16002]
37176         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37177         alloca_account and account alloca use for struct in6ailist.
37179 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37181         [BZ #16284]
37182         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37183         rounding mode to recompute results that overflow to infinity or
37184         underflow to zero.
37185         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37186         bug 16284.
37187         * math/auto-libm-test-out: Regenerated.
37188         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37189         (ccosh_test): Likewise.
37190         (csin_test_data): Use plus_oflow.
37191         (csin_test): Use ALL_RM_TEST.
37192         (csinh_test_data): Use plus_oflow.
37193         (csinh_test): Use ALL_RM_TEST.
37194         * sysdeps/i386/fpu/libm-test-ulps: Update.
37195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37197 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37199         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37200         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37201         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37203         [BZ #16731]
37204         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37205         when x - 1 is zero.
37206         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37207         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37208         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37209         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37210         argument is 1.
37211         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37212         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37213         zero.
37214         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37215         * sysdeps/i386/fpu/libm-test-ulps: Update.
37216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37218 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37220         * scripts/bench.pl: Remove file.
37221         * scripts/bench.py: New benchmark script.
37222         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37223         * benchtests/README: Mention python dependency.
37224         * scripts/pylintrc: New file.
37225         * scripts/pylint: New file.
37227         * bits/mathdef.h: Use #ifdef instead of #if.
37228         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37229         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37230         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37231         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37232         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37233         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37235 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37236             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37238         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37240         and strpbrk-ppc64 objects.
37241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37242         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37243         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37244         multiarch strpbrk for POWER7.
37245         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37246         multiarch strpbrk for PPC64.
37247         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37248         ifunc selector.
37249         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37250         strpbrk for POWER7.
37252 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37254         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37255         (atan_test): Likewise.
37256         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37257         (atanh_test): Use ALL_RM_TEST.
37258         (atan2_test_data): Likewise.
37259         (cabs_test): Likewise.
37260         (cacosh_test): Likewise.
37261         (carg_test): Likewise.
37262         (casin_test): Likewise.
37263         (casinh_test): Likewise.
37264         (cbrt_test): Likewise.
37265         (csqrt_test): Likewise.
37266         (erf_test): Likewise.
37267         (erfc_test): Likewise.
37268         (pow10_test): Likewise.
37269         (exp2_test): Likewise.
37270         (hypot_test): Likewise.
37271         (j0_test): Likewise.
37272         (j1_test): Likewise.
37273         (lgamma_test): Likewise.
37274         (gamma_test): Likewise.
37275         (sincos_test): Likewise.
37276         (tanh_test): Likewise.
37277         (y0_test): Likewise.
37278         (y1_test): Likewise.
37279         * sysdeps/i386/fpu/libm-test-ulps: Update.
37280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37282 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37284         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37286         and strcspn-ppc64 objects.
37287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37288         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37289         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37290         multiarch strcspn for POWER7.
37291         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37292         multiarch strcspn for PPC64.
37293         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37294         ifunc selector.
37295         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37296         strcspn for POWER7.
37298 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37300         * math/gen-libm-test.pl (generate_testfile): Expect only function
37301         name as argument to AUTO_TESTS_* and pass results for all rounding
37302         modes to parse_args.
37303         (parse_auto_input): Separate inputs of automatic tests from
37304         outputs before storing in %auto_tests.
37305         * math/libm-test.inc (acos_test_data): Update call to
37306         AUTO_TESTS_f_f.
37307         (acos_test): Use ALL_RM_TEST.
37308         (acos_tonearest_test_data): Remove.
37309         (acos_test_tonearest): Likewise.
37310         (acos_towardzero_test_data): Likewise.
37311         (acos_test_towardzero): Likewise.
37312         (acos_downward_test_data): Likewise.
37313         (acos_test_downward): Likewise.
37314         (acos_upward_test_data): Likewise.
37315         (acos_test_upward): Likewise.
37316         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37317         (asin_test_data): Likewise.
37318         (asin_test): Use ALL_RM_TEST.
37319         (asin_tonearest_test_data): Remove.
37320         (asin_test_tonearest): Likewise.
37321         (asin_towardzero_test_data): Likewise.
37322         (asin_test_towardzero): Likewise.
37323         (asin_downward_test_data): Likewise.
37324         (asin_test_downward): Likewise.
37325         (asin_upward_test_data): Likewise.
37326         (asin_test_upward): Likewise.
37327         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37328         (atan_test_data): Likewise.
37329         (atanh_test_data): Likewise.
37330         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37331         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37332         (carg_test_data): Likewise.
37333         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37334         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37335         (ccosh_test_data): Likewise.
37336         (cexp_test_data): Likewise.
37337         (clog_test_data): Likewise.
37338         (clog10_test_data): Likewise.
37339         (cos_test_data): Update call to AUTO_TESTS_f_f.
37340         (cos_test): Use ALL_RM_TEST.
37341         (cos_tonearest_test_data): Remove.
37342         (cos_test_tonearest): Likewise.
37343         (cos_towardzero_test_data): Likewise.
37344         (cos_test_towardzero): Likewise.
37345         (cos_downward_test_data): Likewise.
37346         (cos_test_downward): Likewise.
37347         (cos_upward_test_data): Likewise.
37348         (cos_test_upward): Likewise.
37349         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37350         (cosh_test): Use ALL_RM_TEST.
37351         (cosh_tonearest_test_data): Remove.
37352         (cosh_test_tonearest): Likewise.
37353         (cosh_towardzero_test_data): Likewise.
37354         (cosh_test_towardzero): Likewise.
37355         (cosh_downward_test_data): Likewise.
37356         (cosh_test_downward): Likewise.
37357         (cosh_upward_test_data): Likewise.
37358         (cosh_test_upward): Likewise.
37359         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37360         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37361         (ctan_test_data): Likewise.
37362         (ctan_test): Use ALL_RM_TEST.
37363         (ctan_tonearest_test_data): Remove.
37364         (ctan_test_tonearest): Likewise.
37365         (ctan_towardzero_test_data): Likewise.
37366         (ctan_test_towardzero): Likewise.
37367         (ctan_downward_test_data): Likewise.
37368         (ctan_test_downward): Likewise.
37369         (ctan_upward_test_data): Likewise.
37370         (ctan_test_upward): Likewise.
37371         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37372         (ctanh_test): Use ALL_RM_TEST.
37373         (ctanh_tonearest_test_data): Remove.
37374         (ctanh_test_tonearest): Likewise.
37375         (ctanh_towardzero_test_data): Likewise.
37376         (ctanh_test_towardzero): Likewise.
37377         (ctanh_downward_test_data): Likewise.
37378         (ctanh_test_downward): Likewise.
37379         (ctanh_upward_test_data): Likewise.
37380         (ctanh_test_upward): Likewise.
37381         (erf_test_data): Update call to AUTO_TESTS_f_f.
37382         (erfc_test_data): Likewise.
37383         (exp_test_data): Likewise.
37384         (exp_test): Use ALL_RM_TEST.
37385         (exp_tonearest_test_data): Remove.
37386         (exp_test_tonearest): Likewise.
37387         (exp_towardzero_test_data): Likewise.
37388         (exp_test_towardzero): Likewise.
37389         (exp_downward_test_data): Likewise.
37390         (exp_test_downward): Likewise.
37391         (exp_upward_test_data): Likewise.
37392         (exp_test_upward): Likewise.
37393         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37394         (exp10_test): Use ALL_RM_TEST.
37395         (exp10_tonearest_test_data): Remove.
37396         (exp10_test_tonearest): Likewise.
37397         (exp10_towardzero_test_data): Likewise.
37398         (exp10_test_towardzero): Likewise.
37399         (exp10_downward_test_data): Likewise.
37400         (exp10_test_downward): Likewise.
37401         (exp10_upward_test_data): Likewise.
37402         (exp10_test_upward): Likewise.
37403         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37404         (expm1_test_data): Likewise.
37405         (expm1_test): Use ALL_RM_TEST.
37406         (expm1_tonearest_test_data): Remove.
37407         (expm1_test_tonearest): Likewise.
37408         (expm1_towardzero_test_data): Likewise.
37409         (expm1_test_towardzero): Likewise.
37410         (expm1_downward_test_data): Likewise.
37411         (expm1_test_downward): Likewise.
37412         (expm1_upward_test_data): Likewise.
37413         (expm1_test_upward): Likewise.
37414         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37415         (fma_test): Use ALL_RM_TEST.
37416         (fma_towardzero_test_data): Remove.
37417         (fma_test_towardzero): Likewise.
37418         (fma_downward_test_data): Likewise.
37419         (fma_test_downward): Likewise.
37420         (fma_upward_test_data): Likewise.
37421         (fma_test_upward): Likewise.
37422         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37423         (j0_test_data): Update call to AUTO_TESTS_f_f.
37424         (j1_test_data): Likewise.
37425         (jn_test_data): Update call to AUTO_TESTS_if_f.
37426         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37427         (log_test_data): Update call to AUTO_TESTS_f_f.
37428         (log10_test_data): Likewise.
37429         (log1p_test_data): Likewise.
37430         (log2_test_data): Likewise.
37431         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37432         (pow_tonearest_test_data): Likewise.
37433         (sin_test_data): Update call to AUTO_TESTS_f_f.
37434         (sin_test): Use ALL_RM_TEST.
37435         (sin_tonearest_test_data): Remove.
37436         (sin_test_tonearest): Likewise.
37437         (sin_towardzero_test_data): Likewise.
37438         (sin_test_towardzero): Likewise.
37439         (sin_downward_test_data): Likewise.
37440         (sin_test_downward): Likewise.
37441         (sin_upward_test_data): Likewise.
37442         (sin_test_upward): Likewise.
37443         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37444         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37445         (sinh_test): Use ALL_RM_TEST.
37446         (sinh_tonearest_test_data): Remove.
37447         (sinh_test_tonearest): Likewise.
37448         (sinh_towardzero_test_data): Likewise.
37449         (sinh_test_towardzero): Likewise.
37450         (sinh_downward_test_data): Likewise.
37451         (sinh_test_downward): Likewise.
37452         (sinh_upward_test_data): Likewise.
37453         (sinh_test_upward): Likewise.
37454         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37455         (sqrt_test): Use ALL_RM_TEST.
37456         (sqrt_tonearest_test_data): Remove.
37457         (sqrt_test_tonearest): Likewise.
37458         (sqrt_towardzero_test_data): Likewise.
37459         (sqrt_test_towardzero): Likewise.
37460         (sqrt_downward_test_data): Likewise.
37461         (sqrt_test_downward): Likewise.
37462         (sqrt_upward_test_data): Likewise.
37463         (sqrt_test_upward): Likewise.
37464         (tan_test_data): Update call to AUTO_TESTS_f_f.
37465         (tan_test): Use ALL_RM_TEST.
37466         (tan_tonearest_test_data): Remove.
37467         (tan_test_tonearest): Likewise.
37468         (tan_towardzero_test_data): Likewise.
37469         (tan_test_towardzero): Likewise.
37470         (tan_downward_test_data): Likewise.
37471         (tan_test_downward): Likewise.
37472         (tan_upward_test_data): Likewise.
37473         (tan_test_upward): Likewise.
37474         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37475         (tgamma_test_data): Likewise.
37476         (y0_test_data): Likewise.
37477         (y1_test_data): Likewise.
37478         (yn_test_data): Update call to AUTO_TESTS_if_f.
37479         (main): Do not call removed functions.
37481 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37483         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37484         (ldexp_test_data): Remove.
37485         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37486         scalbn_test_data.
37487         (scalb_test): Use ALL_RM_TEST.
37489 2014-03-19  Andreas Schwab  <schwab@suse.de>
37491         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37493 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37495         [BZ #16649]
37496         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37497         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37498         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37499         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37500         (__ASSUME_PREADV): Undefine.
37501         (__ASSUME_PWRITEV): Likewise.
37503 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37505         * bits/mman-linux.h: Add comment about non-Linux use.
37506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37507         bits/mman-linux.h resting place.
37509         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37510         * bits/mman-linux.h: ... here.
37512 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37514         * conform/conformtest.pl: Add standard definition when calling C
37515         preprocessor on data files.
37516         (checknamespace): Remove unused variable.
37518 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37520         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37521         minus_oflow, plus_uflow and minus_uflow in expected results.
37522         * math/libm-test.inc (scalbn_test_data): Add more tests of
37523         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
37524         minus_uflow.
37525         (scalbn_test): Use ALL_RM_TEST.
37526         (scalbln_test_data): Add more tests of negative arguments.  Use
37527         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37528         (scalbln_test): Use ALL_RM_TEST.
37530 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37532         * scripts/abilist.awk: Ignore symbols marked with .hidden.
37534 2014-03-18  Will Newton  <will.newton@linaro.org>
37536         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37537         inaccurate comment.
37539 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37541         * Makerules [!subdir] (check-abi): Exit with error status if a
37542         test failed.
37544 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37546         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37547         for rint.  Include results for all rounding modes.
37548         (nearbyint_test): Use ALL_RM_TEST.
37549         (rint_test_data): Include all tests used for nearbyint.
37551 2014-03-17  Will Newton  <will.newton@linaro.org>
37553         * nptl/sysdeps/pthread/pthread.h: Revert previous
37554         change.
37556         * sysdeps/generic/ldsodefs.h: Revert previous
37557         change.
37559         * libio/genops.c: Revert previous change.
37560         * libio/libioP.h: Likewise.
37561         * stdio-common/vfprintf.c: Likewise.
37563         * sysdeps/generic/math_private.h: Revert previous
37564         change.
37566         * sysdeps/generic/math_private.h: Check whether
37567         HAVE_RM_CTX is defined with #ifdef rather
37568         than #if.
37570         * argp/argp-fmtstream.h: Check whether
37571         __STRICT_ANSI__ is defined with #ifdef rather
37572         than #if.
37573         * argp/argp.h: Likewise.
37575         * libio/genops.c: Check whether
37576         _IO_JUMPS_OFFSET is defined with #ifdef rather
37577         than #if.
37578         * libio/libioP.h: Likewise.
37579         * stdio-common/vfprintf.c: Likewise.
37581         * sysdeps/generic/ldsodefs.h: Check whether
37582         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37583         than #if.
37585         * nptl/sysdeps/pthread/pthread.h: Check
37586         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37587         its value.
37589 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37591         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37592         setting O_APPEND.
37593         * libio/tst-ftell-active-handler.c (do_append_test): Add a
37594         test case.
37596         [BZ #16680]
37597         * libio/fileops.c (_IO_file_open): Seek to end of file but
37598         don't cache the offset.
37599         (get_file_offset): Remove function.
37600         (do_ftell): Use cached offset when available.
37601         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37602         don't cache the offset.
37603         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37604         case.
37605         (do_one_test): Call it.
37606         (do_ftell_test): Fix up expected old offset for a+ mode.
37607         * libio/wfileops.c (do_ftell_wide): Used cached offset when
37608         available.
37610         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37611         up test status with function return status.
37612         (do_write_test): Likewise.
37613         (do_append_test): Likewise.
37615         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37616         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37617         Remove.
37619 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37621         * math/gen-libm-test.pl (parse_args): Handle results specified for
37622         each rounding mode separately.
37623         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37624         tests and results from lrint_tonearest_test_data,
37625         lrint_towardzero_test_data, lrint_downward_test_data and
37626         lrint_upward_test_data.
37627         (lrint_test): Use ALL_RM_TEST.
37628         (lrint_tonearest_test_data): Remove.
37629         (lrint_test_tonearest): Likewise.
37630         (lrint_towardzero_test_data): Likewise.
37631         (lrint_test_towardzero): Likewise.
37632         (lrint_downward_test_data): Likewise.
37633         (lrint_test_downward): Likewise.
37634         (lrint_upward_test_data): Likewise.
37635         (lrint_test_upward): Likewise.
37636         (llrint_test_data): Merge in per-rounding-mode tests and results
37637         from llrint_tonearest_test_data, llrint_towardzero_test_data,
37638         llrint_downward_test_data and llrint_upward_test_data.
37639         (llrint_test): Use ALL_RM_TEST.
37640         (llrint_tonearest_test_data): Remove.
37641         (llrint_test_tonearest): Likewise.
37642         (llrint_towardzero_test_data): Likewise.
37643         (llrint_test_towardzero): Likewise.
37644         (llrint_downward_test_data): Likewise.
37645         (llrint_test_downward): Likewise.
37646         (llrint_upward_test_data): Likewise.
37647         (llrint_test_upward): Likewise.
37648         (rint_test_data): Merge in per-rounding-mode tests and results
37649         from rint_tonearest_test_data, rint_towardzero_test_data,
37650         rint_downward_test_data and rint_upward_test_data.  Add
37651         per-rounding-mode results for tests not in those arrays.
37652         (rint_test): Use ALL_RM_TEST.
37653         (rint_tonearest_test_data): Remove.
37654         (rint_test_tonearest): Likewise.
37655         (rint_towardzero_test_data): Likewise.
37656         (rint_test_towardzero): Likewise.
37657         (rint_downward_test_data): Likewise.
37658         (rint_test_downward): Likewise.
37659         (rint_upward_test_data): Likewise.
37660         (rint_test_upward): Likewise.
37661         (main): Don't call removed functions.
37663 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37665         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37666         "Compiled on ..." crapola.  It is anti-useful.
37668 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
37670         * scripts/evaluate-test.sh: Handle fourth argument to determine
37671         whether test run should stop on failure.
37672         * Makeconfig (stop-on-test-failure): New variable.
37673         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37674         $(stop-on-test-failure).
37675         * Makefile (tests): Give a summary of results from testing and
37676         exit with failure status if they include an ERROR or FAIL.
37677         (xtests): Likewise.
37678         * manual/install.texi (Configuring and compiling): Mention
37679         stop-on-test-failure=y.
37680         * INSTALL: Regenerated.
37682 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37684         * scripts/versionlist.awk: New file.
37685         * Makerules [$(build-shared) = yes]
37686         (postclean-generated): Add Versions.def, not Versions.def.v and
37687         Versions.def.v.i.
37688         ($(common-objpfx)Versions.def.v.i): Target removed.
37689         ($(common-objpfx)Versions.def): New target.
37690         ($(common-objpfx)Versions.all): Depend on that rather that
37691         $(common-objpfx)Versions.def.v.
37692         * Versions.def: File removed.
37694         * Makeconfig (+gccwarn): Add -Wundef.
37695         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37696         a dl-sysdep.h breaking its contract.
37697         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37698         * include/stackinfo.h: New file.
37699         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37700         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37701         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37702         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37703         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37704         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37705         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37706         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37707         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37708         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37709         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37710         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37711         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37712         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37713         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37715 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37717         [BZ #16707]
37718         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37719         implementation.
37720         * math/libm-test.inc (round_test_data): Add more tests.
37722         [BZ #16706]
37723         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37724         implementation.
37725         * math/libm-test.inc (nearbyint_test_data): Add more tests.
37727         [BZ #16701]
37728         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37729         implementation.
37730         * math/libm-test.inc (ceil_test_data): Add more tests.
37732         * math/libm-test.inc (trunc_test_data): Add more tests related to
37733         BZ#16414.
37735 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37737         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37738         with #if rather than #ifdef.
37739         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37741 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
37743         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37744         first.  Disable AVX-512 GCC support if assembler doesn't support
37745         it.
37746         * sysdeps/x86_64/configure: Regenerated.
37748 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
37750         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37751         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37752         (__old_pthread_attr_setstack): Likewise.
37753         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37754         [!_STACK_GROWS_DOWN]: Likewise.
37756 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
37758         * config.make.in (have-bash2): Delete.
37759         * configure.ac (libc_cv_have_bash2): Delete.
37760         * configure: Regenerate.
37761         * elf/Makefile (common-ldd-rewrite): Rename to ...
37762         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
37763         (sh-ldd-rewrite): Delete.
37764         (bash-ldd-rewrite): Delete.
37765         (have-bash2): Delete checks.
37766         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37767         ldd-rewrite.
37769         * config.make.in (have-ksh): Delete.
37770         (KSH): Delete.
37771         * configure.ac (libc_cv_have_ksh): Delete.
37772         * configure: Regenerate.
37774         * elf/Makefile: Delete $(have-ksh) check.
37775         ($(objpfx)sotruss): Change KSH to BASH.
37776         * elf/sotruss.ksh: Rename to ...
37777         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
37778         function style to match POSIX.  Drop ksh vim mode setting.
37780         * manual/time.texi (Specifying the Time Zone with TZ): Change
37781         Tuesday to Thursday.
37783         * debug/tst-longjmp_chk2.c: Update header comment.
37784         (stackoverflow_handler): Add comment.  Call assert on pass value.
37786 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
37788         [BZ #16194]
37789         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37790         (HAVE_AVX512_ASM_SUPPORT): Likewise.
37791         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37792         (La_x86_64_vector): Add zmm.
37793         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37794         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37795         ($(objpfx)tst-audit10): New target.
37796         ($(objpfx)tst-audit10.out): Likewise.
37797         (tst-audit10-ENV): New.
37798         (AVX512-CFLAGS): Likewise.
37799         (CFLAGS-tst-audit10.c): Likewise.
37800         (CFLAGS-tst-auditmod10a.c): Likewise.
37801         (CFLAGS-tst-auditmod10b.c): Likewise.
37802         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
37803         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
37804         * sysdeps/x86_64/configure: Regenerated.
37805         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
37806         AVX-512 zmm register support.
37807         (_dl_x86_64_save_sse): Likewise.
37808         (_dl_x86_64_restore_sse): Likewise.
37809         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
37810         size vector registers.
37811         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37812         (ZMM_SIZE): Likewise.
37813         * sysdeps/x86_64/tst-audit10.c: New file.
37814         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37815         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37817 2014-03-13  Roland McGrath  <roland@hack.frob.com>
37819         * configure.ac (HAVE_EHDR_START): New check.
37820         * configure: Regenerated.
37821         * config.h.in (HAVE_EHDR_START): New #undef.
37822         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37823         assuming the lowest-addressed segment maps the start of the file.
37825 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
37827         * INSTALL: Regenerated.
37829 2014-03-13  Will Newton  <will.newton@linaro.org>
37831         * manual/setjmp.texi (System V contexts): Improve
37832         clarity and grammar of documentation.
37834 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
37836         [BZ #16381]
37837         * elf/Makefile (tests): Add tst-pie2.
37838         (tests-pie): Add tst-pie2.
37839         * elf/tst-pie2.c: New file.
37840         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37841         for ET_EXEC.
37842         * elf/rtld.c (map_doit): Load executable as lt_executable.
37843         (dl_main): Likewise.
37845 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
37847         [BZ #16642]
37848         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37849         (__ASSUME_PSELECT): Undefine.
37851 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37853         [BZ #16689]
37854         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37855         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37856         static build.
37857         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37858         selector for static builds.
37860 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37862         [BZ #16695]
37863         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37864         key in the buffer.
37866 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37868         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37869         IFUNC selector for static builds.
37871 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
37873         * sysdeps/mips/math_private.h [__mips_hard_float]
37874         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37875         libc_feresetround_mips_ctx.
37876         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37877         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37878         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37880         [BZ #16677]
37881         * math/s_nextafter.c (__nextafter): Do not return value from
37882         overflowing computation.
37883         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37884         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37885         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37886         Likewise.
37887         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37888         Likewise.
37889         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37890         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37892 2014-03-11  Roland McGrath  <roland@hack.frob.com>
37894         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37895         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37896         Move sfi_sp use from the load-multiple (that no longer sets sp) to
37897         the new mov targetting sp.
37899 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37901         [BZ #16683]
37902         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37903         Define it for static builds as well.
37904         (NO_BZERO_IMPL): Likewise.
37906 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37908         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37909         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37910         multiarch strspn for PPC64.
37911         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37912         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37914         (__libc_ifunc_impl_list): Likewise.
37915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37916         multiarch optimizations
37917         * string/strspn.c (strspn): Using macro to redefine symbol name.
37919 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37920             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37922         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37923         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37924         multiarch strncat for PPC64.
37925         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37926         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37928         (__libc_ifunc_impl_list): Likewise.
37929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37930         multiarch optimizations
37932 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37934         [BZ #16639]
37935         * nscd/nscd.service: Make service type forking.
37937 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37939         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37940         sign in non default rounding modes.
37941         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37943 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
37945         * math/libm-test.inc (ALL_RM_TEST): New macro.
37946         (ceil_test): Use ALL_RM_TEST.
37947         (cimag_test): Likewise.
37948         (conj_test): Likewise.
37949         (copysign_test): Likewise.
37950         (cproj_test): Likewise.
37951         (creal_test): Likewise.
37952         (fabs_test): Likewise.
37953         (floor_test): Likewise.
37954         (fmax_test): Likewise.
37955         (fmin_test): Likewise.
37956         (fmod_test): Likewise.
37957         (fpclassify_test): Likewise.
37958         (frexp_test): Likewise.
37959         (ilogb_test): Likewise.
37960         (isfinite_test): Likewise.
37961         (finite_test): Likewise.
37962         (isgreater_test): Likewise.
37963         (isgreaterequal_test): Likewise.
37964         (isinf_test): Likewise.
37965         (isless_test): Likewise.
37966         (islessequal_test): Likewise.
37967         (islessgreater_test): Likewise.
37968         (isnan_test): Likewise.
37969         (isnormal_test): Likewise.
37970         (issignaling_test): Likewise.
37971         (isunordered_test): Likewise.
37972         (logb_test): Likewise.
37973         (logb_downward_test_data): Remove.
37974         (logb_test_downward): Likewise.
37975         (lround_test): Use ALL_RM_TEST.
37976         (llround_test): Likewise.
37977         (modf_test): Likewise.
37978         (nexttoward_test): Likewise.
37979         (remainder_test): Likewise.
37980         (drem_test): Likewise.
37981         (remainder_tonearest_test_data): Likewise.
37982         (remainder_test_tonearest): Likewise.
37983         (drem_test_tonearest): Likewise.
37984         (remainder_towardzero_test_data): Likewise.
37985         (remainder_test_towardzero): Likewise.
37986         (drem_test_towardzero): Likewise.
37987         (remainder_downward_test_data): Likewise.
37988         (remainder_test_downward): Likewise.
37989         (drem_test_downward): Likewise.
37990         (remainder_upward_test_data): Likewise.
37991         (remainder_test_upward): Likewise.
37992         (drem_test_upward): Likewise.
37993         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
37994         (round_test): Use ALL_RM_TEST.
37995         (signbit_test): Likewise.
37996         (trunc_test): Likewise.
37997         (significand_test): Likewise.
37998         (main): Don't call removed functions.
38000 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38002         [BZ #16674]
38003         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38004         || __USE_XOPEN2K8].
38005         (ILL_ILLOPN): Likewise.
38006         (ILL_ILLADR): Likewise.
38007         (ILL_ILLTRP): Likewise.
38008         (ILL_PRVOPC): Likewise.
38009         (ILL_PRVREG): Likewise.
38010         (ILL_COPROC): Likewise.
38011         (ILL_BADSTK): Likewise.
38012         (FPE_INTDIV): Likewise.
38013         (FPE_INTOVF): Likewise.
38014         (FPE_FLTDIV): Likewise.
38015         (FPE_FLTOVF): Likewise.
38016         (FPE_FLTUND): Likewise.
38017         (FPE_FLTRES): Likewise.
38018         (FPE_FLTINV): Likewise.
38019         (FPE_FLTSUB): Likewise.
38020         (SEGV_MAPERR): Likewise.
38021         (SEGV_ACCERR): Likewise.
38022         (BUS_ADRALN): Likewise.
38023         (BUS_ADRERR): Likewise.
38024         (BUS_OBJERR): Likewise.
38025         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38026         (TRAP_TRACE): Likewise.
38027         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38028         __USE_XOPEN2K8].
38029         (CLD_KILLED): Likewise.
38030         (CLD_DUMPED): Likewise.
38031         (CLD_TRAPPED): Likewise.
38032         (CLD_STOPPED): Likewise.
38033         (CLD_CONTINUED): Likewise.
38034         (POLL_IN): Likewise.
38035         (POLL_OUT): Likewise.
38036         (POLL_MSG): Likewise.
38037         (POLL_ERR): Likewise.
38038         (POLL_PRI): Likewise.
38039         (POLL_HUP): Likewise.
38040         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38041         Likewise.
38042         (ILL_ILLOPN): Likewise.
38043         (ILL_ILLADR): Likewise.
38044         (ILL_ILLTRP): Likewise.
38045         (ILL_PRVOPC): Likewise.
38046         (ILL_PRVREG): Likewise.
38047         (ILL_COPROC): Likewise.
38048         (ILL_BADSTK): Likewise.
38049         (FPE_INTDIV): Likewise.
38050         (FPE_INTOVF): Likewise.
38051         (FPE_FLTDIV): Likewise.
38052         (FPE_FLTOVF): Likewise.
38053         (FPE_FLTUND): Likewise.
38054         (FPE_FLTRES): Likewise.
38055         (FPE_FLTINV): Likewise.
38056         (FPE_FLTSUB): Likewise.
38057         (SEGV_MAPERR): Likewise.
38058         (SEGV_ACCERR): Likewise.
38059         (BUS_ADRALN): Likewise.
38060         (BUS_ADRERR): Likewise.
38061         (BUS_OBJERR): Likewise.
38062         (BUS_MCEERR_AR): Likewise.
38063         (BUS_MCEERR_AO): Likewise.
38064         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38065         (TRAP_TRACE): Likewise.
38066         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38067         __USE_XOPEN2K8].
38068         (CLD_KILLED): Likewise.
38069         (CLD_DUMPED): Likewise.
38070         (CLD_TRAPPED): Likewise.
38071         (CLD_STOPPED): Likewise.
38072         (CLD_CONTINUED): Likewise.
38073         (POLL_IN): Likewise.
38074         (POLL_OUT): Likewise.
38075         (POLL_MSG): Likewise.
38076         (POLL_ERR): Likewise.
38077         (POLL_PRI): Likewise.
38078         (POLL_HUP): Likewise.
38079         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38080         (ILL_ILLOPN): Likewise.
38081         (ILL_ILLADR): Likewise.
38082         (ILL_ILLTRP): Likewise.
38083         (ILL_PRVOPC): Likewise.
38084         (ILL_PRVREG): Likewise.
38085         (ILL_COPROC): Likewise.
38086         (ILL_BADSTK): Likewise.
38087         (FPE_INTDIV): Likewise.
38088         (FPE_INTOVF): Likewise.
38089         (FPE_FLTDIV): Likewise.
38090         (FPE_FLTOVF): Likewise.
38091         (FPE_FLTUND): Likewise.
38092         (FPE_FLTRES): Likewise.
38093         (FPE_FLTINV): Likewise.
38094         (FPE_FLTSUB): Likewise.
38095         (SEGV_MAPERR): Likewise.
38096         (SEGV_ACCERR): Likewise.
38097         (BUS_ADRALN): Likewise.
38098         (BUS_ADRERR): Likewise.
38099         (BUS_OBJERR): Likewise.
38100         (BUS_MCEERR_AR): Likewise.
38101         (BUS_MCEERR_AO): Likewise.
38102         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38103         (TRAP_TRACE): Likewise.
38104         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38105         __USE_XOPEN2K8].
38106         (CLD_KILLED): Likewise.
38107         (CLD_DUMPED): Likewise.
38108         (CLD_TRAPPED): Likewise.
38109         (CLD_STOPPED): Likewise.
38110         (CLD_CONTINUED): Likewise.
38111         (POLL_IN): Likewise.
38112         (POLL_OUT): Likewise.
38113         (POLL_MSG): Likewise.
38114         (POLL_ERR): Likewise.
38115         (POLL_PRI): Likewise.
38116         (POLL_HUP): Likewise.
38117         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38118         Likewise.
38119         (ILL_ILLOPN): Likewise.
38120         (ILL_ILLADR): Likewise.
38121         (ILL_ILLTRP): Likewise.
38122         (ILL_PRVOPC): Likewise.
38123         (ILL_PRVREG): Likewise.
38124         (ILL_COPROC): Likewise.
38125         (ILL_BADSTK): Likewise.
38126         (ILL_BADIADDR): Likewise.
38127         (ILL_BREAK): Likewise.
38128         (FPE_INTDIV): Likewise.
38129         (FPE_INTOVF): Likewise.
38130         (FPE_FLTDIV): Likewise.
38131         (FPE_FLTOVF): Likewise.
38132         (FPE_FLTUND): Likewise.
38133         (FPE_FLTRES): Likewise.
38134         (FPE_FLTINV): Likewise.
38135         (FPE_FLTSUB): Likewise.
38136         (FPE_DECOVF): Likewise.
38137         (FPE_DECDIV): Likewise.
38138         (FPE_DECERR): Likewise.
38139         (FPE_INVASC): Likewise.
38140         (FPE_INVDEC): Likewise.
38141         (SEGV_MAPERR): Likewise.
38142         (SEGV_ACCERR): Likewise.
38143         (SEGV_PSTKOVF): Likewise.
38144         (BUS_ADRALN): Likewise.
38145         (BUS_ADRERR): Likewise.
38146         (BUS_OBJERR): Likewise.
38147         (BUS_MCEERR_AR): Likewise.
38148         (BUS_MCEERR_AO): Likewise.
38149         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38150         (TRAP_TRACE): Likewise.
38151         (TRAP_BRANCH): Likewise.
38152         (TRAP_HWBKPT): Likewise.
38153         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38154         __USE_XOPEN2K8].
38155         (CLD_KILLED): Likewise.
38156         (CLD_DUMPED): Likewise.
38157         (CLD_TRAPPED): Likewise.
38158         (CLD_STOPPED): Likewise.
38159         (CLD_CONTINUED): Likewise.
38160         (POLL_IN): Likewise.
38161         (POLL_OUT): Likewise.
38162         (POLL_MSG): Likewise.
38163         (POLL_ERR): Likewise.
38164         (POLL_PRI): Likewise.
38165         (POLL_HUP): Likewise.
38166         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38167         (ILL_ILLOPN): Likewise.
38168         (ILL_ILLADR): Likewise.
38169         (ILL_ILLTRP): Likewise.
38170         (ILL_PRVOPC): Likewise.
38171         (ILL_PRVREG): Likewise.
38172         (ILL_COPROC): Likewise.
38173         (ILL_BADSTK): Likewise.
38174         (FPE_INTDIV): Likewise.
38175         (FPE_INTOVF): Likewise.
38176         (FPE_FLTDIV): Likewise.
38177         (FPE_FLTOVF): Likewise.
38178         (FPE_FLTUND): Likewise.
38179         (FPE_FLTRES): Likewise.
38180         (FPE_FLTINV): Likewise.
38181         (FPE_FLTSUB): Likewise.
38182         (SEGV_MAPERR): Likewise.
38183         (SEGV_ACCERR): Likewise.
38184         (BUS_ADRALN): Likewise.
38185         (BUS_ADRERR): Likewise.
38186         (BUS_OBJERR): Likewise.
38187         (BUS_MCEERR_AR): Likewise.
38188         (BUS_MCEERR_AO): Likewise.
38189         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38190         (TRAP_TRACE): Likewise.
38191         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38192         __USE_XOPEN2K8].
38193         (CLD_KILLED): Likewise.
38194         (CLD_DUMPED): Likewise.
38195         (CLD_TRAPPED): Likewise.
38196         (CLD_STOPPED): Likewise.
38197         (CLD_CONTINUED): Likewise.
38198         (POLL_IN): Likewise.
38199         (POLL_OUT): Likewise.
38200         (POLL_MSG): Likewise.
38201         (POLL_ERR): Likewise.
38202         (POLL_PRI): Likewise.
38203         (POLL_HUP): Likewise.
38204         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38205         (ILL_ILLOPN): Likewise.
38206         (ILL_ILLADR): Likewise.
38207         (ILL_ILLTRP): Likewise.
38208         (ILL_PRVOPC): Likewise.
38209         (ILL_PRVREG): Likewise.
38210         (ILL_COPROC): Likewise.
38211         (ILL_BADSTK): Likewise.
38212         (FPE_INTDIV): Likewise.
38213         (FPE_INTOVF): Likewise.
38214         (FPE_FLTDIV): Likewise.
38215         (FPE_FLTOVF): Likewise.
38216         (FPE_FLTUND): Likewise.
38217         (FPE_FLTRES): Likewise.
38218         (FPE_FLTINV): Likewise.
38219         (FPE_FLTSUB): Likewise.
38220         (SEGV_MAPERR): Likewise.
38221         (SEGV_ACCERR): Likewise.
38222         (BUS_ADRALN): Likewise.
38223         (BUS_ADRERR): Likewise.
38224         (BUS_OBJERR): Likewise.
38225         (BUS_MCEERR_AR): Likewise.
38226         (BUS_MCEERR_AO): Likewise.
38227         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38228         (TRAP_TRACE): Likewise.
38229         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38230         __USE_XOPEN2K8].
38231         (CLD_KILLED): Likewise.
38232         (CLD_DUMPED): Likewise.
38233         (CLD_TRAPPED): Likewise.
38234         (CLD_STOPPED): Likewise.
38235         (CLD_CONTINUED): Likewise.
38236         (POLL_IN): Likewise.
38237         (POLL_OUT): Likewise.
38238         (POLL_MSG): Likewise.
38239         (POLL_ERR): Likewise.
38240         (POLL_PRI): Likewise.
38241         (POLL_HUP): Likewise.
38242         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38243         (ILL_ILLOPN): Likewise.
38244         (ILL_ILLADR): Likewise.
38245         (ILL_ILLTRP): Likewise.
38246         (ILL_PRVOPC): Likewise.
38247         (ILL_PRVREG): Likewise.
38248         (ILL_COPROC): Likewise.
38249         (ILL_BADSTK): Likewise.
38250         (FPE_INTDIV): Likewise.
38251         (FPE_INTOVF): Likewise.
38252         (FPE_FLTDIV): Likewise.
38253         (FPE_FLTOVF): Likewise.
38254         (FPE_FLTUND): Likewise.
38255         (FPE_FLTRES): Likewise.
38256         (FPE_FLTINV): Likewise.
38257         (FPE_FLTSUB): Likewise.
38258         (SEGV_MAPERR): Likewise.
38259         (SEGV_ACCERR): Likewise.
38260         (BUS_ADRALN): Likewise.
38261         (BUS_ADRERR): Likewise.
38262         (BUS_OBJERR): Likewise.
38263         (BUS_MCEERR_AR): Likewise.
38264         (BUS_MCEERR_AO): Likewise.
38265         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38266         (TRAP_TRACE): Likewise.
38267         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38268         __USE_XOPEN2K8].
38269         (CLD_KILLED): Likewise.
38270         (CLD_DUMPED): Likewise.
38271         (CLD_TRAPPED): Likewise.
38272         (CLD_STOPPED): Likewise.
38273         (CLD_CONTINUED): Likewise.
38274         (POLL_IN): Likewise.
38275         (POLL_OUT): Likewise.
38276         (POLL_MSG): Likewise.
38277         (POLL_ERR): Likewise.
38278         (POLL_PRI): Likewise.
38279         (POLL_HUP): Likewise.
38280         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38281         (ILL_ILLOPN): Likewise.
38282         (ILL_ILLADR): Likewise.
38283         (ILL_ILLTRP): Likewise.
38284         (ILL_PRVOPC): Likewise.
38285         (ILL_PRVREG): Likewise.
38286         (ILL_COPROC): Likewise.
38287         (ILL_BADSTK): Likewise.
38288         (ILL_DBLFLT): Likewise.
38289         (ILL_HARDWALL): Likewise.
38290         (FPE_INTDIV): Likewise.
38291         (FPE_INTOVF): Likewise.
38292         (FPE_FLTDIV): Likewise.
38293         (FPE_FLTOVF): Likewise.
38294         (FPE_FLTUND): Likewise.
38295         (FPE_FLTRES): Likewise.
38296         (FPE_FLTINV): Likewise.
38297         (FPE_FLTSUB): Likewise.
38298         (SEGV_MAPERR): Likewise.
38299         (SEGV_ACCERR): Likewise.
38300         (BUS_ADRALN): Likewise.
38301         (BUS_ADRERR): Likewise.
38302         (BUS_OBJERR): Likewise.
38303         (BUS_MCEERR_AR): Likewise.
38304         (BUS_MCEERR_AO): Likewise.
38305         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38306         (TRAP_TRACE): Likewise.
38307         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38308         __USE_XOPEN2K8].
38309         (CLD_KILLED): Likewise.
38310         (CLD_DUMPED): Likewise.
38311         (CLD_TRAPPED): Likewise.
38312         (CLD_STOPPED): Likewise.
38313         (CLD_CONTINUED): Likewise.
38314         (POLL_IN): Likewise.
38315         (POLL_OUT): Likewise.
38316         (POLL_MSG): Likewise.
38317         (POLL_ERR): Likewise.
38318         (POLL_PRI): Likewise.
38319         (POLL_HUP): Likewise.
38320         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38321         (ILL_ILLOPN): Likewise.
38322         (ILL_ILLADR): Likewise.
38323         (ILL_ILLTRP): Likewise.
38324         (ILL_PRVOPC): Likewise.
38325         (ILL_PRVREG): Likewise.
38326         (ILL_COPROC): Likewise.
38327         (ILL_BADSTK): Likewise.
38328         (FPE_INTDIV): Likewise.
38329         (FPE_INTOVF): Likewise.
38330         (FPE_FLTDIV): Likewise.
38331         (FPE_FLTOVF): Likewise.
38332         (FPE_FLTUND): Likewise.
38333         (FPE_FLTRES): Likewise.
38334         (FPE_FLTINV): Likewise.
38335         (FPE_FLTSUB): Likewise.
38336         (SEGV_MAPERR): Likewise.
38337         (SEGV_ACCERR): Likewise.
38338         (BUS_ADRALN): Likewise.
38339         (BUS_ADRERR): Likewise.
38340         (BUS_OBJERR): Likewise.
38341         (BUS_MCEERR_AR): Likewise.
38342         (BUS_MCEERR_AO): Likewise.
38343         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38344         (TRAP_TRACE): Likewise.
38345         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38346         __USE_XOPEN2K8].
38347         (CLD_KILLED): Likewise.
38348         (CLD_DUMPED): Likewise.
38349         (CLD_TRAPPED): Likewise.
38350         (CLD_STOPPED): Likewise.
38351         (CLD_CONTINUED): Likewise.
38352         (POLL_IN): Likewise.
38353         (POLL_OUT): Likewise.
38354         (POLL_MSG): Likewise.
38355         (POLL_ERR): Likewise.
38356         (POLL_PRI): Likewise.
38357         (POLL_HUP): Likewise.
38358         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38359         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38361         [BZ #16670]
38362         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38363         before #include of <time.h>.
38364         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38365         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38366         (test-xfail-UNIX98/sched.h/conform): Likewise.
38368 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38370         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38371         error absence of trapping exception support.
38372         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38374 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38376         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38377         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38378         * timezone/Makefile (testdata): Move definition above include of
38379         Rules.
38380         (test-zones): New variable.
38381         (tests-special): Add zone files.
38382         (build-testdata): Use $(evaluate-test).
38384         * elf/Makefile (tests-special): Rename tests to end with .out.
38385         ($(objpfx)noload-mem): Likewise.
38386         ($(objpfx)tst-leaks1-mem): Likewise.
38387         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38388         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38389         $(objpfx)test-iconvconfig.out.
38390         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38391         set -e inside subshell and redirect output to file.
38392         * iconvdata/Makefile (generated): Rename tests to end with .out.
38393         Correct type.
38394         (tests-special): Rename tests to end with .out.
38395         ($(objpfx)mtrace-tst-loading): Likewise.
38396         * intl/Makefile (generated): Likewise.
38397         (tests-special): Likewise.
38398         ($(objpfx)mtrace-tst-gettext): Likewise.
38399         * misc/Makefile (generated): Likewise.
38400         (tests-special): Likewise.
38401         ($(objpfx)tst-error1-mem): Likewise.
38402         * nptl/Makefile (tests-special): Likewise.
38403         ($(objpfx)tst-stack3-mem): Likewise.
38404         (generated): Likewise.
38405         * posix/Makefile (generated): Likewise.
38406         (tests-special): Likewise.
38407         (xtests-special): Likewise.
38408         ($(objpfx)tst-fnmatch-mem): Likewise.
38409         ($(objpfx)bug-regex2-mem): Likewise.
38410         ($(objpfx)bug-regex14-mem): Likewise.
38411         ($(objpfx)bug-regex21-mem): Likewise.
38412         ($(objpfx)bug-regex31-mem): Likewise.
38413         ($(objpfx)tst-vfork3-mem): Likewise.
38414         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38415         ($(objpfx)tst-pcre-mem): Likewise.
38416         ($(objpfx)tst-boost-mem): Likewise.
38417         ($(objpfx)bug-ga2-mem): Likewise.
38418         ($(objpfx)bug-glob2-mem): Likewise.
38419         * resolv/Makefile (generate): Likewise.
38420         (tests-special): Likewise.
38421         (xtests-special): Likewise.
38422         (generated): Likewise.
38423         ($(objpfx)mtrace-tst-leaks): Likewise.
38424         ($(objpfx)mtrace-tst-leaks2): Likewise.
38426         * scripts/merge-test-results.sh: New file.
38427         * Makefile (tests-special-notdir): New variable.
38428         (tests): Run merge-test-results.sh.
38429         (xtests): Likewise.
38430         * Rules (tests-special-notdir): New variable.
38431         (xtests-special-notdir): Likewise.
38432         (tests): Run merge-test-results.sh
38433         (xtests): Likewise.
38435         * Makeconfig (test-xfail-name): New variable.
38436         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38437         compute variable name for expected failures.
38438         * conform/Makefile (conformtest-headers-data): New variable.
38439         (conformtest-standards): Likewise.
38440         (conformtest-headers-ISO): Likewise.
38441         (conformtest-headers-ISO99): Likewise.
38442         (conformtest-headers-ISO11): Likewise.
38443         (conformtest-headers-POSIX): Likewise.
38444         (conformtest-headers-XPG3): Likewise.
38445         (conformtest-headers-XPG4): Likewise.
38446         (conformtest-headers-UNIX98): Likewise.
38447         (conformtest-headers-XOPEN2K): Likewise.
38448         (conformtest-headers-POSIX2008): Likewise.
38449         (conformtest-headers-XOPEN2K8): Likewise.
38450         (conformtest-header-list-base): Likewise.
38451         (conformtest-header-list-tests): Likewise.
38452         (conformtest-header-base): Likewise.
38453         (conformtest-header-tests): Likewise.
38454         (tests-special): Add $(conformtest-header-list-tests).  If
38455         [$(fast-check) && !$(cross-compiling)], add
38456         $(conformtest-header-tests) instead of
38457         $(objpfx)run-conformtest.out.
38458         (generated): Add $(conformtest-header-list-base).  If
38459         [$(fast-check) && !$(cross-compiling)], add
38460         $(conformtest-header-base).  Remove previous setting.
38461         ($(conformtest-header-list-tests)): New target.
38462         (test-xfail-run-conformtest): Remove variable.
38463         ($(objpfx)run-conformtest.out): Remove target.
38464         (test-xfail-ISO11/complex.h/conform): New variable.
38465         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38466         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38467         (test-xfail-XPG3/varargs.h/conform): Likewise.
38468         (test-xfail-XPG4/varargs.h/conform): Likewise.
38469         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38470         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38471         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38472         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38473         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38474         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38475         (test-xfail-XPG3/ftw.h/conform): Likewise.
38476         (test-xfail-XPG3/grp.h/conform): Likewise.
38477         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38478         (test-xfail-XPG3/limits.h/conform): Likewise.
38479         (test-xfail-XPG3/pwd.h/conform): Likewise.
38480         (test-xfail-XPG3/search.h/conform): Likewise.
38481         (test-xfail-XPG3/signal.h/conform): Likewise.
38482         (test-xfail-XPG3/stdio.h/conform): Likewise.
38483         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38484         (test-xfail-XPG3/string.h/conform): Likewise.
38485         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38486         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38487         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38488         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38489         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38490         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38491         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38492         (test-xfail-XPG3/termios.h/conform): Likewise.
38493         (test-xfail-XPG3/time.h/conform): Likewise.
38494         (test-xfail-XPG3/unistd.h/conform): Likewise.
38495         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38496         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38497         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38498         (test-xfail-XPG4/netdb.h/conform): Likewise.
38499         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38500         (test-xfail-XPG4/signal.h/conform): Likewise.
38501         (test-xfail-XPG4/stdio.h/conform): Likewise.
38502         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38503         (test-xfail-XPG4/stropts.h/conform): Likewise.
38504         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38505         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38506         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38507         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38508         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38509         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38510         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38511         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38512         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38513         (test-xfail-XPG4/termios.h/conform): Likewise.
38514         (test-xfail-XPG4/ucontext.h/conform): Likewise.
38515         (test-xfail-XPG4/unistd.h/conform): Likewise.
38516         (test-xfail-XPG4/utmpx.h/conform): Likewise.
38517         (test-xfail-POSIX/sched.h/conform): Likewise.
38518         (test-xfail-POSIX/signal.h/conform): Likewise.
38519         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38520         (test-xfail-POSIX/tar.h/conform): Likewise.
38521         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38522         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38523         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38524         (test-xfail-UNIX98/netdb.h/conform): Likewise.
38525         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38526         (test-xfail-UNIX98/sched.h/conform): Likewise.
38527         (test-xfail-UNIX98/signal.h/conform): Likewise.
38528         (test-xfail-UNIX98/stdio.h/conform): Likewise.
38529         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38530         (test-xfail-UNIX98/stropts.h/conform): Likewise.
38531         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38532         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38533         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38534         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38535         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38536         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38537         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38538         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38539         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38540         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38541         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38542         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38543         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38544         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38545         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38546         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38547         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38548         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38549         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38550         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38551         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38552         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38553         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38554         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38555         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38556         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38557         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38558         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38559         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38560         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38561         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38562         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38563         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38564         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38565         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38566         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38567         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38568         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38569         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38570         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38571         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38572         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38573         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38574         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38575         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38576         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38577         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38578         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38579         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38580         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38581         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38582         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38583         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38584         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38585         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38586         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38587         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38588         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38589         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38590         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38591         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38592         (conformtest-cc-flags): Likewise.
38593         ($(conformtest-header-tests): New target.
38594         * conform/check-header-lists.sh: New file.
38595         * conform/run-conformtest.sh: Remove.
38597         * conform/conformtest.pl: Allow ' and \ in values given for
38598         constants.
38599         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38600         inclusion.
38601         [POSIX] (sys/types.h): Likewise.
38602         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38603         inclusion.
38604         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38605         inclusion.
38606         * conform/data/signal.h-data (SIGIO): Remove expectation.
38607         [XPG3] (SIGBUS): Do not expect.
38608         [POSIX || XPG3] (SIGPOLL): Likewise.
38609         [POSIX || XPG3] (SIGPROF): Likewise.
38610         [POSIX || XPG3] (SIGSYS): Likewise.
38611         [XPG3] (SIGTRAP): Likewise.
38612         [POSIX || XPG3] (SIGURG): Likewise.
38613         [POSIX || XPG3] (SIGVTALRM): Likewise.
38614         [POSIX || XPG3] (SIGXCPU): Likewise.
38615         [POSIX || XPG3] (SIGXFSZ): Likewise.
38616         [POSIX] (SA_SIGINFO): Expect.
38617         [XPG3] (siginfo_t): Do not expect type or contents.
38618         [POSIX] (si_pid): Do not expect element.
38619         [POSIX] (si_uid): Likewise.
38620         [POSIX] (si_addr): Likewise.
38621         [POSIX] (si_status): Likewise.
38622         [POSIX] (si_band): Likewise.
38623         [XPG4] (si_value): Likewise.
38624         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38625         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38626         [POSIX || XPG3] (ILL_ILLADR): Likewise.
38627         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38628         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38629         [POSIX || XPG3] (ILL_PRVREG): Likewise.
38630         [POSIX || XPG3] (ILL_COPROC): Likewise.
38631         [POSIX || XPG3] (ILL_BADSTK): Likewise.
38632         [POSIX || XPG3] (FPE_INTDIV): Likewise.
38633         [POSIX || XPG3] (FPE_INTOVF): Likewise.
38634         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38635         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38636         [POSIX || XPG3] (FPE_FLTUND): Likewise.
38637         [POSIX || XPG3] (FPE_FLTRES): Likewise.
38638         [POSIX || XPG3] (FPE_FLTINV): Likewise.
38639         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38640         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38641         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38642         [POSIX || XPG3] (BUS_ADRALN): Likewise.
38643         [POSIX || XPG3] (BUS_ADRERR): Likewise.
38644         [POSIX || XPG3] (BUS_OBJERR): Likewise.
38645         [POSIX || XPG3] (CLD_EXITED): Likewise.
38646         [POSIX || XPG3] (CLD_KILLED): Likewise.
38647         [POSIX || XPG3] (CLD_DUMPED): Likewise.
38648         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38649         [POSIX || XPG3] (CLD_STOPPED): Likewise.
38650         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38651         [POSIX || XPG3] (POLL_IN): Likewise.
38652         [POSIX || XPG3] (POLL_OUT): Likewise.
38653         [POSIX || XPG3] (POLL_MSG): Likewise.
38654         [POSIX || XPG3] (POLL_ERR): Likewise.
38655         [POSIX || XPG3] (POLL_PRI): Likewise.
38656         [POSIX || XPG3] (POLL_HUP): Likewise.
38657         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38658         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38659         (SIG*): Do not allow.
38660         [XPG3] (si_*): Likewise.
38661         [XPG3] (SI_*): Likewise.
38662         [XPG3 || XPG4] (sigev_*): Likewise.
38663         [XPG3 || XPG4] (SIGEV_*): Likewise.
38664         [XPG3 || XPG4] (sival_*): Likewise.
38665         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38666         [POSIX || XPG3] (BUS_*): Likewise.
38667         [POSIX || XPG3] (CLD_*): Likewise.
38668         [POSIX || XPG3] (FPE_*): Likewise.
38669         [POSIX || XPG3] (ILL_*): Likewise.
38670         [POSIX || XPG3] (POLL_*): Likewise.
38671         [POSIX || XPG3] (SEGV_*): Likewise.
38672         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38673         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38674         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38675         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38676         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38677         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38678         Specify type and value.
38679         (TVERSLEN): Likewise.
38680         (REGTYPE): Likewise.
38681         (AREGTYPE): Likewise.
38682         (LNKTYPE): Likewise.
38683         (SYMTYPE): Likewise.
38684         (CHRTYPE): Likewise.
38685         (BLKTYPE): Likewise.
38686         (DIRTYPE): Likewise.
38687         (FIFOTYPE): Likewise.
38688         (CONTTYPE): Likewise.
38689         (TSUID): Likewise.
38690         (TSGID): Likewise.
38691         (TSVTX): Likewise.
38692         (TUREAD): Likewise.
38693         (TUWRITE): Likewise.
38694         (TUEXEC): Likewise.
38695         (TGREAD): Likewise.
38696         (TGWRITE): Likewise.
38697         (TGEXEC): Likewise.
38698         (TOREAD): Likewise.
38699         (TOWRITE): Likewise.
38700         (TOEXEC): Likewise.
38701         [POSIX] (TSVTX): Expect constant.
38703 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
38705         * Makefile (tests): Change dependencies to ....
38706         (tests-special): ... additions to this variable.
38707         (tests): Depend on $(tests-special).
38708         * Makerules (check-abi-list): New variable.
38709         (check-abi): Depend on $(check-abi-list).
38710         [$(subdir) = elf] (tests-special): Add
38711         $(objpfx)check-abi-libc.out.
38712         [$(build-shared) = yes && subdir] (tests-special): Add
38713         $(check-abi-list).
38714         [$(build-shared) = yes && subdir] (tests): Do not depend on
38715         check-abi.
38716         * Rules (tests): Depend on $(tests-special).
38717         (xtests): Depend on $(xtests-special).
38718         * catgets/Makefile (tests): Change dependencies to ....
38719         (tests-special): ... additions to this variable.
38720         * conform/Makefile (tests): Change dependencies to ....
38721         (tests-special): ... additions to this variable.
38722         * elf/Makefile (tests): Change dependencies to ....
38723         (tests-special): ... additions to this variable.
38724         * grp/Makefile (tests): Change dependencies to ....
38725         (tests-special): ... additions to this variable.
38726         * iconv/Makefile (xtests): Change dependencies to ....
38727         (xtests-special): ... additions to this variable.
38728         * iconvdata/Makefile (tests): Change dependencies to ....
38729         (tests-special): ... additions to this variable.
38730         * intl/Makefile (tests): Change dependencies to ....
38731         (tests-special): ... additions to this variable.  Also add
38732         $(objpfx)tst-gettext.out.
38733         * io/Makefile (tests): Change dependencies to ....
38734         (tests-special): ... additions to this variable.
38735         * libio/Makefile (tests): Change dependencies to ....
38736         (tests-special): ... additions to this variable.
38737         * malloc/Makefile (tests): Change dependencies to ....
38738         (tests-special): ... additions to this variable.
38739         * misc/Makefile (tests): Change dependencies to ....
38740         (tests-special): ... additions to this variable.
38741         * nptl/Makefile (tests): Change dependencies to ....
38742         (tests-special): ... additions to this variable.
38743         * nptl_db/Makefile (tests): Change dependencies to ....
38744         (tests-special): ... additions to this variable.
38745         * posix/Makefile (tests): Change dependencies to ....
38746         (tests-special): ... additions to this variable.
38747         (xtests): Change dependencies to ....
38748         (xtests-special): ... additions to this variable.
38749         * resolv/Makefile (tests): Change dependencies to ....
38750         (tests-special): ... additions to this variable.
38751         (xtests): Change dependencies to ....
38752         (xtests-special): ... additions to this variable.
38753         * stdio-common/Makefile (tests): Change dependencies to ....
38754         (tests-special): ... additions to this variable.
38755         (do-tst-unbputc): Remove target.
38756         (do-tst-printf): Likewise.
38757         * stdlib/Makefile (tests): Change dependencies to ....
38758         (tests-special): ... additions to this variable.
38759         * string/Makefile (tests): Change dependencies to ....
38760         (tests-special): ... additions to this variable.
38761         * sysdeps/x86/Makefile (tests): Change dependencies to ....
38762         (tests-special): ... additions to this variable.
38764         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38765         whole file.
38766         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38767         whole file.
38768         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38769         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38771         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38772         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38773         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38774         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38775         * conform/data/libgen.h-data [XPG3]: Likewise.
38776         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38777         * conform/data/ndbm.h-data [XPG3]: Likewise.
38778         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38779         * conform/data/netdb.h-data [XPG3]: Likewise.
38780         * conform/data/netinet/in.h-data [XPG3]: Likewise.
38781         * conform/data/poll.h-data [XPG3]: Likewise.
38782         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38783         * conform/data/strings.h-data [XPG3]: Likewise.
38784         * conform/data/stropts.h-data [XPG3]: Likewise.
38785         * conform/data/sys/mman.h-data [XPG3]: Likewise.
38786         * conform/data/sys/resource.h-data [XPG3]: Likewise.
38787         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38788         Likewise.
38789         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38790         * conform/data/sys/time.h-data [XPG3]: Likewise.
38791         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38792         * conform/data/sys/uio.h-data [XPG3]: Likewise.
38793         * conform/data/sys/un.h-data [XPG3]: Likewise.
38794         * conform/data/syslog.h-data [XPG3]: Likewise.
38795         * conform/data/ucontext.h-data [XPG3]: Likewise.
38796         * conform/data/utmpx.h-data [XPG3]: Likewise.
38797         * conform/data/varargs.h-data [UNIX98]: Enable file.
38799         * manual/Makefile (INSTALL_INFO): Remove variable setting.
38801         * math/libm-test.inc (struct test_f_f_data): Move expected results
38802         into structure for each rounding mode.
38803         (struct test_ff_f_data): Likewise.
38804         (struct test_ff_f_data_nexttoward): Likewise.
38805         (struct test_fi_f_data): Likewise.
38806         (struct test_fl_f_data): Likewise.
38807         (struct test_if_f_data): Likewise.
38808         (struct test_fff_f_data): Likewise.
38809         (struct test_c_f_data): Likewise.
38810         (struct test_f_f1_data): Likewise.
38811         (struct test_fF_f1_data): Likewise.
38812         (struct test_ffI_f1_data): Likewise.
38813         (struct test_c_c_data): Likewise.
38814         (struct test_cc_c_data): Likewise.
38815         (struct test_f_i_data): Likewise.
38816         (struct test_ff_i_data): Likewise.
38817         (struct test_f_l_data): Likewise.
38818         (struct test_f_L_data): Likewise.
38819         (struct test_fFF_11_data): Likewise.
38820         (RM_): New macro.
38821         (RM_FE_DOWNWARD): Likewise.
38822         (RM_FE_TONEAREST): Likewise.
38823         (RM_FE_TOWARDZERO): Likewise.
38824         (RM_FE_UPWARD): Likewise.
38825         (RUN_TEST_LOOP_f_f): Update references to expected results.
38826         (RUN_TEST_LOOP_2_f): Likewise.
38827         (RUN_TEST_LOOP_fff_f): Likewise.
38828         (RUN_TEST_LOOP_c_f): Likewise.
38829         (RUN_TEST_LOOP_f_f1): Likewise.
38830         (RUN_TEST_LOOP_fF_f1): Likewise.
38831         (RUN_TEST_LOOP_fI_f1): Likewise.
38832         (RUN_TEST_LOOP_ffI_f1): Likewise.
38833         (RUN_TEST_LOOP_c_c): Likewise.
38834         (RUN_TEST_LOOP_cc_c): Likewise.
38835         (RUN_TEST_LOOP_f_i): Likewise.
38836         (RUN_TEST_LOOP_f_i_tg): Likewise.
38837         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38838         (RUN_TEST_LOOP_f_b): Likewise.
38839         (RUN_TEST_LOOP_f_b_tg): Likewise.
38840         (RUN_TEST_LOOP_f_l): Likewise.
38841         (RUN_TEST_LOOP_f_L): Likewise.
38842         (RUN_TEST_LOOP_fFF_11): Likewise.
38843         * math/gen-libm-test.pl (parse_args): Output four copies of
38844         expected results for each test.
38846         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38847         (__ASSUME_UTIMES): Remove.
38848         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38849         (__ASSUME_UTIMES): Likewise.
38851         * math/gen-auto-libm-tests.c: Update comment on output format.
38852         (output_for_one_input_case): Generate before-rounding and
38853         after-rounding information as conditions on output flags not
38854         floating-point format.
38855         * math/auto-libm-test-out: Regenerated.
38856         * math/gen-libm-test.pl (cond_value): New function.
38857         (or_cond_value): Use cond_value.
38858         (generate_testfile): Handle conditional exceptions.
38860 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
38862         * math/libm-test.inc (max_valid_error): New variable.
38863         (init_max_error): Take new argument specifying whether function
38864         results are exactly determined.  Set max_valid_error and bound
38865         other variables for errors based on this argument.
38866         (set_max_error): Do not record results above max_valid_error.
38867         (check_float_internal): Only accept errors of up to 0.5ulps if
38868         also at most max_valid_error.
38869         (START): Take new argument EXACT and pass it to init_max_error.
38870         (acos_test): Update call to START.
38871         (acos_test_tonearest): Likewise.
38872         (acos_test_towardzero): Likewise.
38873         (acos_test_downward): Likewise.
38874         (acos_test_upward): Likewise.
38875         (acosh_test): Likewise.
38876         (asin_test): Likewise.
38877         (asin_test_tonearest): Likewise.
38878         (asin_test_towardzero): Likewise.
38879         (asin_test_downward): Likewise.
38880         (asin_test_upward): Likewise.
38881         (asinh_test): Likewise.
38882         (atan_test): Likewise.
38883         (atanh_test): Likewise.
38884         (atan2_test): Likewise.
38885         (cabs_test): Likewise.
38886         (cacos_test): Likewise.
38887         (cacosh_test): Likewise.
38888         (carg_test): Likewise.
38889         (casin_test): Likewise.
38890         (casinh_test): Likewise.
38891         (catan_test): Likewise.
38892         (catanh_test): Likewise.
38893         (cbrt_test): Likewise.
38894         (ccos_test): Likewise.
38895         (ccosh_test): Likewise.
38896         (ceil_test): Likewise.
38897         (cexp_test): Likewise.
38898         (cimag_test): Likewise.
38899         (clog_test): Likewise.
38900         (clog10_test): Likewise.
38901         (conj_test): Likewise.
38902         (copysign_test): Likewise.
38903         (cos_test): Likewise.
38904         (cos_test_tonearest): Likewise.
38905         (cos_test_towardzero): Likewise.
38906         (cos_test_downward): Likewise.
38907         (cos_test_upward): Likewise.
38908         (cosh_test): Likewise.
38909         (cosh_test_tonearest): Likewise.
38910         (cosh_test_towardzero): Likewise.
38911         (cosh_test_downward): Likewise.
38912         (cosh_test_upward): Likewise.
38913         (cpow_test): Likewise.
38914         (cproj_test): Likewise.
38915         (creal_test): Likewise.
38916         (csin_test): Likewise.
38917         (csinh_test): Likewise.
38918         (csqrt_test): Likewise.
38919         (ctan_test): Likewise.
38920         (ctan_test_tonearest): Likewise.
38921         (ctan_test_towardzero): Likewise.
38922         (ctan_test_downward): Likewise.
38923         (ctan_test_upward): Likewise.
38924         (ctanh_test): Likewise.
38925         (ctanh_test_tonearest): Likewise.
38926         (ctanh_test_towardzero): Likewise.
38927         (ctanh_test_downward): Likewise.
38928         (ctanh_test_upward): Likewise.
38929         (erf_test): Likewise.
38930         (erfc_test): Likewise.
38931         (exp_test): Likewise.
38932         (exp_test_tonearest): Likewise.
38933         (exp_test_towardzero): Likewise.
38934         (exp_test_downward): Likewise.
38935         (exp_test_upward): Likewise.
38936         (exp10_test): Likewise.
38937         (exp10_test_tonearest): Likewise.
38938         (exp10_test_towardzero): Likewise.
38939         (exp10_test_downward): Likewise.
38940         (exp10_test_upward): Likewise.
38941         (pow10_test): Likewise.
38942         (exp2_test): Likewise.
38943         (expm1_test): Likewise.
38944         (expm1_test_tonearest): Likewise.
38945         (expm1_test_towardzero): Likewise.
38946         (expm1_test_downward): Likewise.
38947         (expm1_test_upward): Likewise.
38948         (fabs_test): Likewise.
38949         (fdim_test): Likewise.
38950         (floor_test): Likewise.
38951         (fma_test): Likewise.
38952         (fma_test_towardzero): Likewise.
38953         (fma_test_downward): Likewise.
38954         (fma_test_upward): Likewise.
38955         (fmax_test): Likewise.
38956         (fmin_test): Likewise.
38957         (fmod_test): Likewise.
38958         (fpclassify_test): Likewise.
38959         (frexp_test): Likewise.
38960         (hypot_test): Likewise.
38961         (ilogb_test): Likewise.
38962         (isfinite_test): Likewise.
38963         (finite_test): Likewise.
38964         (isgreater_test): Likewise.
38965         (isgreaterequal_test): Likewise.
38966         (isinf_test): Likewise.
38967         (isless_test): Likewise.
38968         (islessequal_test): Likewise.
38969         (islessgreater_test): Likewise.
38970         (isnan_test): Likewise.
38971         (isnormal_test): Likewise.
38972         (issignaling_test): Likewise.
38973         (isunordered_test): Likewise.
38974         (j0_test): Likewise.
38975         (j1_test): Likewise.
38976         (jn_test): Likewise.
38977         (ldexp_test): Likewise.
38978         (lgamma_test): Likewise.
38979         (gamma_test): Likewise.
38980         (lrint_test): Likewise.
38981         (lrint_test_tonearest): Likewise.
38982         (lrint_test_towardzero): Likewise.
38983         (lrint_test_downward): Likewise.
38984         (lrint_test_upward): Likewise.
38985         (llrint_test): Likewise.
38986         (llrint_test_tonearest): Likewise.
38987         (llrint_test_towardzero): Likewise.
38988         (llrint_test_downward): Likewise.
38989         (llrint_test_upward): Likewise.
38990         (log_test): Likewise.
38991         (log10_test): Likewise.
38992         (log1p_test): Likewise.
38993         (log2_test): Likewise.
38994         (logb_test): Likewise.
38995         (logb_test_downward): Likewise.
38996         (lround_test): Likewise.
38997         (llround_test): Likewise.
38998         (modf_test): Likewise.
38999         (nearbyint_test): Likewise.
39000         (nextafter_test): Likewise.
39001         (nexttoward_test): Likewise.
39002         (pow_test): Likewise.
39003         (pow_test_tonearest): Likewise.
39004         (pow_test_towardzero): Likewise.
39005         (pow_test_downward): Likewise.
39006         (pow_test_upward): Likewise.
39007         (remainder_test): Likewise.
39008         (drem_test): Likewise.
39009         (remainder_test_tonearest): Likewise.
39010         (drem_test_tonearest): Likewise.
39011         (remainder_test_towardzero): Likewise.
39012         (drem_test_towardzero): Likewise.
39013         (remainder_test_downward): Likewise.
39014         (drem_test_downward): Likewise.
39015         (remainder_test_upward): Likewise.
39016         (drem_test_upward): Likewise.
39017         (remquo_test): Likewise.
39018         (rint_test): Likewise.
39019         (rint_test_tonearest): Likewise.
39020         (rint_test_towardzero): Likewise.
39021         (rint_test_downward): Likewise.
39022         (rint_test_upward): Likewise.
39023         (round_test): Likewise.
39024         (scalb_test): Likewise.
39025         (scalbn_test): Likewise.
39026         (scalbln_test): Likewise.
39027         (signbit_test): Likewise.
39028         (sin_test): Likewise.
39029         (sin_test_tonearest): Likewise.
39030         (sin_test_towardzero): Likewise.
39031         (sin_test_downward): Likewise.
39032         (sin_test_upward): Likewise.
39033         (sincos_test): Likewise.
39034         (sinh_test): Likewise.
39035         (sinh_test_tonearest): Likewise.
39036         (sinh_test_towardzero): Likewise.
39037         (sinh_test_downward): Likewise.
39038         (sinh_test_upward): Likewise.
39039         (sqrt_test): Likewise.
39040         (sqrt_test_tonearest): Likewise.
39041         (sqrt_test_towardzero): Likewise.
39042         (sqrt_test_downward): Likewise.
39043         (sqrt_test_upward): Likewise.
39044         (tan_test): Likewise.
39045         (tan_test_tonearest): Likewise.
39046         (tan_test_towardzero): Likewise.
39047         (tan_test_downward): Likewise.
39048         (tan_test_upward): Likewise.
39049         (tanh_test): Likewise.
39050         (tgamma_test): Likewise.
39051         (trunc_test): Likewise.
39052         (y0_test): Likewise.
39053         (y1_test): Likewise.
39054         (yn_test): Likewise.
39055         (significand_test): Likewise.
39057         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39058         individual tests in comment.
39059         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39060         (prev_max_error): New variable.
39061         (prev_real_max_error): Likewise.
39062         (prev_imag_max_error): Likewise.
39063         (compare_ulp_data): Don't refer to test names in comment.
39064         (find_test_ulps): Remove function.
39065         (find_function_ulps): Likewise.
39066         (find_complex_function_ulps): Likewise.
39067         (init_max_error): Take function name as argument.  Look up ulps
39068         for that function.
39069         (print_ulps): Remove function.
39070         (print_max_error): Use prev_max_error instead of calling
39071         find_function_ulps.
39072         (print_complex_max_error): Use prev_real_max_error and
39073         prev_imag_max_error instead of calling find_complex_function_ulps.
39074         (check_float_internal): Take max_ulp parameter instead of calling
39075         find_test_ulps.  Don't call print_ulps.
39076         (check_float): Update call to check_float_internal.
39077         (check_complex): Update calls to check_float_internal.
39078         (START): Pass argument to init_max_error.
39079         * math/gen-libm-test.pl (%results): Don't include "kind"
39080         information.
39081         (parse_ulps): Don't handle ulps of individual tests.
39082         (print_ulps_file): Likewise.
39083         (output_ulps): Likewise.
39084         * math/README.libm-test: Update.
39085         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39086         individual tests.
39087         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39088         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39089         * sysdeps/arm/libm-test-ulps: Likewise.
39090         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39091         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39092         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39093         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39094         * sysdeps/microblaze/libm-test-ulps: Likewise.
39095         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39096         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39097         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39098         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39099         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39100         * sysdeps/sh/libm-test-ulps: Likewise.
39101         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39102         * sysdeps/tile/libm-test-ulps: Likewise.
39103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39105 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39107         * math/libm-test.inc (print_complex_max_error): Check separately
39108         whether real and imaginary errors are within allowed range and
39109         pass 0 to print_complex_function_ulps instead of value within
39110         allowed range.
39112 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39114         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39115         formatting.
39116         (get_handles_fopen): Likewise.
39117         (do_write_test): Likewise.
39119         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39121         * libio/fileops.c (do_ftell): Use cached offset when
39122         available.
39123         * libio/iofwide.c (do_ftell_wide): Likewise.
39124         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39125         _IO_file_attach.
39126         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39128         [BZ #16532]
39129         * libio/libioP.h (get_file_offset): New function.
39130         * libio/fileops.c (get_file_offset): Likewise.
39131         (do_ftell): Likewise.
39132         (_IO_new_file_seekoff): Split out ftell logic.
39133         * libio/wfileops.c (do_ftell_wide): Likewise.
39134         (_IO_wfile_seekoff): Split out ftell logic.
39135         * libio/tst-ftell-active-handler.c: New test case.
39136         * libio/Makefile (tests): Add it.
39138 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39140         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39141         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39143 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39145         [BZ #16639]
39146         * nscd/connections.c (nscd_init): Call do_exit.
39147         (start_threads): Call do_exit and notify_parent.
39148         (begin_drop_privileges): Call do_exit.
39149         (finish_drop_privileges): Likewise.
39150         * nscd/selinux.c (preserve_capabilities): Likewise.
39151         (install_real_capabilities): Likewise.
39152         (nscd_selinux_enabled): Likewise.
39153         (avc_create_thread): Likewise.
39154         (avc_alloc_lock): Likewise.
39155         (nscd_avc_init): Likewise.
39156         * nscd/nscd.c (parent_fd): New static variable.
39157         (main): Create a pipe between parent and child processes.
39158         Skip closing parent_fd.
39159         (monitor_child): New function.
39160         (do_exit): Likewise.
39161         (notify_parent): Likewise.
39162         * nscd/nscd.h (notify_parent): Likewise.
39163         (do_exit): Likewise.
39165 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39167         * malloc/malloc.c (__libc_calloc): Revert last change.
39169 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39173 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39175         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39177         implementation.
39178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39179         (__libc_ifunc_impl_list): Likewise.
39180         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39181         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39182         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39183         * string/strrchr.c: Define STRRCHR.
39185 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39187         * benchtest/bench-strtok.c (simple_strtok): Delete.
39188         (strtok_string): Use as benchmark.
39189         * string/strtok (STRTOK): New macro.
39191 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39193         * manual/threads.texi: Add header and standard comments to all
39194         functions.
39196         * elf/dl-lookup.c (check_match): New function.
39197         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39198         (do_lookup_x): Remove nested function check_match. Use non-nested
39199         function check_match.
39201 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39203         * csu/Makefile (generated, before-compile): Use += rather than =.
39204         * catgets/Makefile (generated, generated-dirs): Likewise.
39205         * debug/Makefile (generated): Likewise.
39206         * dlfcn/Makefile (generated): Likewise.
39207         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39208         * iconvdata/Makefile (before-compile, generated): Likewise.
39209         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39210         * libio/Makefile (generated): Likewise.
39211         * malloc/Makefile (generated): Likewise.
39212         * manual/Makefile (generated, generated-dirs): Likewise.
39213         * misc/Makefile (generated): Likewise.
39214         * posix/Makefile (generated): Likewise.
39215         * resolv/Makefile (generated): Likewise.
39216         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39217         * timezone/Makefile (generated, generated-dirs): Likewise.
39219         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39221 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39223         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39224         power8 implementation.
39225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39226         file: POWER8 llround ifunc implementation.
39227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39228         (__lllround): Add POWER8 implementation.
39229         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39230         POWER8 llround implementation.
39232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39233         power8 implementation.
39234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39235         file: POWER8 llrint ifunc implementation.
39236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39237         Add POWER8 implementation.
39238         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39239         POWER8 llrint implementation.
39241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39242         power8 implementation.
39243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39244         file: POWER8 finite ifunc implementation.
39245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39246         Add POWER8 implementation.
39247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39248         Likewise.
39249         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39250         POWER8 finite implementation.
39251         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39254         power8 implementation.
39255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39256         file: POWER8 isinf ifunc implementation.
39257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39258         POWER8 implementation.
39259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39260         Likewise.
39261         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39262         isinf implementation.
39263         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39265         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39266         (INIT_ARCH): Add hwcap2 initialization.
39267         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39268         power8 implementation.
39269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39270         file: POWER8 isnan ifunc implementation.
39271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39272         POWER8 implementation.
39273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39274         Likewise.
39275         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39276         isnan implementation.
39277         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39279 2014-02-27  Joey Ye  <joey.ye@arm.com>
39281         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39282         (_FP_NANFRAC_Q): Set to zero.
39284 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39286         [BZ #16623]
39287         * math/auto-libm-test-in: New test inputs.
39288         * math/auto-libm-test-out: Regenerate.
39289         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39290         and DA.
39291         (__cos): Likewise.
39292         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39294 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39296         * scripts/evaluate-test.sh: Take new argument indicating whether
39297         failure is expected.
39298         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39299         indicating whether failure is expected.
39300         * conform/Makefile (test-xfail-run-conformtest): New variable.
39301         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39302         level.
39303         * posix/Makefile (test-xfail-annexc): New variable.
39304         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39306 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39308         * argp/Makefile: Include Makeconfig immediately after defining
39309         subdir.
39310         * assert/Makefile: Likewise.
39311         * benchtests/Makefile: Likewise.
39312         * catgets/Makefile: Likewise.
39313         * conform/Makefile: Likewise.
39314         * crypt/Makefile: Likewise.
39315         * csu/Makefile: Likewise.
39316         (all): Remove target.
39317         * ctype/Makefile: Include Makeconfig immediately after defining
39318         subdir.
39319         * debug/Makefile: Likewise.
39320         * dirent/Makefile: Likewise.
39321         * dlfcn/Makefile: Likewise.
39322         * gmon/Makefile: Likewise.
39323         * gnulib/Makefile: Likewise.
39324         * grp/Makefile: Likewise.
39325         * gshadow/Makefile: Likewise.
39326         * hesiod/Makefile: Likewise.
39327         * hurd/Makefile: Likewise.
39328         (all): Remove target.
39329         * iconvdata/Makefile: Include Makeconfig immediately after
39330         defining subdir.
39331         * inet/Makefile: Likewise.
39332         * intl/Makefile: Likewise.
39333         * io/Makefile: Likewise.
39334         * libio/Makefile: Likewise.
39335         (all): Remove target.
39336         * locale/Makefile: Include Makeconfig immediately after defining
39337         subdir.
39338         * login/Makefile: Likewise.
39339         * mach/Makefile: Likewise.
39340         (all): Remove target.
39341         * malloc/Makefile: Include Makeconfig immediately after defining
39342         subdir.
39343         (all): Remove target.
39344         * manual/Makefile: Include Makeconfig immediately after defining
39345         subdir.
39346         * math/Makefile: Likewise.
39347         * misc/Makefile: Likewise.
39348         * nis/Makefile: Likewise.
39349         * nss/Makefile: Likewise.
39350         * po/Makefile: Likewise.
39351         (all): Remove target.
39352         * posix/Makefile: Include Makeconfig immediately after defining
39353         subdir.
39354         * pwd/Makefile: Likewise.
39355         * resolv/Makefile: Likewise.
39356         * resource/Makefile: Likewise.
39357         * rt/Makefile: Likewise.
39358         * setjmp/Makefile: Likewise.
39359         * shadow/Makefile: Likewise.
39360         * signal/Makefile: Likewise.
39361         * socket/Makefile: Likewise.
39362         * soft-fp/Makefile: Likewise.
39363         * stdio-common/Makefile: Likewise.
39364         * stdlib/Makefile: Likewise.
39365         * streams/Makefile: Likewise.
39366         * string/Makefile: Likewise.
39367         * sunrpc/Makefile: Likewise.
39368         (all): Remove target.
39369         * sysvipc/Makefile: Include Makeconfig immediately after defining
39370         subdir.
39371         * termios/Makefile: Likewise.
39372         * time/Makefile: Likewise.
39373         * timezone/Makefile: Likewise.
39374         (all): Remove target.
39375         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39376         subdir.
39377         * wctype/Makefile: Likewise.
39379 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39381         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39382         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39383         (libc_feholdexcept_setround_mips): Ditto.
39384         (libc_feholdsetround): New.
39385         (libc_feholdsetroundf): New.
39386         (libc_feholdsetroundl): New.
39387         (libc_feupdateenv_test_mips): New.
39388         (libc_feupdateenv_test): New.
39389         (libc_feupdateenv_testf): New.
39390         (libc_feupdateenv_testl): New.
39391         (libc_feresetround): New.
39392         (libc_feresetroundf): New.
39393         (libc_feresetroundl): New.
39394         (libc_fetestexcept_mips): New.
39395         (libc_fetestexcept): New.
39396         (libc_fetestexceptf): New.
39397         (libc_fetestexceptl): New.
39398         (HAVE_RM_CTX): New.
39399         (libc_feholdexcept_setround_mips_ctx): New.
39400         (libc_feholdexcept_setround_ctx): New.
39401         (libc_feholdexcept_setroundf_ctx): New.
39402         (libc_feholdexcept_setroundl_ctx): New.
39403         (libc_fesetenv_mips_ctx): New.
39404         (libc_fesetenv_ctx): New.
39405         (libc_fesetenv_ctxf): New.
39406         (libc_fesetenv_ctxl): New.
39407         (libc_feupdateenv_mips_ctx): New.
39408         (libc_feupdateenv_ctx): New.
39409         (libc_feupdateenvf_ctx): New.
39410         (libc_feupdateenvl_ctx): New.
39411         (libc_feholdsetround_mips_ctx): New.
39412         (libc_feholdsetround_ctx): New.
39413         (libc_feholdsetroundf_ctx): New.
39414         (libc_feholdsetroundl_ctx): New.
39415         (libc_feresetround_mips_ctx): New.
39416         (libc_feresetround_ctx): New.
39417         (libc_feresetroundf_ctx): New.
39418         (libc_feresetroundl_ctx): New.
39420 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39422         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39424         * manual/ipc.texi: New file.
39425         * manual/Makefile (chapters): Add ipc.
39426         * manual/job.texi: Add "Inter-Process Communication" to next.
39427         * manual/process.texi: Add "Inter-Process Communication" to prev.
39429 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39433 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39435         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39437         * manual/arith.texi: Fix spaces after sentences.
39438         * manual/charset.texi: Likewise.
39439         * manual/errno.texi: Likewise.
39440         * manual/install.texi: Likewise.
39441         * manual/llio.texi: Likewise.
39442         * manual/locale.texi: Likewise.
39443         * manual/maint.texi: Likewise.
39444         * manual/math.texi: Likewise.
39445         * manual/memory.texi: Likewise.
39446         * manual/message.texi: Likewise.
39447         * manual/probes.texi: Likewise.
39448         * manual/resource.texi: Likewise.
39449         * manual/signal.texi: Likewise.
39450         * manual/socket.texi: Likewise.
39451         * manual/stdio.texi: Likewise.
39452         * manual/string.texi: Likewise.
39453         * manual/time.texi: Likewise.
39454         * manual/users.texi: Likewise.
39456 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39458         [BZ #16632]
39459         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39460         _DEFAULT_SOURCE is defined.
39462 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39463             Carlos O'Donell  <carlos@redhat.com>
39465         [BZ #16613]
39466         * elf/dl-tls.c (_dl_count_modids): New function.
39467         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39468         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39469         audit library and increment generation counter.
39470         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39471         * elf/tst-audit9.c: New file.
39472         * elf/tst-auditmod9a.c: New file.
39473         * elf/tst-auditmod9b.c: New file.
39474         * elf/Makefile: Add rules to build and run tst-audit9.
39476 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39478         [BZ #15347]
39479         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39481 2014-02-25  Will Newton  <will.newton@linaro.org>
39483         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39484         (__longjmp): Restore sp and lr before restoring callee
39485         saved registers.  Add longjmp and longjmp_target
39486         SystemTap probe point.
39487         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39488         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39489         Define to zero to match jmpbuf layout.
39490         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39491         (__sigsetjmp): Save sp and lr before saving callee
39492         saved registers.  Add setjmp SystemTap probe point.
39494 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39496         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39498 2014-02-24  Andreas Schwab  <schwab@suse.de>
39500         [BZ #15804]
39501         * elf/pldd.c (wait_for_ptrace_stop): New function.
39502         (main): Call it after attaching.
39504 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39506         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39507         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39508         Versions files is now verboten.
39509         * hurd/Versions (libc: GLIBC_2.0):
39510         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39511         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39512         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39513         * mach/Versions: Likewise.
39515         * csu/Versions: Remove unused %include.
39516         * resolv/Versions: Likewise.
39518 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
39520         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39521         ($(objpfx)check-local-headers.out): Likewise.
39522         ($(objpfx)begin-end-check.out): Likewise.
39523         * Makerules (check-abi-%.out): Likewise.
39524         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39525         ($(objpfx)test2.cat): Likewise.
39526         ($(objpfx)de/libc.cat): Likewise.
39527         ($(objpfx)test-gencat.out): Likewise.
39528         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39529         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39530         ($(objpfx)noload-mem): Likewise.
39531         ($(objpfx)tst-pathopt.out): Likewise.
39532         ($(objpfx)tst-rtld-load-self.out): Likewise.
39533         ($(objpfx)tst-array1-cmp.out): Likewise.
39534         ($(objpfx)tst-array1-static-cmp.out): Likewise.
39535         ($(objpfx)tst-array2-cmp.out): Likewise.
39536         ($(objpfx)tst-array3-cmp.out): Likewise.
39537         ($(objpfx)tst-array4-cmp.out): Likewise.
39538         ($(objpfx)tst-array5-cmp.out): Likewise.
39539         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39540         ($(objpfx)check-textrel.out): Likewise.
39541         ($(objpfx)check-execstack.out): Likewise.
39542         ($(objpfx)check-localplt.out): Likewise.
39543         ($(objpfx)order2-cmp.out): Likewise.
39544         ($(objpfx)tst-leaks1-mem): Likewise.
39545         ($(objpfx)tst-leaks1-static-mem): Likewise.
39546         ($(objpfx)tst-initorder-cmp.out): Likewise.
39547         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39548         ($(objpfx)tst-unused-dep.out): Likewise.
39549         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39550         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39551         * iconv/Makefile (test-iconvconfig): Likewise.
39552         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39553         ($(objpfx)iconv-test.out): Likewise.
39554         ($(objpfx)tst-tables.out): Likewise.
39555         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39556         ($(objpfx)tst-gettext.out): Likewise.
39557         ($(objpfx)tst-translit.out): Likewise.
39558         ($(objpfx)tst-gettext2.out): Likewise.
39559         ($(objpfx)tst-gettext4.out): Likewise.
39560         ($(objpfx)tst-gettext6.out): Likewise.
39561         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39562         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39563         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39564         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39565         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39566         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39567         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39568         ($(objpfx)wordexp-tst.out): Likewise.
39569         ($(objpfx)annexc.out): Likewise.
39570         ($(objpfx)tst-fnmatch-mem): Likewise.
39571         ($(objpfx)bug-regex2-mem): Likewise.
39572         ($(objpfx)bug-regex14-mem): Likewise.
39573         ($(objpfx)bug-regex21-mem): Likewise.
39574         ($(objpfx)bug-regex31-mem): Likewise.
39575         ($(objpfx)tst-vfork3-mem): Likewise.
39576         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39577         ($(objpfx)tst-pcre-mem): Likewise.
39578         ($(objpfx)tst-boost-mem): Likewise.
39579         ($(objpfx)tst-getconf.out): Likewise.
39580         ($(objpfx)bug-ga2-mem): Likewise.
39581         ($(objpfx)bug-glob2-mem): Likewise.
39582         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39583         ($(objpfx)mtrace-tst-leaks2): Likewise.
39584         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39585         ($(objpfx)tst-printf.out): Likewise.
39586         ($(objpfx)tst-setvbuf1.out): Likewise.
39587         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39588         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39589         ($(objpfx)tst-fmtmsg.out): Likewise.
39590         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39591         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39593         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39594         * bits/sigaction.h [__USE_MISC]: Likewise.
39595         * bits/waitstatus.h: Update #endif comments.
39596         * ctype/ctype.h: Likewise.
39597         * dirent/dirent.h: Likewise.
39598         [__USE_MISC]: Remove redundant conditionals.
39599         * grp/grp.h: Update #endif comments.
39600         [__USE_GNU]: Remove redundant conditionals.
39601         [__USE_MISC]: Likewise.
39602         * inet/netinet/in.h [__USE_GNU]: Likewise.
39603         * io/sys/stat.h [__USE_MISC]: Likewise.
39604         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39605         * libio/bits/stdio.h: Update #endif comments.
39606         [__USE_MISC]: Remove redundant conditionals.
39607         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39608         * libio/stdio.h: Update #endif comments.
39609         [__USE_MISC]: Remove redundant conditionals.
39610         * math/bits/math-finite.h [__USE_MISC]: Likewise.
39611         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39612         * math/math.h: Update #else and #endif comments.
39613         [__USE_MISC]: Remove redundant conditionals.
39614         * misc/sys/uio.h: Update #endif comments.
39615         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39616         * posix/glob.h [__USE_MISC]: Likewise.
39617         * posix/sys/types.h: Update #endif comments.
39618         [__USE_MISC]: Remove redundant conditionals.
39619         * posix/sys/wait.h: Update #endif comments.
39620         [__USE_MISC]: Remove redundant conditionals.
39621         * posix/unistd.h: Update #endif comments.
39622         [__USE_MISC]: Remove redundant conditionals.
39623         * pwd/pwd.h [__USE_GNU]: Likewise.
39624         [__USE_MISC]: Likewise.
39625         * resolv/netdb.h [__USE_GNU]: Likewise.
39626         * signal/signal.h: Update #endif comments.
39627         [__USE_MISC]: Remove redundant conditionals.
39628         * stdlib/stdlib.h: Update #else and #endif comments.
39629         [__USE_MISC]: Remove redundant conditionals.
39630         [__USE_GNU]: Likewise.
39631         * string/bits/string2.h [__USE_MISC]: Likewise.
39632         * string/string.h: Update #endif comments.
39633         [__USE_MISC]: Remove redundant conditionals.
39634         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39635         Likewise.
39636         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39637         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39638         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39639         Likewise.
39640         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39641         Likewise.
39642         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39643         comments.
39644         [__USE_MISC]: Remove redundant conditionals.
39645         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39646         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39647         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39648         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39649         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39650         Likewise.
39651         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39652         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39653         Likewise.
39654         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39655         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39656         Likewise.
39657         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39658         Likewise.
39659         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39660         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39661         Likewise.
39662         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39663         Likewise.
39664         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39665         * sysdeps/x86/bits/string.h: Update #endif comments.
39666         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39667         conditionals.
39668         * time/sys/time.h: Update #endif comments.
39669         * time/time.h: Likewise.
39670         [__USE_MISC]: Remove redundant conditionals.
39672 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
39674         [BZ #16600]
39675         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39677 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
39679         * Versions.def (librt): Add GLIBC_2.17.
39681 2014-02-21  Adam Conrad  <adconrad@0c3.net>
39683         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39684         synonym for _SYS_AUXV_H to allow direct inclusion.
39685         * sysdeps/sparc/bits/hwcap.h: Likewise.
39686         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39687         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39688         * sysdeps/sparc/sysdep.h: Likewise.
39690 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39692         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39694 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39696         * benchtests/bench-strrchr.c: Print length instead of position.
39698 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
39700         [BZ #16611]
39701         * sysdeps/unix/sysv/linux/kernel-features.h
39702         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39703         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39704         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39705         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39706         Likewise.
39707         [__i386__ || __powerpc__ || __sh__ || __sparc__]
39708         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39709         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39710         (__ASSUME_SENDMMSG): Define instead of using previous
39711         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39712         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39713         (__ASSUME_SENDMMSG_SYSCALL): Define.
39714         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39715         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39716         Likewise.
39717         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39718         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39719         Likewise.
39720         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39721         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39722         Likewise.
39723         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39724         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39725         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39726         [__ASSUME_SENDMMSG]: Change conditionals to
39727         [__ASSUME_SENDMMSG_SOCKETCALL].
39728         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39729         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39730         Define.
39731         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39732         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39733         Likewise.
39734         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39735         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39736         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39737         [!__ASSUME_SENDMMSG]: Change conditional to
39738         [!__ASSUME_SENDMMSG_SOCKETCALL].
39739         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39740         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39741         Define.
39743         [BZ #16610]
39744         * sysdeps/unix/sysv/linux/kernel-features.h
39745         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39746         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39747         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39748         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39749         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39750         [__i386__ || __sparc__]
39751         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39752         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39753         (__ASSUME_RECVMMSG): Define instead of using previous
39754         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39755         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39756         (__ASSUME_RECVMMSG_SYSCALL): Define.
39757         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39758         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39759         Likewise.
39760         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39761         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39762         Likewise.
39763         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39764         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39765         Likewise.
39766         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39767         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39768         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39769         [__ASSUME_RECVMMSG]: Change condition to
39770         [__ASSUME_RECVMMSG_SOCKETCALL].
39771         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39772         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39773         Define.
39774         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39775         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39776         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39777         Likewise.
39778         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39779         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39780         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39781         [!__ASSUME_RECVMMSG]: Change condition to
39782         [!__ASSUME_RECVMMSG_SOCKETCALL].
39783         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39784         (__ASSUME_RECVMMSG_SYSCALL): Define.
39786         [BZ #16609]
39787         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39788         __powerpc__ || __s390__ || __sh__ || __sparc__]
39789         (__ASSUME_SOCKETCALL): Define.
39790         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39791         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39792         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39793         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39794         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39795         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39796         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39797         (__ASSUME_ACCEPT4): Define instead of using previous
39798         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39799         __powerpc__ || __sparc__ || __s390__)] condition.
39800         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39801         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39802         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
39803         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39804         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39805         [!__ASSUME_ACCEPT4]: Change condition to
39806         [!__ASSUME_ACCEPT4_SOCKETCALL].
39807         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39808         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
39809         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
39810         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39811         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
39812         __ASSUME_ACCEPT4_SYSCALL.
39813         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39814         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39815         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39816         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39817         __ASSUME_ACCEPT4_SYSCALL.
39818         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39819         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39820         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39821         [__ASSUME_ACCEPT4]: Change condition to
39822         [__ASSUME_ACCEPT4_SOCKETCALL].
39823         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39824         (__ASSUME_SOCKETCALL): Define.
39825         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39826         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39827         (__ASSUME_SOCKETCALL): Define.
39828         (__ASSUME_ACCEPT4): Remove.
39829         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39830         Define.
39831         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39832         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39833         Likewise.
39834         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39835         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39837         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39838         macro.
39839         (HWCAP_ARM_LPAE): Likewise.
39840         (HWCAP_ARM_EVTSTRM): Likewise.
39841         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39842         Add vpfd32, lpae and evtstrm.
39843         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39844         Increase to 22.
39846 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
39848         * math/auto-libm-test-in: Add tests of clog10.
39849         * math/auto-libm-test-out: Regenerated.
39850         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39851         * sysdeps/i386/fpu/libm-test-ulps: Update.
39852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39854 2014-02-18  Andreas Schwab  <schwab@suse.de>
39856         [BZ #16574]
39857         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39858         Store non-zero if the second buffer was newly allocated.
39859         (send_dg): Likewise.
39860         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39861         to send_vc and send_dg.
39862         (res_nsend): Pass NULL for ansp2_malloced.
39863         * resolv/res_query.c (__libc_res_nquery): Add parameter
39864         answerp2_malloced and pass it down to __libc_res_nsend.
39865         (res_nquery): Pass additional NULL to __libc_res_nquery.
39866         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39867         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
39868         second answer buffer if answerp2_malloced was set.
39869         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39870         (__libc_res_nquerydomain): Add parameter
39871         answerp2_malloced and pass it down to __libc_res_nquery.
39872         (res_nquerydomain): Pass additional NULL to
39873         __libc_res_nquerydomain.
39874         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39875         additional NULL to __libc_res_nsend and __libc_res_nquery.
39876         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39877         additional NULL to __libc_res_nsearch.
39878         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
39879         parameter of __libc_res_nsearch to check for separately allocated
39880         second buffer.
39881         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39882         __libc_res_nquery.
39883         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39884         additional NULL to __libc_res_nquery.
39885         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39886         __libc_res_nsearch.
39887         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39888         * include/resolv.h: Update prototypes of __libc_res_nquery,
39889         __libc_res_nsearch, __libc_res_nsend.
39891 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
39893         * math/auto-libm-test-in: Add tests of fma.
39894         * math/auto-libm-test-out: Regenerated.
39895         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39896         (fma_towardzero_test_data): Likewise.
39897         (fma_downward_test_data): Likewise.
39898         (fma_upward_test_data): Likewise.
39899         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39900         mpc_mode.
39901         (rounding_modes): Add values for new field.
39902         (func_calc_method): Add value mpfr_fff_f.
39903         (func_calc_desc): Add mpfr_fff_f union field.
39904         (test_function): Add field exact_args.
39905         (FUNC): Add macro argument EXACT_ARGS.
39906         (FUNC_mpfr_f_f): Update call to FUNC.
39907         (FUNC_mpfr_f_f): Likewise.
39908         (FUNC_mpfr_ff_f): Likewise.
39909         (FUNC_mpfr_if_f): Likewise.
39910         (FUNC_mpc_c_f): Likewise.
39911         (FUNC_mpc_c_c): Likewise.
39912         (test_functions): Add fma.  Update calls to FUNC.
39913         (handle_input_arg): Add argument exact_args.
39914         (add_test): Update call to handle_input_arg.
39915         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
39916         (output_for_one_input_case): Update call to calc_generic_results.
39917         Recalculate exact zero results in each rounding mode.
39919         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39920         non-negative before setting low bit.
39921         * math/auto-libm-test-in: Mark one asin test possibly having
39922         spurious underflow.
39923         * math/auto-libm-test-out: Regenerated.
39924         * sysdeps/i386/fpu/libm-test-ulps: Update.
39925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39927 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
39929         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39930         * sysdeps/unix/sysv/linux/microblaze: Move directory from
39931         ports/sysdeps/unix/sysv/linux/microblaze.
39932         * README: Add missing listing for microblaze*-*-linux-gnu.
39934 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
39936         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39937         duplicate code
39939 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
39941         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39942         * sysdeps/unix/sysv/linux/ia64: Move directory from
39943         ports/sysdeps/unix/sysv/linux/ia64.
39944         * README: Update listing for ia64-*-linux-gnu.
39946 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
39947             Joseph Myers  <joseph@codesourcery.com>
39949         * Makeconfig (test-name): New variable.
39950         (evaluate-test): Likewise.
39951         * Makerules (do-test-clean): Remove .test-result files.
39952         (common-mostlyclean): Likewise.
39953         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39954         * scripts/evaluate-test.sh: New file.
39956 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
39958         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39959         separate $(objpfx)tst-fopenloc-cmp.out and
39960         $(objpfx)tst-fopenloc-mem.out targets.
39961         (tests): Update dependencies.
39962         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39963         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39964         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39965         (tst-rxspencer-no-utf8-ARGS): New variable.
39966         (tst-rxspencer-no-utf8-ENV): Likewise.
39967         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39968         instead of $(objpfx)tst-rxspencer-mem.
39969         ($(objpfx)tst-rxspencer-mem): Change target to
39970         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
39971         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39972         * posix/tst-rxspencer-no-utf8.c: New file.
39974         * elf/Makefile ($(objpfx)order.out): Remove rule.
39975         [$(run-built-tests) = yes] (tests): Depend on
39976         $(objpfx)order-cmp.out.
39977         ($(objpfx)order-cmp.out): New rule.
39978         [$(run-built-tests) = yes] (tests): Depend on
39979         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
39980         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
39981         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
39982         $(objpfx)tst-array5-static-cmp.out.
39983         ($(objpfx)tst-array1.out): Remove rule.
39984         ($(objpfx)tst-array1-cmp.out): New rule.
39985         ($(objpfx)tst-array1-static.out): Remove rule.
39986         ($(objpfx)tst-array1-static-cmp.out): New rule.
39987         ($(objpfx)tst-array2.out): Remove rule.
39988         ($(objpfx)tst-array2-cmp.out): New rule.
39989         ($(objpfx)tst-array3.out): Remove rule.
39990         ($(objpfx)tst-array3-cmp.out): New rule.
39991         ($(objpfx)tst-array4.out): Remove rule.
39992         ($(objpfx)tst-array4-cmp.out): New rule.
39993         ($(objpfx)tst-array5.out): Remove rule.
39994         ($(objpfx)tst-array5-cmp.out): New rule.
39995         ($(objpfx)tst-array5-static.out): Remove rule.
39996         ($(objpfx)tst-array5-static-cmp.out): New rule.
39997         [$(run-built-tests) = yes] (tests): Depend on
39998         $(objpfx)order2-cmp.out.
39999         ($(objpfx)order2.out): Remove rule.
40000         ($(objpfx)order2-cmp.out): New rule.
40001         ($(objpfx)tst-initorder.out): Remove rule.
40002         [$(run-built-tests) = yes] (tests): Depend on
40003         $(objpfx)tst-initorder-cmp.out.
40004         ($(objpfx)tst-initorder-cmp.out): New rule.
40005         ($(objpfx)tst-initorder2.out): Remove rule.
40006         [$(run-built-tests) = yes] (tests): Depend on
40007         $(objpfx)tst-initorder2-cmp.out.
40008         ($(objpfx)tst-initorder2-cmp.out): New rule.
40009         [$(run-built-tests) = yes] (tests): Depend on
40010         $(objpfx)tst-unused-dep-cmp.out.
40011         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40012         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40013         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40014         on $(objpfx)tst-setvbuf1-cmp.out.
40015         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40016         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40017         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40018         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40019         ($(objpfx)tst-svc.out): Remove rule.
40020         ($(objpfx)tst-svc-cmp.out): New rule.
40022 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40024         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40025         * ctype/ctype.h [__USE_MISC]: Likewise.
40026         * dirent/dirent.h [__USE_MISC]: Likewise.
40027         * grp/grp.h [__USE_MISC]: Likewise.
40028         * io/fcntl.h [__USE_MISC]: Likewise.
40029         * io/sys/stat.h [__USE_MISC]: Likewise.
40030         * libio/stdio.h [__USE_MISC]: Likewise.
40031         * posix/unistd.h [__USE_MISC]: Likewise.
40032         * pwd/pwd.h [__USE_MISC]: Likewise.
40033         * stdlib.h [__USE_MISC]: Likewise.
40034         * string/bits/string2.h [__USE_MISC]: Likewise.
40035         * string/string.h [__USE_MISC]: Likewise.
40036         * time/time.h [__USE_MISC]: Likewise.
40038 2014-02-13  Andreas Schwab  <schwab@suse.de>
40040         [BZ #16574]
40041         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40042         second answer buffer if it was separately allocated.
40044 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40046         * sysdeps/mips/math-tests.h: Include <features.h>.
40047         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40048         (ROUNDING_TESTS_long_double): Do not define.
40049         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40050         (EXCEPTION_TESTS_long_double): Likewise.
40051         * sysdeps/mips/mips64/libm-test-ulps: Update.
40053         * include/features.h (__USE_BSD): Remove macro definitions.
40054         (__USE_SVID): Likewise.
40055         (_BSD_SOURCE): Likewise.
40056         (_SVID_SOURCE): Likewise.
40057         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40058         from definition of _DEFAULT_SOURCE.
40059         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40060         [_DEFAULT_SOURCE].
40061         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40062         * bits/mman.h [__USE_BSD]: Likewise.
40063         * bits/termios.h [__USE_BSD]: Likewise.
40064         * bits/waitstatus.h [__USE_BSD]: Likewise.
40065         * ctype/ctype.h [__USE_SVID]: Likewise.
40066         * dirent/dirent.h [__USE_BSD]: Likewise.
40067         * grp/grp.h [__USE_SVID]: Likewise.
40068         [__USE_BSD]: Likewise.
40069         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40070         * io/fcntl.h [__USE_BSD]: Likewise.
40071         * io/ftw.h [__USE_BSD]: Likewise.
40072         * io/sys/stat.h [__USE_BSD]: Likewise.
40073         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40074         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40075         * libio/stdio.h [__USE_SVID]: Likewise.
40076         [__USE_BSD]: Likewise.
40077         * math/math.h [__USE_SVID]: Likewise.
40078         [__USE_BSD]: Likewise.
40079         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40080         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40081         * misc/search.h [__USE_SVID]: Likewise.
40082         * misc/sys/mman.h [__USE_BSD]: Likewise.
40083         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40084         * misc/sys/uio.h [__USE_BSD]: Likewise.
40085         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40086         * posix/glob.h [__USE_BSD]: Likewise.
40087         * posix/regex.h [__USE_BSD]: Likewise.
40088         * posix/sys/types.h [__USE_BSD]: Likewise.
40089         [__USE_SVID]: Likewise.
40090         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40091         * posix/sys/wait.h [__USE_BSD]: Likewise.
40092         [__USE_SVID]: Likewise.
40093         * posix/unistd.h [__USE_BSD]: Likewise.
40094         [__USE_SVID]: Likewise.
40095         * pwd/pwd.h [__USE_SVID]: Likewise.
40096         * resolv/netdb.h [__USE_BSD]: Likewise.
40097         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40098         * signal/signal.h [__USE_BSD]: Likewise.
40099         [__USE_SVID]: Likewise.
40100         * socket/sys/socket.h [__USE_BSD]: Likewise.
40101         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40102         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40103         [__USE_SVID]: Likewise.
40104         * string/bits/string2.h [__USE_BSD]: Likewise.
40105         [__USE_SVID]: Likewise.
40106         * string/bits/string3.h [__USE_BSD]: Likewise.
40107         * string/endian.h [__USE_BSD]: Likewise.
40108         * string/string.h [__USE_SVID]: Likewise.
40109         [__USE_BSD]: Likewise.
40110         * string/strings.h [__USE_BSD]: Likewise.
40111         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40112         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40113         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40114         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40115         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40116         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40117         Likewise.
40118         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40119         Likewise.
40120         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40121         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40122         Likewise.
40123         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40124         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40125         Likewise.
40126         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40127         Likewise.
40128         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40129         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40130         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40131         Likewise.
40132         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40133         Likewise.
40134         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40135         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40136         * termios/termios.h [__USE_BSD]: Likewise.
40137         * time/sys/time.h [__USE_BSD]: Likewise.
40138         * time/time.h [__USE_BSD]: Likewise.
40139         [__USE_SVID]: Likewise.
40141         * Makefile (subdir_targets): Remove subdir_lint.out.
40143         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40144         (do-tst-printf): Likewise.
40145         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40146         $(objpfx)tst-printf.out.
40148         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40150         * Makerules (check-abi-%): Change target to
40151         $(objpfx)check-abi-%.out.
40152         (check-abi target): Update dependencies.
40153         (check-abi-pattern variable): Redirect output of diff to $@.
40154         (check-abi variable): Likewise.
40155         * elf/Makefile (check-abi): Update dependencies.
40157         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40158         unused.
40159         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40160         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40161         subnormal range.
40162         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40163         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40164         value has largest subnormal exponent.
40165         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40166         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40167         * sysdeps/aarch64/soft-fp/sfp-machine.h
40168         (_FP_TININESS_AFTER_ROUNDING): New macro.
40169         * sysdeps/alpha/soft-fp/sfp-machine.h
40170         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40171         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40172         Likewise.
40173         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40174         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40175         * sysdeps/mips/soft-fp/sfp-machine.h
40176         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40177         * sysdeps/powerpc/soft-fp/sfp-machine.h
40178         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40179         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40180         Likewise.
40181         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40182         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40183         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40184         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40185         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40186         Likewise.
40188 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40190         [BZ #16545]
40191         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40192         model 1.
40194 2014-02-12  Richard Henderson  <rth@redhat.com>
40196         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40197         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40198         * sysdeps/unix/sysv/linux/alpha: Move directory from
40199         ports/sysdeps/unix/sysv/linux/alpha.
40200         * README: Update listing for alpha-*-linux-gnu.
40202 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40204         * include/features.h: Update comment documenting feature test
40205         macros.
40206         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40207         _DEFAULT_SOURCE.
40208         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40209         (_SVID_SOURCE): Likewise.
40210         (_DEFAULT_SOURCE): Update description of default features.
40211         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40212         with _GNU_SOURCE.
40213         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40214         (S_ISVTX): Likewise.
40215         * manual/math.texi (Mathematical Constants): Likewise.
40216         * manual/signal.texi (Interrupted Primitives): Likewise.
40217         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40218         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40219         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40220         Don't refer to _SVID_SOURCE in warning text.
40222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40224         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40225         already defined.
40226         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40227         * sysdeps/mips/dl-lookup.c: Remove.
40228         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40230 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40232         [BZ #16447]
40233         * math/auto-libm-test-in: Add testcase for expl.
40234         * math/auto-libm-test-out: Regenerate.
40235         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40236         calculation of unsafe.
40237         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40239 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40241         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40242         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40243         ports/sysdeps/unix/sysv/linux/aarch64.
40244         * README: Update listing for aarch64*-*-linux-gnu.
40246 2014-02-11  Will Newton  <will.newton@linaro.org>
40248         * manual/probes.texi (Mathematical Function Probes): Use
40249         "triggered" instead of "hit".
40251         * manual/probes.texi (Internal Probes): Add documentation
40252         of setjmp, longjmp and longjmp_target probes.
40254         * include/stap-probe.h: Add comment about probe argument
40255         format.
40257         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40258         definition.  (tr_where, tr_freehook, tr_mallochook,
40259         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40261 2014-02-11  David S. Miller  <davem@davemloft.net>
40263         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40264         processing int_tests.
40266 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40268         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40269         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40270         * sysdeps/unix/sysv/linux/mips: Move directory from
40271         ports/sysdeps/unix/sysv/linux/mips.
40272         * README: Update listing for mips-*-linux-gnu and
40273         mips64-*-linux-gnu.
40275 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40277         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40278         * sysdeps/unix/sysv/linux/m68k: Move directory from
40279         ports/sysdeps/unix/sysv/linux/m68k.
40280         * README: Update listing for m68k-*-linux-gnu.
40282 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40284         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40285         * sysdeps/unix/sysv/linux/generic: Move directory from
40286         ports/sysdeps/unix/sysv/linux/generic.
40287         * sysdeps/unix/sysv/linux/tile: Move directory from
40288         ports/sysdeps/unix/sysv/linux/tile.
40289         * README: Update listing for tile*-*-linux-gnu.
40291 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40293         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40294         __builtin_expect.
40295         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40296         * catgets/open_catalog.c (__open_catalog): Likewise.
40297         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40298         * debug/confstr_chk.c: Likewise.
40299         * debug/fread_chk.c (__fread_chk): Likewise.
40300         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40301         * debug/getgroups_chk.c: Likewise.
40302         * debug/mbsnrtowcs_chk.c: Likewise.
40303         * debug/mbsrtowcs_chk.c: Likewise.
40304         * debug/mbstowcs_chk.c: Likewise.
40305         * debug/memcpy_chk.c: Likewise.
40306         * debug/memmove_chk.c: Likewise.
40307         * debug/mempcpy_chk.c: Likewise.
40308         * debug/memset_chk.c: Likewise.
40309         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40310         * debug/strcat_chk.c (__strcat_chk): Likewise.
40311         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40312         * debug/strncat_chk.c (__strncat_chk): Likewise.
40313         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40314         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40315         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40316         * debug/wcpncpy_chk.c: Likewise.
40317         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40318         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40319         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40320         * debug/wcsncpy_chk.c: Likewise.
40321         * debug/wcsnrtombs_chk.c: Likewise.
40322         * debug/wcsrtombs_chk.c: Likewise.
40323         * debug/wcstombs_chk.c: Likewise.
40324         * debug/wmemcpy_chk.c: Likewise.
40325         * debug/wmemmove_chk.c: Likewise.
40326         * debug/wmempcpy_chk.c: Likewise.
40327         * debug/wmemset_chk.c: Likewise.
40328         * dirent/scandirat.c (SCANDIRAT): Likewise.
40329         * dlfcn/dladdr1.c (dladdr1): Likewise.
40330         * dlfcn/dladdr.c (dladdr): Likewise.
40331         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40332         * dlfcn/dlerror.c (__dlerror): Likewise.
40333         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40334         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40335         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40336         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40337         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40338         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40339         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40340         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40341         Likewise.
40342         * elf/dl-conflict.c: Likewise.
40343         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40344         * elf/dl-dst.h: Likewise.
40345         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40346         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40347         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40348         * elf/dl-init.c (call_init, _dl_init): Likewise.
40349         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40350         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40351         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40352         Likewise.
40353         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40354         Likewise.
40355         * elf/dl-minimal.c (__libc_memalign): Likewise.
40356         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40357         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40358         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40359         * elf/dl-sym.c (do_sym): Likewise.
40360         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40361         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40362         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40363         * elf/dl-writev.h (_dl_writev): Likewise.
40364         * elf/ldconfig.c (search_dir): Likewise.
40365         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40366         (dl_main): Likewise.
40367         * elf/setup-vdso.h (setup_vdso): Likewise.
40368         * grp/compat-initgroups.c (compat_call): Likewise.
40369         * grp/fgetgrent.c (fgetgrent): Likewise.
40370         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40371         * grp/putgrent.c (putgrent): Likewise.
40372         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40373         Likewise.
40374         * hurd/hurdinit.c: Likewise.
40375         * iconvdata/8bit-gap.c (struct): Likewise.
40376         * iconvdata/ansi_x3.110.c : Likewise.
40377         * iconvdata/big5.c : Likewise.
40378         * iconvdata/big5hkscs.c : Likewise.
40379         * iconvdata/cp1255.c: Likewise.
40380         * iconvdata/cp1258.c : Likewise.
40381         * iconvdata/cp932.c : Likewise.
40382         * iconvdata/euc-cn.c: Likewise.
40383         * iconvdata/euc-jisx0213.c : Likewise.
40384         * iconvdata/euc-jp.c: Likewise.
40385         * iconvdata/euc-jp-ms.c : Likewise.
40386         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40387         * iconvdata/gb18030.c : Likewise.
40388         * iconvdata/gbbig5.c (const): Likewise.
40389         * iconvdata/gbgbk.c: Likewise.
40390         * iconvdata/gbk.c : Likewise.
40391         * iconvdata/ibm1364.c : Likewise.
40392         * iconvdata/ibm930.c : Likewise.
40393         * iconvdata/ibm932.c: Likewise.
40394         * iconvdata/ibm933.c : Likewise.
40395         * iconvdata/ibm935.c : Likewise.
40396         * iconvdata/ibm937.c : Likewise.
40397         * iconvdata/ibm939.c : Likewise.
40398         * iconvdata/ibm943.c: Likewise.
40399         * iconvdata/iso_11548-1.c: Likewise.
40400         * iconvdata/iso-2022-cn.c : Likewise.
40401         * iconvdata/iso-2022-cn-ext.c : Likewise.
40402         * iconvdata/iso-2022-jp-3.c: Likewise.
40403         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40404         * iconvdata/iso-2022-kr.c : Likewise.
40405         * iconvdata/iso646.c (gconv_end): Likewise.
40406         * iconvdata/iso_6937-2.c : Likewise.
40407         * iconvdata/iso_6937.c : Likewise.
40408         * iconvdata/iso8859-1.c: Likewise.
40409         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40410         * iconvdata/shift_jisx0213.c : Likewise.
40411         * iconvdata/sjis.c : Likewise.
40412         * iconvdata/t.61.c : Likewise.
40413         * iconvdata/tcvn5712-1.c : Likewise.
40414         * iconvdata/tscii.c: Likewise.
40415         * iconvdata/uhc.c : Likewise.
40416         * iconvdata/unicode.c (gconv_end): Likewise.
40417         * iconvdata/utf-16.c (gconv_end): Likewise.
40418         * iconvdata/utf-32.c (gconv_end): Likewise.
40419         * iconvdata/utf-7.c (base64): Likewise.
40420         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40421         * iconv/gconv_close.c (__gconv_close): Likewise.
40422         * iconv/gconv_open.c (__gconv_open): Likewise.
40423         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40424         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40425         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40426         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40427         (ucs4le_internal_loop_single): Likewise.
40428         * iconv/iconv.c (iconv): Likewise.
40429         * iconv/iconv_close.c: Likewise.
40430         * iconv/loop.c (SINGLE): Likewise.
40431         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40432         * include/atomic.h: Likewise.
40433         * inet/inet6_option.c (option_alloc): Likewise.
40434         * intl/bindtextdom.c (set_binding_values): Likewise.
40435         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40436         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40437         * intl/localealias.c (read_alias_file): Likewise.
40438         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40439         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40440         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40441         * libio/fmemopen.c (fmemopen): Likewise.
40442         * libio/iofgets.c (_IO_fgets): Likewise.
40443         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40444         * libio/iofgetws.c (fgetws): Likewise.
40445         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40446         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40447         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40448         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40449         * locale/findlocale.c (_nl_find_locale): Likewise.
40450         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40451         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40452         Likewise.
40453         * locale/setlocale.c (setlocale): Likewise.
40454         * login/programs/pt_chown.c (main): Likewise.
40455         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40456         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40457         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40458         (mmap, mmap64, mremap, munmap): Likewise.
40459         * math/e_exp2l.c: Likewise.
40460         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40461         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40462         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40463         * math/s_catan.c (__catan): Likewise.
40464         * math/s_catanf.c (__catanf): Likewise.
40465         * math/s_catanh.c (__catanh): Likewise.
40466         * math/s_catanhf.c (__catanhf): Likewise.
40467         * math/s_catanhl.c (__catanhl): Likewise.
40468         * math/s_catanl.c (__catanl): Likewise.
40469         * math/s_ccosh.c (__ccosh): Likewise.
40470         * math/s_ccoshf.c (__ccoshf): Likewise.
40471         * math/s_ccoshl.c (__ccoshl): Likewise.
40472         * math/s_cexp.c (__cexp): Likewise.
40473         * math/s_cexpf.c (__cexpf): Likewise.
40474         * math/s_cexpl.c (__cexpl): Likewise.
40475         * math/s_clog10.c (__clog10): Likewise.
40476         * math/s_clog10f.c (__clog10f): Likewise.
40477         * math/s_clog10l.c (__clog10l): Likewise.
40478         * math/s_clog.c (__clog): Likewise.
40479         * math/s_clogf.c (__clogf): Likewise.
40480         * math/s_clogl.c (__clogl): Likewise.
40481         * math/s_csin.c (__csin): Likewise.
40482         * math/s_csinf.c (__csinf): Likewise.
40483         * math/s_csinh.c (__csinh): Likewise.
40484         * math/s_csinhf.c (__csinhf): Likewise.
40485         * math/s_csinhl.c (__csinhl): Likewise.
40486         * math/s_csinl.c (__csinl): Likewise.
40487         * math/s_csqrt.c (__csqrt): Likewise.
40488         * math/s_csqrtf.c (__csqrtf): Likewise.
40489         * math/s_csqrtl.c (__csqrtl): Likewise.
40490         * math/s_ctan.c (__ctan): Likewise.
40491         * math/s_ctanf.c (__ctanf): Likewise.
40492         * math/s_ctanh.c (__ctanh): Likewise.
40493         * math/s_ctanhf.c (__ctanhf): Likewise.
40494         * math/s_ctanhl.c (__ctanhl): Likewise.
40495         * math/s_ctanl.c (__ctanl): Likewise.
40496         * math/w_pow.c: Likewise.
40497         * math/w_powf.c: Likewise.
40498         * math/w_powl.c: Likewise.
40499         * math/w_scalb.c (sysv_scalb): Likewise.
40500         * math/w_scalbf.c (sysv_scalbf): Likewise.
40501         * math/w_scalbl.c (sysv_scalbl): Likewise.
40502         * misc/error.c (error_tail): Likewise.
40503         * misc/pselect.c (__pselect): Likewise.
40504         * nis/nis_callback.c (__nis_create_callback): Likewise.
40505         * nis/nis_call.c (__nisfind_server): Likewise.
40506         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40507         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40508         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40509         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40510         * nis/nis_lookup.c (nis_lookup): Likewise.
40511         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40512         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40513         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40514         * nis/nis_xdr.c (xdr_endpoint): Likewise.
40515         * nis/nss_compat/compat-grp.c (getgrent_next_file)
40516         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40517         * nis/nss_compat/compat-initgroups.c (add_group)
40518         (internal_getgrent_r): Likewise.
40519         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40520         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40521         * nis/nss_compat/compat-spwd.c (getspent_next_file)
40522         (internal_getspnam_r): Likewise.
40523         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40524         (_nss_nis_getaliasbyname_r): Likewise.
40525         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40526         (_nss_nis_getntohost_r): Likewise.
40527         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40528         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40529         (_nss_nis_getgrgid_r): Likewise.
40530         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40531         (internal_nis_gethostent_r, internal_gethostbyname2_r)
40532         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40533         (_nss_nis_gethostbyname4_r): Likewise.
40534         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40535         (initgroups_netid): Likewise.
40536         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40537         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40538         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40539         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40540         (_nss_nis_getprotobynumber_r): Likewise.
40541         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40542         (_nss_nis_getsecretkey): Likewise.
40543         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40544         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40545         (_nss_nis_getpwuid_r): Likewise.
40546         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40547         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40548         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40549         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40550         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40551         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40552         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40553         Likewise.
40554         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40555         (_nss_nisplus_getntohost_r): Likewise.
40556         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40557         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40558         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40559         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40560         Likewise.
40561         * nis/nss_nisplus/nisplus-initgroups.c
40562         (_nss_nisplus_initgroups_dyn): Likewise.
40563         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40564         (_nss_nisplus_getnetbyaddr_r): Likewise.
40565         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40566         (_nss_nisplus_getprotobynumber_r): Likewise.
40567         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40568         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40569         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40570         Likewise.
40571         * nis/nss_nisplus/nisplus-service.c
40572         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40573         (_nss_nisplus_getservbyport_r): Likewise.
40574         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40575         (_nss_nisplus_getspnam_r): Likewise.
40576         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40577         Likewise.
40578         * nscd/aicache.c (addhstaiX): Likewise.
40579         * nscd/cache.c (cache_search, prune_cache): Likewise.
40580         * nscd/connections.c (register_traced_file, send_ro_fd)
40581         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40582         (main_loop_epoll): Likewise.
40583         * nscd/grpcache.c (addgrbyX): Likewise.
40584         * nscd/hstcache.c (addhstbyX): Likewise.
40585         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40586         * nscd/mem.c (gc, mempool_alloc): Likewise.
40587         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40588         (addinnetgrX): Likewise.
40589         * nscd/nscd-client.h (__nscd_acquire_maplock)
40590         (__nscd_drop_map_ref): Likewise.
40591         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40592         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40593         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40594         Likewise.
40595         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40596         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40597         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40598         (__nscd_get_map_ref): Likewise.
40599         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40600         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40601         Likewise.
40602         * nscd/pwdcache.c (addpwbyX): Likewise.
40603         * nscd/selinux.c (preserve_capabilities): Likewise.
40604         * nscd/servicescache.c (addservbyX): Likewise.
40605         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40606         * posix/fnmatch.c (fnmatch): Likewise.
40607         * posix/getopt.c (_getopt_internal_r): Likewise.
40608         * posix/glob.c (glob, glob_in_dir): Likewise.
40609         * posix/wordexp.c (exec_comm_child): Likewise.
40610         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40611         (getanswer_r, gaih_getanswer_slice): Likewise.
40612         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40613         * resolv/res_init.c: Likewise.
40614         * resolv/res_mkquery.c (res_nmkquery): Likewise.
40615         * resolv/res_query.c (__libc_res_nquery): Likewise.
40616         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40617         Likewise.
40618         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40619         * stdio-common/perror.c (perror): Likewise.
40620         * stdio-common/printf_fp.c (___printf_fp): Likewise.
40621         * stdio-common/tmpnam.c (tmpnam): Likewise.
40622         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40623         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40624         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40625         Likewise.
40626         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40627         * stdlib/putenv.c (putenv): Likewise.
40628         * stdlib/setenv.c (__add_to_environ): Likewise.
40629         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40630         * stdlib/strtol_l.c (INTERNAL): Likewise.
40631         * string/memmem.c (memmem): Likewise.
40632         * string/strerror.c (strerror): Likewise.
40633         * string/strnlen.c (__strnlen): Likewise.
40634         * string/test-memmem.c (simple_memmem): Likewise.
40635         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40636         * sunrpc/pm_getport.c (__get_socket): Likewise.
40637         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40638         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40639         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40640         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40641         Likewise.
40642         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40643         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40644         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40645         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40646         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40647         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40648         Likewise.
40649         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40650         Likewise.
40651         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40652         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40653         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40654         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40655         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40656         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40657         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40658         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40659         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40660         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40661         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40662         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40663         Likewise.
40664         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40665         Likewise.
40666         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40667         Likewise.
40668         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40669         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40670         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40671         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40672         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40673         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40674         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40675         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40676         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40677         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40678         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40679         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40680         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40681         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40682         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40683         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40684         Likewise.
40685         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40686         Likewise.
40687         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40688         Likewise.
40689         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40690         Likewise.
40691         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40692         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40693         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40694         Likewise.
40695         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40696         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40697         * sysdeps/posix/opendir.c (__opendirat): Likewise.
40698         * sysdeps/posix/sleep.c: Likewise.
40699         * sysdeps/posix/tempname.c: Likewise.
40700         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40701         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40702         Likewise.
40703         * sysdeps/powerpc/powerpc32/dl-machine.h
40704         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40705         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40706         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40707         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40708         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40709         Likewise.
40710         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40711         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40712         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40713         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40714         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40715         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40716         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40717         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40718         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40719         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40720         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40721         (elf_machine_lazy_rel): Likewise.
40722         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40723         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40724         (elf_machine_lazy_rel): Likewise.
40725         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40726         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40727         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40728         * sysdeps/unix/grantpt.c (grantpt): Likewise.
40729         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40730         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40731         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40732         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40733         Likewise.
40734         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40735         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40736         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40737         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40738         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40739         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40740         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40741         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40742         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40743         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40744         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40745         Likewise.
40746         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40747         (__posix_fallocate64_l64): Likewise.
40748         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40749         (posix_fallocate): Likewise.
40750         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40751         Likewise.
40752         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40753         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40754         (getifaddrs_internal): Likewise.
40755         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40756         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40757         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40758         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40759         * sysdeps/unix/sysv/linux/posix_fallocate64.c
40760         (__posix_fallocate64_l64): Likewise.
40761         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40762         Likewise.
40763         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40764         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40765         (__get_clockfreq): Likewise.
40766         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40767         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40768         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40770         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40771         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40772         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40773         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40774         Likewise.
40775         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40776         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40777         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40778         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40779         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40780         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40781         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40782         Likewise.
40783         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40784         (posix_fallocate): Likewise.
40785         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40786         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40787         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40788         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40789         (elf_machine_rela, elf_machine_rela_relative)
40790         (elf_machine_lazy_rel): Likewise.
40791         * time/asctime.c (asctime_internal): Likewise.
40792         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40793         * time/tzset.c (__tzset_parse_tz): Likewise.
40794         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40795         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40796         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40797         * wcsmbs/wcsmbsload.h: Likewise.
40799         [BZ #15894]
40800         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40802         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
40803         (arena_get2): Remove THREAD_STATS conditionals.
40804         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
40805         (__malloc_stats, int): Likewise.
40807 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
40809         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
40810         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
40812         * manual/setjmp.texi: Fix typos/grammar errors.
40814         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40815         Only return early when n is <= 0.  Delete unused return statement.
40817         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40818         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40819         * debug/tst-longjmp_chk3.c: New file.
40821         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40822         (test_main): Replace code with set_fortify_handler call.
40823         * debug/test-strcpy_chk.c: Likewise.
40824         * debug/tst-chk1.c: Likewise.
40825         * debug/tst-longjmp_chk.c: Likewise.
40826         * test-skeleton.c: Include fcntl.h & paths.h
40827         (set_fortify_handler): Define.
40829         * debug/tst-longjmp_chk.c: Add header comment and include
40830         ../test-skeleton.c.
40831         (do_test): Mark static.
40832         (TEST_FUNCTION): Define.
40834         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40835         (IP_PMTUDISC_INTERFACE): Likewise.
40836         (IP_MULTICAST_IF): Likewise.
40837         (IP_MULTICAST_TTL): Likewise.
40838         (IP_MULTICAST_LOOP): Likewise.
40839         (IP_ADD_MEMBERSHIP): Likewise.
40840         (IP_DROP_MEMBERSHIP): Likewise.
40841         (IP_UNBLOCK_SOURCE): Likewise.
40842         (IP_BLOCK_SOURCE): Likewise.
40843         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40844         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40845         (IP_MSFILTER): Likewise.
40846         (MCAST_JOIN_GROUP): Likewise.
40847         (MCAST_BLOCK_SOURCE): Likewise.
40848         (MCAST_UNBLOCK_SOURCE): Likewise.
40849         (MCAST_LEAVE_GROUP): Likewise.
40850         (MCAST_JOIN_SOURCE_GROUP): Likewise.
40851         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40852         (MCAST_MSFILTER): Likewise.
40853         (IP_MULTICAST_ALL): Likewise.
40854         (IP_UNICAST_IF): Likewise.
40856         * timezone/Makefile: Delete $(have-ksh) check.
40857         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40858         * timezone/tzselect.ksh: Add +x mode bits.
40860         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40861         (ANON_INODE_FS_MAGIC): Likewise.
40862         (BDEVFS_MAGIC): Likewise.
40863         (BINFMTFS_MAGIC): Likewise.
40864         (BTRFS_TEST_MAGIC): Likewise.
40865         (CRAMFS_MAGIC_WEND): Likewise.
40866         (DEBUGFS_MAGIC): Likewise.
40867         (ECRYPTFS_SUPER_MAGIC): Likewise.
40868         (EXT3_SUPER_MAGIC): Likewise.
40869         (EXT4_SUPER_MAGIC): Likewise.
40870         (FUTEXFS_SUPER_MAGIC): Likewise.
40871         (HOSTFS_SUPER_MAGIC): Likewise.
40872         (HUGETLBFS_MAGIC): Likewise.
40873         (MINIX3_SUPER_MAGIC): Likewise.
40874         (MTD_INODE_FS_MAGIC): Likewise.
40875         (NILFS_SUPER_MAGIC): Likewise.
40876         (OPENPROM_SUPER_MAGIC): Likewise.
40877         (PIPEFS_MAGIC): Likewise.
40878         (PSTOREFS_MAGIC): Likewise.
40879         (QNX6_SUPER_MAGIC): Likewise.
40880         (RAMFS_MAGIC): Likewise.
40881         (REISERFS_SUPER_MAGIC_STRING): Likewise.
40882         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40883         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40884         (SECURITYFS_MAGIC): Likewise.
40885         (SELINUX_MAGIC): Likewise.
40886         (SMACK_MAGIC): Likewise.
40887         (SOCKFS_MAGIC): Likewise.
40888         (SQUASHFS_MAGIC): Likewise.
40889         (STACK_END_MAGIC): Likewise.
40890         (TMPFS_MAGIC): Likewise.
40891         (USBDEVICE_SUPER_MAGIC): Likewise.
40892         (V9FS_MAGIC): Likewise.
40893         (XENFS_SUPER_MAGIC): Likewise.
40894         (CRAMFS_MAGIC): Fix typo in comment.
40895         (EXT2_SUPER_MAGIC): Update comment.
40896         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40898 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
40900         * sysdeps/arm: Move directory from ports/sysdeps/arm.
40901         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40902         * sysdeps/unix/sysv/linux/arm: Move directory from
40903         ports/sysdeps/unix/sysv/linux/arm.
40904         * README: Update listing for arm-*-linux-gnueabi.
40906         * README: Remove mention of am33.
40908 2014-02-07  Roland McGrath  <roland@hack.frob.com>
40910         * bits/sigset.h (__sigemptyset): Use a statement expression rather
40911         than the comma operator, to avoid "rhs of comma has no effect"
40912         compiler warnings.
40913         (__sigfillset, __sigandset, __sigorset): Likewise.
40914         * include/signal.h (__sigemptyset): Likewise.
40915         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40917 2014-02-07  Allan McRae  <allan@archlinux.org>
40919         * version.h (RELEASE): Set to "development".
40920         (VERSION): Set to "2.19.90"
40921         * NEWS: Add 2.20 section.
40923 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
40925         [BZ #16529]
40926         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40928 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40930         * manual/contrib.texi: Update entry for Carlos O'Donell,
40931         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40933 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
40935         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40937         * sysdeps/unix/sysv/linux/kernel-features.h
40938         [__LINUX_KERNEL_VERSION >= 0x020621]
40939         (__ASSUME_PROC_PID_TASK_COMM): Define.
40941 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40943         [BZ #16398]
40944         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40945         conversion when destination buffer does not have enough space.
40946         * libio/tst-ftell-partial-wide.c: New test case.
40947         * libio/Makefile (tests): Add tst-ftell-partial-wide.
40949         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40950         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
40951         Leonard and Allan McRae.
40953 2014-02-04  David S. Miller  <davem@davemloft.net>
40955         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40956         32-bit.
40958 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40961         New file
40962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40963         New file
40964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40965         New file.
40966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40967         New file.
40968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40969         New file.
40970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40971         New file.
40972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40973         New file.
40974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40975         New file.
40976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40977         New file.
40978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40979         New file.
40980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40981         New file.
40982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40983         New file.
40984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40985         New file.
40987 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40989         * nptl/shlib-versions: Change powerpc*le start to 2.17.
40990         * shlib-versions: Likewise.
40992 2014-02-04  Roland McGrath  <roland@hack.frob.com>
40993             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40995         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
40996         (abilist-pattern): New variable, set to %-le.abilist.
40998         * Makerules (abilist-pattern): New variable.
40999         (vpath): Use $(abilist-pattern) in place of %.abilist.
41000         (check-abi-% pattern rule): Likewise.
41001         (check-abi, update-abi): Likewise.
41003 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41007 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41009         * manual/startup.texi: Add next, previous, and top entries for
41010         the `Program Arguments' and `Environment Variables' nodes.
41012 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41014         * manual/macros.texi: Add comments before MTASC-safety macros.
41016         * manual/users.texi: Document MTASC-safety properties.
41018         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41019         (pthread_getspecific, pthread_setspecific): Format with
41020         @deftypefun, and add @safety note.
41021         * manual/signal.texi: Move comments that analyze the above
41022         functions to their home place.
41024 2014-02-03  Allan McRae  <allan@archlinux.org>
41026         * po/sl.po: Update Slovenian translation from translation project.
41028 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41030         * manual/time.texi (timegm): Add missing blank after @c.
41031         Reported by Joseph Myers <joseph@codesourcery.com>.
41033 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41035         * manual/check-safety.sh: New.
41036         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41038         * manual/terminal.texi: Document MTASC-safety properties.
41040         * manual/filesys.texi: Document MTASC-safety properties.
41042         * manual/errno.texi: Document MTASC-safety properties.
41044         * manual/intro.texi: Document safety identifiers and
41045         conditionals.
41047         * manual/string.texi (wcstok): Fix prototype.
41048         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41050         * manual/time.texi: Document MTASC-safety properties.
41052         * manual/string.texi: Document MTASC-safety properties.
41054         * manual/threads.texi: Document MTASC-safety properties.
41056         * manual/stdio.texi: Document MTASC-safety properties.
41058         * manual/syslog.texi: Document MTASC-safety properties.
41060         * manual/sysinfo.texi: Document MTASC-safety properties.
41062         * manual/startup.texi: Document MTASC-safety properties.
41064         * manual/socket.texi: Document MTASC-safety properties.
41066         * manual/signal.texi: Document MTASC-safety properties.
41068 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41070         * manual/setjmp.texi: Document MTASC-safety properties.
41072         * manual/search.texi: Document MTASC-safety properties.
41074         * manual/resource.texi: Document MTASC-safety properties.
41076         * manual/process.texi: Document MTASC-safety properties.
41078         * manual/platform.texi: Document MTASC-safety properties.
41080         * manual/pipe.texi: Document MTASC-safety properties.
41082         * manual/pattern.texi: Document MTASC-safety properties.
41084         * manual/message.texi: Document MTASC-safety properties.
41086         [BZ #12751]
41087         * manual/memory.texi: Document MTASC-safety properties.
41089         * manual/math.texi: Document MTASC-safety properties.
41091         * manual/locale.texi: Document MTASC-safety properties.
41093         * manual/llio.texi: Document MTASC-safety properties.
41095         * manual/libdl.texi: New.
41097         * manual/lang.texi: Document MTASC-safety properties.
41099         * manual/job.texi: Document MTASC-safety properties.
41101         * manual/getopt.texi: Document MTASC-safety properties.
41103         * manual/ctype.texi: Document MTASC-safety properties.
41105 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41107         [BZ #16046]
41108         * csu/libc-tls.c (static_map): Remove variable.
41109         (__libc_setup_tls): Use main executable's link map for TLS data.
41110         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41111         casing for LM_ID_BASE and GL(dl_nns).
41112         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41113         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41114         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41115         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41116         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41117         member.
41118         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41119         l_phnum members.
41121 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41123         * manual/debug.texi: Document MTASC-safety properties.
41125 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41127         [BZ #16510]
41128         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41129         of __x86_64__ when disabling x87 inline functions.
41131 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41133         * manual/charset.texi: Document MTASC-safety properties.
41135         * manual/crypt.texi: Document MTASC-safety properties.
41137         * manual/conf.texi: Document MTASC-safety properties.
41139         * manual/arith.texi: Document MTASC-safety properties.
41141         * manual/argp.texi: Document MTASC-safety properties.
41143         * manual/macros.texi: Introduce macros to document multi
41144         thread, asynchronous signal and asynchronous cancellation
41145         safety properties.
41146         * manual/intro.texi: Introduce the properties themselves.
41148 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41150         * sysdeps/sh/sh4/Makefile: New file.
41152 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41154         * math/gen-libm-test.pl ($srcdir): New variable.
41155         ($auto_input): Use it.
41157 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41159         [BZ #16506]
41160         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41161         access beyond array bounds when parsing netgroups file.
41163         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41164         the old buffer before realloc.
41166 2014-01-27  Allan McRae  <allan@archlinux.org>
41168         * po/fr.po: Update French translation from translation project.
41170 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41172         * sysdeps/sh/libm-test-ulps: Regenerate.
41174 2014-01-24  David S. Miller  <davem@davemloft.net>
41176         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41178 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41180         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41181         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41183 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41185         [BZ #16474]
41186         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41187         string pointers after reallocation.
41189 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41191         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41192         __SH4A__ instead of __SH_FPU_ANY__.
41194 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41196         * sysdeps/sh/fpu_control.h: New file.
41197         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41198         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41199         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41200         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41201         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41202         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41203         * sysdeps/sh/sys/ucontext.h: Remove.
41204         * sysdeps/sh/sys: Remove directory.
41206 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41208         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41209         s390/sys/ucontext.h.
41210         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41211         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41213 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41215         [BZ #15605]
41216         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41218 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41220         [BZ#16431]
41221         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41222         Adjust the vDSO correctly for internal calls.
41223         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41225 2014-01-20  Allan McRae  <allan@archlinux.org>
41227         * po/ca.po: Update Catalan translation from translation project.
41229 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41231         * sysdeps/s390/sotruss-lib.c: New file.
41233 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41235         [BZ#16430]
41236         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41237         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41238         local calls issues by not having a PLT stub required for IFUNC calls.
41239         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41241 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41243         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41244         * math/test-fpucw-static.c: Likewise.
41246 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41248         [BZ #16453]
41249         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41251 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41253         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41254         implementation for powerpc.
41256 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41258         [BZ #14782]
41259         * sysdeps/posix/system.c (__libc_system): Do not enable
41260         asynchronous cancellation.
41262 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41264         [BZ #16427]
41265         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41266         handling only for numbers special also in the IEEE case.
41268 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41270         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41272 2014-01-11  Allan McRae  <allan@archlinux.org>
41274         * po/bg.po: Update Bulgarian translation from translation project.
41276         * po/de.po: Update German translation from translation project.
41278 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41280         * sysdeps/generic/gcc-compat.h: New file.
41282 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41284         * benchtests/asin-inputs: Correct slow inputs.
41285         * benchtests/acos-inputs: Likewise.
41287 2014-01-10  Allan McRae  <allan@archlinux.org>
41289         * po:sv.po: Update Swedish translation from translation project.
41291         * po/vi.po: Update Vietnamese translation from translation project.
41293         * po/eo.po: Update Esperanto translation from translation project.
41295         * po/cs.po: Update Czech translation from translation project.
41297         * po/nl.po: Update Dutch translation from translation project.
41299         * po/pl.po: Update Polish translation from translation project.
41301         * po/ru.po: Update Russian translation from translation project.
41303         * po/uk.po: Update Ukrainian translation from translation project.
41305 2014-01-08  Brooks Moses  <bmoses@google.com>
41307         * elf/dl-load.c: Fix comment typo.
41309 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41311         * po/header.pot: Rename to...
41312         * po/pot.header: ... this.
41313         * po/Makefile: Use pot.header.
41315 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41316             Maxim Kuvyrkov  <maxim@kugelworks.com>
41318         [BZ #16394]
41319         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41320         SRC and DEST against LEN.
41322 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41324         [BZ #16414]
41325         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41326         implementation.
41327         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41329 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41333 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41335         [BZ #16408]
41336         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41337         for large positive arguments.
41339 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41341         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41343         * math/auto-libm-test-in: Mark various tests with
41344         xfail-rounding:ldbl-128ibm.
41345         * math/auto-libm-test-out: Regenerated.
41347         [BZ #16407]
41348         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41349         Increase overflow threshold.
41351 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41353         [BZ #14286]
41354         * stdio-common/vfprintf.c: Check for integer overflow.
41356 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41358         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41359         the first argument and return value of __tls_get_addr_internal.
41361 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41363         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41364         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41366 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41368         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41369         * sysdeps/s390/rtld-global-offsets.sym: New file.
41370         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41371         GLIBC_2.19 symbol.
41372         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41373         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41374         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41375         ... this.
41376         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41377         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41378         ... this.
41379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41380         Regenerate.
41381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41382         Regenerate.
41383         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41384         halfs of GPRs for high_gprs contexts.
41385         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41386         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41387         field.
41388         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41389         uc_flags field.
41390         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41391         64 bit versions:
41392         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41393         for high GPRs (uc_high_gprs) and for future extensions
41394         (__reserved).
41395         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41396         for future extensions (__reserved).
41397         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41398         64 bit versions:
41399         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41400         SC_HIGHGPRS offset definition.
41401         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41402         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41404         * Versions.def: Add GLIBC_2.19 for libpthread.
41405         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41406         siglongjmp for libpthread with GLIBC_2.19 symver.
41407         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41408         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41409         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41410         * sysdeps/s390/__longjmp.c: New file.
41411         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41412         * sysdeps/s390/longjmp.c: New file.
41413         * sysdeps/s390/setjmp.S: New file.
41414         * sysdeps/s390/sigjmp.S: New file.
41415         * sysdeps/s390/v1-longjmp.c: New file.
41416         * sysdeps/s390/v1-setjmp.h: New file.
41417         * sysdeps/s390/v1-sigjmp.c: New file.
41418         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41419         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41420         GLIBC_2.19 version.
41421         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41422         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41423         versioned symbols for ____longjmp_chk.
41424         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41425         Likewise.
41426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41427         Regenerate.
41428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41429         Regenerate.
41430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41431         Regenerate.
41432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41433         Regenerate.
41434         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41435         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41436         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41437         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41438         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41439         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41440         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41441         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41442         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41443         * sysdeps/s390/rtld-__longjmp.c: New file.
41444         * sysdeps/s390/rtld-setjmp.S: New file.
41446 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41448         [BZ #16400]
41449         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41450         Return -__logl (x) for small positive arguments without evaluating
41451         a polynomial.
41453 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41455         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41456         Rename to ...
41457         (__ptrace_peeksiginfo_args): ... this.
41458         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41459         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41460         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41462 2014-01-06  Allan McRae  <allan@archlinux.org>
41464         * inet/netinet/in.h: Fix typo in comment.
41466 2014-01-05  Andreas Jaeger  <aj@suse.de>
41468         * sysdeps/i386/fpu/libm-test-ulps: Update.
41470 2014-01-05  Allan McRae  <allan@archlinux.org>
41472         * po/libc.pot: Regenerated.
41474         * malloc/memusagestat.c: Fix gettext call formatting.
41476 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41478         * nscd/nscd.c: Improve usage() output.
41480 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41482         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41483         * sysdeps/unix/sysv/linux/configure: Regenerated.
41484         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41485         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41487 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41489         [BZ #16390]
41490         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41491         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41493 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41495         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41496         extra tokens at end of #undef directive.
41497         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41498         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41499         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41501 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41503         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41505         * math/auto-libm-test-in: Mark various tests with
41506         xfail-rounding:ldbl-128ibm.
41507         * math/auto-libm-test-out: Regenerated.
41509 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41511         [BZ #16386]
41512         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41513         numbers with subnormal high part when calculating exponent.
41515         [BZ #16385]
41516         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41517         fabs.
41519         [BZ #16384]
41520         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41521         M_LN2l.
41522         (__ieee754_acoshl): Use __log1pl not __log1p.
41524 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
41526         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41527         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41528         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41529         (grow_heap, heap_trim, _int_new_arena, get_free_list)
41530         (reused_arena, arena_get2): Convert to GNU style.
41531         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41532         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41533         (memalign_check, __malloc_set_state): Likewise.
41534         * malloc/mallocbug.c (main): Likewise.
41535         * malloc/malloc.c (__malloc_assert, malloc_init_state)
41536         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41537         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41538         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41539         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41540         (__posix_memalign, malloc_info): Likewise.
41541         * malloc/malloc.h: Likewise.
41542         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41543         (mallochook, memalignhook, reallochook, mabort): Likewise.
41544         * malloc/mcheck.h: Likewise.
41545         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41546         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41547         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41548         * malloc/morecore.c (__default_morecore): Likewise.
41549         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41550         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41551         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41552         (print_and_abort): Likewise.
41553         * malloc/obstack.h: Likewise.
41554         * malloc/set-freeres.c (__libc_freeres): Likewise.
41555         * malloc/tst-mallocstate.c (main): Likewise.
41556         * malloc/tst-mtrace.c (main): Likewise.
41557         * malloc/tst-realloc.c (do_test): Likewise.
41559 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41561         [BZ #16366]
41562         * nscd/netgroupcache.c (do_notfound): New function.
41563         (addgetnetgrentX): Use it.
41565         [BZ # 16365]
41566         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41567         NSS_STATUS_NOTFOUND.
41569 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41571         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41574 2014-01-01  Allan McRae  <allan@archlinux.org>
41576         * scripts/update-copyrights: Update configure input file suffix.
41578         * NEWS: Update copyright year.
41579         * catgets/gencat.c: Likewise.
41580         * csu/version.c: Likewise.
41581         * debug/catchsegv.sh: Likewise.
41582         * debug/pcprofiledump.c: Likewise.
41583         * debug/xtrace.sh: Likewise.
41584         * elf/ldconfig.c: Likewise.
41585         * elf/ldd.bash.in: Likewise.
41586         * elf/pldd.c: Likewise.
41587         * elf/sotruss.ksh: Likewise.
41588         * elf/sprof.c: Likewise.
41589         * iconv/iconv_prog.c: Likewise.
41590         * iconv/iconvconfig.c: Likewise.
41591         * locale/programs/locale.c: Likewise.
41592         * locale/programs/localedef.c: Likewise.
41593         * login/programs/pt_chown.c: Likewise.
41594         * malloc/memusage.sh: Likewise.
41595         * malloc/memusagestat.c: Likewise.
41596         * malloc/mtrace.pl: Likewise.
41597         * manual/libc.texinfo: Likewise.
41598         * nscd/nscd.c: Likewise.
41599         * nss/getent.c: Likewise.
41600         * nss/makedb.c: Likewise.
41601         * posix/getconf.c: Likewise.
41602         * scripts/test-installation.pl: Likewise.
41604         * All files with FSF copyright notices: Update copyright dates
41605         using scripts/update-copyrights.
41606         * intl/plural.c: Regenerated.
41607         * locale/programs/charmap-kw.h: Likewise.
41608         * locale/programs/locfile-kw.h: Likewise.
41610 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
41612         * sysdeps/unix/sysv/linux/configure: Regenerated.
41613         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41614         the linux/fanotify.h header.
41615         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41616         HAVE_LINUX_FANOTIFY_H is defined.
41618 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41620         * benchtests/cos-inputs: New inputs.
41621         * benchtests/sin-inputs: Likewise.
41623         * benchtests/atan-inputs: New inputs. Fix name of multiple
41624         precision fallback inputs.
41626         * benchtests/atanh-inputs: New inputs.
41627         * benchtests/tanh-inputs: Likewise.
41629         * benchtests/acosh-inputs: New inputs.
41630         * benchtests/asinh-inputs: Likewise.
41632         * benchtests/cosh-inputs: New inputs.
41633         * benchtests/sinh-inputs: Likewise.
41635         * benchtests/acos-inputs: Add more inputs.
41636         * benchtests/asin-inputs: Likewise.
41638 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
41640         [BZ #16375]
41641         * manual/arith.texi: Fix spelling.
41642         * manual/charset.texi: Likewise.
41643         * manual/errno.texi: Likewise.
41644         * manual/filesys.texi: Likewise.
41645         * manual/lang.texi: Likewise.
41646         * manual/llio.texi: Likewise.
41647         * manual/locale.texi: Likewise.
41648         * manual/message.texi: Likewise.
41649         * manual/resource.texi: Likewise.
41650         * manual/search.texi: Likewise.
41651         * manual/setjmp.texi: Likewise.
41652         * manual/stdio.texi: Likewise.
41653         * manual/string.texi: Likewise.
41654         * manual/sysinfo.texi: Likewise.
41655         * manual/time.texi: Likewise.
41657 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
41659         * po/sl.po: New file.
41661 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
41663         * .gitignore: Add core/.gdbinit/.gdb_history.
41665 2013-12-27  Allan McRae  <allan@archlinux.org>
41667         [BZ #16369]
41668         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41669         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41671 2013-12-24  Brooks Moses  <bmoses@google.com>
41673         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41674         all compilers that claim C++98 compliance, not just GCC.
41675         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41676         Likewise.
41678 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41680         * NEWS: Restore accidentally deleted bug-fix entries.
41682 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41683             Ondřej Bílka  <neleai@seznam.cz>
41685         [BZ #15073]
41686         * malloc/malloc.c (_int_free): Perform sanity check only if we
41687         have_lock.
41689 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
41691         [BZ #12986]
41692         * manual/stdio.texi (String Input Conversions): Clarify that character
41693         classes are not supported.
41695 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41699 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
41701         [BZ #16337]
41702         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41703         Calculate results for small negative arguments directly rather
41704         than using reflection formula with special underflow handling.
41706         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41707         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41708         sysdeps/unix/bsd/bsd4.4/syscalls.list.
41709         (fchflags): Likewise.
41710         (revoke): Likewise.
41711         (setlogin): Likewise.
41712         (sigaltstack): Likewise.
41713         (wait4): Likewise.
41714         (sigblock): Remove.
41715         (sigsetmask): Likewise.
41716         (wait3): Likewise.
41717         (waitpid): Likewise.
41718         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41719         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41720         file.
41721         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41722         * sysdeps/unix/bsd/Makefile: ... here.
41723         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41724         * sysdeps/unix/bsd/Versions: ... here.
41725         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41726         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41727         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41728         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41729         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41730         * sysdeps/unix/bsd/sigblock.c: ... here.
41731         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41732         * sysdeps/unix/bsd/sigsetmask.c: ... here.
41733         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41734         * sysdeps/unix/bsd/sigvec.c: ... here.
41735         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41736         * sysdeps/unix/bsd/tcdrain.c: ... here.
41737         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41738         * sysdeps/unix/bsd/tcgetattr.c: ... here.
41739         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41740         * sysdeps/unix/bsd/tcsetattr.c: ... here.
41741         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41742         * sysdeps/unix/bsd/wait.c: ... here.
41743         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41744         * sysdeps/unix/bsd/wait3.c: ... here.
41745         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41746         * sysdeps/unix/bsd/waitpid.c: ... here.
41748 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
41750         [BZ #16356]
41751         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41752         round-to-nearest for [!USE_AS_EXPM1L].
41753         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41754         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
41755         more tests of exp and exp10.  Expect some exp10 tests to miss
41756         exceptions or fail in directed rounding modes.
41757         * math/auto-libm-test-out: Regenerated.
41758         * math/libm-test.inc (exp10_tonearest_test_data): New array.
41759         (exp10_test_tonearest): New function.
41760         (exp10_towardzero_test_data): New array.
41761         (exp10_test_towardzero): New function.
41762         (exp10_downward_test_data): New array.
41763         (exp10_test_downward): New function.
41764         (exp10_upward_test_data): New array.
41765         (exp10_test_upward): New function.
41766         (main): Call the new functions.
41767         * sysdeps/i386/fpu/libm-test-ulps: Update.
41768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41770 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
41772         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41773         asinh, atan, atan2, atanh, cbrt, cos and cosh.
41774         * math/auto-libm-test-out: Regenerated.
41775         * math/libm-test.inc (acosh_test_data): Add more tests.
41776         (atanh_test_data): Likewise.
41777         (ceil_test_data): Likewise.
41778         (copysign_test_data): Likewise.
41779         * sysdeps/i386/fpu/libm-test-ulps: Update.
41780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41782         * timezone/checktab.awk: Update from tzcode 2013i.
41783         * timezone/private.h: Likewise.
41784         * timezone/scheck.c: Likewise.
41785         * timezone/tzfile.h: Likewise.
41786         * timezone/tzselect.ksh: Likewise.
41787         * timezone/zdump.c: Likewise.
41788         * timezone/zic.c: Likewise.
41790         * math/auto-libm-test-in: Add tests of cpow.
41791         * math/auto-libm-test-out: Regenerated.
41792         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41793         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41794         mpc_cc_c.
41795         (func_calc_desc): Add mpc_cc_c union field.
41796         (test_functions): Add cpow.
41797         (special_fill_2pi): New function.
41798         (special_real_inputs): Add 2pi.
41799         (calc_generic_results): Handle mpc_cc_c.
41800         * sysdeps/i386/fpu/libm-test-ulps: Update.
41801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41803         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
41804         csqrt, ctan and ctanh.
41805         * math/auto-libm-test-out: Regenerated.
41806         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41807         (TEST_COND_x86): Likewise.
41808         (ccos_test_data): Use AUTO_TESTS_c_c.
41809         (ccosh_test_data): Likewise.
41810         (cexp_test_data): Likewise.
41811         (clog_test_data): Likewise.
41812         (csqrt_test_data): Likewise.
41813         (ctan_test_data): Likewise.
41814         (ctan_tonearest_test_data): Likewise.
41815         (ctan_towardzero_test_data): Likewise.
41816         (ctan_downward_test_data): Likewise.
41817         (ctan_upward_test_data): Likewise.
41818         (ctanh_test_data): Likewise.
41819         (ctanh_tonearest_test_data): Likewise.
41820         (ctanh_towardzero_test_data): Likewise.
41821         (ctanh_downward_test_data): Likewise.
41822         (ctanh_upward_test_data): Likewise.
41823         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41824         mpc_c_c.
41825         (func_calc_desc): Add mpc_c_c union field.
41826         (FUNC_mpc_c_c): New macro.
41827         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41828         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41829         ctanh.
41830         (special_fill_min_subnorm_p120): New function.
41831         (special_real_inputs): Add min_subnorm_p120.
41832         (calc_generic_results): Handle mpc_c_c.
41833         * sysdeps/i386/fpu/libm-test-ulps: Update.
41834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41836 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41838         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41839         (do_sin_slow): New functions.
41840         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41841         (cslow2, csloww1, csloww2): Use the new functions.
41843         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41844         Use M to change sign of result instead of X.  Assume X is
41845         positive.
41846         (csloww1): Likewise.
41847         (__sin): Adjust.
41848         (__cos): Adjust.
41850         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41851         arguments A and DA.
41852         (__sin): Adjust.
41853         (__cos): Likewise.
41855         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41856         (__cos): Likewise.
41857         (sloww1): Don't adjust sign of DX.
41858         (csloww1): Likewise.
41859         (sloww2): Use X directly and don't adjust sign of DX.
41860         (csloww2): Likewise.
41862 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41864         * math/auto-libm-test-in: Add tests of cabs and carg.
41865         * math/auto-libm-test-out: Regenerated.
41866         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41867         (carg_test_data): Likewise.
41868         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41869         mpc_c_f.
41870         (func_calc_desc): Add mpc_c_f union field.
41871         (test_functions): Add cabs and carg.
41872         (calc_generic_results): Handle mpc_c_f.
41874         * sysdeps/powerpc/powerpc32/libgcc-compat.S
41875         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41876         as a macro and a compat symbol.
41877         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41878         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41879         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41880         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41881         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41882         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41883         not use .hidden.
41884         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41885         Likewise.
41886         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41887         Likewise.
41888         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41889         Likewise.
41890         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41891         Likewise.
41892         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41893         Likewise.
41894         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41895         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41896         from GLIBC_2.3.2.
41898 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41902 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41904         * manual/texinfo.tex: Update to version 2013-11-26.10 with
41905         trailing whitespace removed.
41906         * scripts/config.guess: Update to version 2013-11-29.
41907         * scripts/config.sub: Update to version 2013-10-01.
41909         * math/auto-libm-test-in: Add tests of sincos.
41910         * math/auto-libm-test-out: Regenerated.
41911         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41912         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41913         mpfr_f_11.
41914         (func_calc_desc): Add mpfr_f_11 union field.
41915         (test_functions): Add sincos.
41916         (calc_generic_results): Handle mpfr_f_11.
41917         * sysdeps/i386/fpu/libm-test-ulps: Update.
41918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41920 2013-12-19  Andreas Schwab  <schwab@suse.de>
41922         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41923         CALL_MCOUNT.
41924         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41925         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41926         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41928 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41930         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41931         * sysdeps/i386/fpu/libm-test-ulps: Update.
41932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41934         [BZ #16293]
41935         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41936         round-to-nearest mode when using frndint.
41937         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41938         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41939         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41940         Likewise.
41941         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
41942         sinh test to fail.
41943         * math/auto-libm-test-out: Regenerated.
41944         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41945         (TEST_COND_x86): Likewise.
41946         (expm1_tonearest_test_data): New array.
41947         (expm1_test_tonearest): New function.
41948         (expm1_towardzero_test_data): New array.
41949         (expm1_test_towardzero): New function.
41950         (expm1_downward_test_data): New array.
41951         (expm1_test_downward): New function.
41952         (expm1_upward_test_data): New array.
41953         (expm1_test_upward): New function.
41954         (main): Run the new test functions.
41955         * sysdeps/i386/fpu/libm-test-ulps: Update.
41956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41958         * include/features.h: Update comment documenting feature test
41959         macros.  Mention _DEFAULT_SOURCE in comment.
41960         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41961         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41962         _BSD_SOURCE and _SVID_SOURCE.
41963         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41964         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41965         !_SVID_SOURCE]: Likewise.
41966         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41967         (__USE_POSIX_IMPLICITLY): Define.
41968         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41969         (_POSIX_SOURCE): Undefine and redefine.
41970         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41971         (_POSIX_C_SOURCE): Likewise.
41972         * manual/creature.texi (_DEFAULT_SOURCE): Document.
41973         (Feature Test Macros): Update documentation of default features.
41975 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41977         * benchtests/Makefile: Add bench-strtok.
41978         * benchtests/bench-strtok.c: New file: strtok benchtest.
41980 2013-12-19  Allan McRae  <allan@archlinux.org>
41982         * manual/install.texi: Suppress menu for plain text output.
41983         * INSTALL: Regenerated.
41985 2013-12-18  Brooks Moses  <bmoses@google.com>
41987         [BZ #15846]
41988         * misc/getauxval.c: Include errno.h.
41989         (__getauxval): Set errno to ENOENT if the requested type is not
41990         found.
41991         * misc/sys/auxv.h (getauxval): Document that it may set errno;
41992         don't declare with __attribute_const__.
41993         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
41994         * manual/startup.texi: Document that getauxval sets errno.
41996 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41998         * math/auto-libm-test-in: Add tests of jn and yn.
41999         * math/auto-libm-test-out: Regenerated.
42000         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42001         (yn_test_data): Likewise.
42002         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42003         mpfr_if_f.
42004         (func_calc_desc): Add mpfr_if_f union field.
42005         (FUNC_mpfr_if_f): New macro.
42006         (test_functions): Add jn and yn.
42007         (calc_generic_results): Assert type of second input for
42008         mpfr_ff_f.  Handle mpfr_if_f.
42009         (output_for_one_input_case): Disable all checking for arguments
42010         fitting floating-point types in case of an integer argument.
42011         * sysdeps/i386/fpu/libm-test-ulps: Update.
42012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42015         Don't expect fegetround reference in libm.so.
42017 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42019         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42020         $(config-cflags-nofma).
42022 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42024         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42025         * math/auto-libm-test-out: Regenerated.
42027         [BZ #16338]
42028         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42029         to determine exponent and adjust argument to have exponent of -1.
42030         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42031         log2.
42032         * math/auto-libm-test-out: Regenerated.
42033         * sysdeps/i386/fpu/libm-test-ulps: Update.
42034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42036 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42038         * manual/probes.texi: Remove cases when per-thread arenas are
42039         disabled.
42041 2013-12-18  Andreas Schwab  <schwab@suse.de>
42043         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42044         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42045         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42046         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42047         * sysdeps/i386/i686/multiarch/Makefile: Update.
42048         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42050 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42052         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42053         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42055 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42057         [BZ #15968]
42058         Support TZ transition times < 00:00:00.
42059         This is needed for version-3 tz-format files; it supports time
42060         stamps past 2037 for America/Godthab (the only entry in the tz
42061         database for which this change is relevant).
42062         * manual/time.texi (TZ Variable): Document transition times
42063         from -167:59:59 through -00:00:01.
42064         * time/tzset.c (tz_rule): Time of day is now signed.
42065         (__tzset_parse_tz): Parse negative time of day.
42067         Document TZ transition times >= 25:00:00.
42068         * manual/time.texi (TZ Variable): Document transition times from
42069         25:00:00 through 167:59:59.  These are already supported, and this
42070         support will help with version-3 tz-format files.
42072         * manual/time.texi (TZ Variable): Modernize North America example
42073         to reflect current (i.e., 2007-and-later) daylight saving rules.
42075         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42077 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42079         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42080         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42081         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42082         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42083         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42084         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42085         * sysdeps/unix/bsd/clock.c: Likewise.
42086         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42087         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42088         * sysdeps/unix/bsd/init-posix.c: Likewise.
42089         * sysdeps/unix/bsd/poll.c: Likewise.
42090         * sysdeps/unix/bsd/ptsname.c: Likewise.
42091         * sysdeps/unix/bsd/seekdir.c: Likewise.
42092         * sysdeps/unix/bsd/setegid.c: Likewise.
42093         * sysdeps/unix/bsd/seteuid.c: Likewise.
42094         * sysdeps/unix/bsd/setgid.c: Likewise.
42095         * sysdeps/unix/bsd/setrgid.c: Likewise.
42096         * sysdeps/unix/bsd/setruid.c: Likewise.
42097         * sysdeps/unix/bsd/setsid.c: Likewise.
42098         * sysdeps/unix/bsd/setuid.c: Likewise.
42099         * sysdeps/unix/bsd/sigaction.c: Likewise.
42100         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42101         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42102         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42103         * sysdeps/unix/bsd/telldir.c: Likewise.
42104         * sysdeps/unix/bsd/times.c: Likewise.
42105         * sysdeps/unix/bsd/usleep.c: Likewise.
42107         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42108         ($(objpfx)libbsd-compat.a): Remove rule.
42110         * include/features.h (__FAVOR_BSD): Do not define.
42111         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42112         features conflicting with POSIX.
42113         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42114         (_BSD_SOURCE): Remove description of not being a subset of other
42115         feature test macros.
42116         * manual/job.texi (getpgrp): Do not document BSD version.
42117         (getpgid): Do not document by reference to BSD getpgrp.
42118         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42119         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42120         * signal/signal.h [__FAVOR_BSD]: Likewise.
42121         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42122         instead of making contents conditional on [__FAVOR_BSD].
42123         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42125 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42129 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42131         [BZ #16314]
42132         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42133         values below 2**-450, not 2**-500.
42134         * math/auto-libm-test-in: Don't allow spurious underflow from
42135         hypot.
42136         * math/auto-libm-test-out: Regenerated.
42138         [BZ #16316]
42139         [BZ #16330]
42140         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42141         values of ha and hb and sort them after adjusting subnormal
42142         arguments.
42143         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42144         Likewise.
42145         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42146         values of ea and eb and sort them after adjusting subnormal
42147         arguments.
42148         * math/auto-libm-test-in: Do not expect some hypot tests of
42149         subnormals to fail.  Add more hypot tests.
42150         * math/auto-libm-test-out: Regenerated.
42152 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42154         [BZ #13304]
42155         * sysdeps/sh/s_fma.c: New file.
42156         * sysdeps/sh/s_fmaf.c: New file.
42157         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42158         version.
42159         * sysdeps/sh/Implies: Add sh/soft-fp.
42161 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42163         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42164         level of indirection to members `objname', `errstring', `malloced'.
42165         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42166         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42167         it as the __longjmp argument (just pass 1 instead).
42168         (_dl_catch_error): Initialize C with argument pointers and address of
42169         volatile local ERRCODE rather than copying values out of C at return.
42171 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42173         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42174         * math/auto-libm-test-out: Regenerated.
42175         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42176         (hypot_test_data): Likewise.
42177         (pow_test_data): Likewise.
42178         (pow_tonearest_test_data): Likewise.
42179         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42180         mpfr_ff_f.
42181         (func_calc_desc): Add mpfr_ff_f union field.
42182         (FUNC_mpfr_ff_f): New macro.
42183         (test_functions): Add atan2, hypot and pow.
42184         (special_fill_min): New function.
42185         (special_fill_minus_min): Likewise.
42186         (special_fill_min_subnorm): Likewise.
42187         (special_fill_minus_min_subnorm): Likewise.
42188         (special_real_inputs): Add min, -min, min_subnorm and
42189         -min_subnorm.
42190         (calc_generic_results): Handle mpfr_ff_f.
42191         * sysdeps/i386/fpu/libm-test-ulps: Update.
42192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42194 2013-12-16  Will Newton  <will.newton@linaro.org>
42196         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42197         (Aligned Memory Blocks): Add documentation for aligned_alloc
42198         and suggest it as an alternative to posix_memalign.
42199         (Hooks for Malloc): Document __memalign_hook is also called
42200         for aligned_alloc.  (Summary of Malloc): Add summary for
42201         aligned alloc.  Document __memalign_hook is also called
42202         for aligned_alloc.
42204 2013-12-16  Will Newton  <will.newton@linaro.org>
42206         * manual/memory.texi (Malloc Examples): Clarify default
42207         alignment documentation.  Suggest posix_memalign rather
42208         than memalign or valloc.
42209         (Aligned Memory Blocks): Remove suggestion to use memalign
42210         or valloc.  Remove obsolete comment about BSD.
42211         Document memalign errno values and mark the function obsolete.
42212         Document posix_memalign returned error codes.  Mark valloc
42213         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42214         called for posix_memalign and valloc.
42215         (Summary of Malloc): Add posix_memalign to function summary.
42216         __memalign_hook is also called for posix_memalign and valloc.
42218 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42220         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42221         TAYLOR_SIN.
42222         (__sin): Adjust.
42223         (__cos): Likewise.
42224         (sloww): Use mynumber union.  Expand ternary operator into
42225         if-else statements.
42226         (cslow): use mynumber union.
42228 2013-12-16  Allan McRae  <allan@archlinux.org>
42230         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42231         * configure: Regenerated.
42233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42235         [BZ #14120]
42236         * configure.ac: Added --enable-maintainer-mode. Check for
42237         autoconf when enabled.
42238         * configure: Regenerated.
42240         * nscd/nscd.service: New file.
42241         * nscd/nscd.tmpfiles: New file.
42243 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42245         [BZ #12100]
42246         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42247         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42248         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42249         (strstr): Add __strstr_sse2_unaligned ifunc.
42250         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42251         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42252         (strcasestr): Remove __strcasestr_sse42 ifunc.
42253         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42255         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42257 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42259         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42260         * sysdeps/sh/bits/fenv.h: ... here.
42261         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42263 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42265         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42267         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42268         hypotf multiarch implementations.
42269         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42270         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42271         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42272         multiarch hypot for PPC64.
42273         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42274         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42275         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42276         multiarch hypotf for PPC64.
42278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42279         modff multiarch implementations.
42280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42283         multiarch modf for PPC64.
42284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42287         multiarch modff for PPC64.
42289         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42290         and logl multiarch implementations.
42291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42294         multiarch logb for PPC64.
42295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42298         multiarch logb for PPC64.
42299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42302         multiarch logb for PPC64.
42304         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42305         isinff multiarch implementation.
42306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42307         file.
42308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42310         multiarch isinf for PPC64.
42311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42312         file.
42313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42314         multiarch isinff for PPC64.
42316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42317         finitef multiarch implementation.
42318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42319         file.
42320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42322         multiarch finite for PPC64.
42323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42324         file.
42325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42326         multiarch finitef for PPC64.
42328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42329         lrint multiarch implementation.
42330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42331         file.
42332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42334         multiarch llrint for PPC64.
42335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42336         multiarch lrint for PPC64.
42338         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42339         copysignf multiarch implementation.
42340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42341         file.
42342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42343         file.
42344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42345         multiarch copysign for PPC64.
42346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42347         multiarch copysignf for PPC64.
42349         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42350         multiarch implementation.
42351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42352         file.
42353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42354         file.
42355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42356         file.
42357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42358         file.
42359         multiarch llround for PPC64.
42360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42361         multiarch trunc for PPC64.
42362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42363         multiarch truncf for PPC64.
42365         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42366         multiarch implementation.
42367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42368         file.
42369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42370         file.
42371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42372         file.
42373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42374         file.
42375         multiarch llround for PPC64.
42376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42377         multiarch round for PPC64.
42378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42379         multiarch roundf for PPC64.
42381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42382         multiarch implementation.
42383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42384         file.
42385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42386         file.
42387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42388         file.
42389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42390         file.
42391         multiarch llround for PPC64.
42392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42393         multiarch floor for PPC64.
42394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42395         multiarch floorf for PPC64.
42397         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42398         multiarch implementation.
42399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42400         file.
42401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42402         file.
42403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42404         file.
42405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42406         file.
42407         multiarch llround for PPC64.
42408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42409         multiarch ceil for PPC64.
42410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42411         multiarch ceilf for PPC64.
42413         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42414         multiarch implementation.
42415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42416         file.
42417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42418         file.
42419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42420         file.
42421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42422         multiarch llround for PPC64.
42423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42424         multiarch lround for PPC64.
42426         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42427         multiarch implementation.
42428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42431         file.
42432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42435         multiarch isnan for PPC64.
42436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42437         multiarch isnanf for PPC64.
42439         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42440         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42441         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42442         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42443         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42446         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42447         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42448         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42449         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42452         multiarch implementations.
42453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42454         (__libc_ifunc_impl_list): Likewise.
42455         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42456         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42457         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42458         multiarch stpcpy for PPC64.
42460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42461         multiarch implementations.
42462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42463         (__libc_ifunc_impl_list): Likewise.
42464         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42465         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42466         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42467         multiarch strcpy for PPC64.
42469         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42470         redefine function name.
42471         (_wordcopy_fwd_dest_aligned): Likewise.
42472         (_wordcopy_bwd_aligned): Likewise.
42473         (_wordcopy_bwd_dest_aligned): Likewise.
42474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42475         multiarch implementations.
42476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42477         (__libc_ifunc_impl_list): Likewise.
42478         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42479         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42480         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42481         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42482         multiarch wcscpy for PPC64.
42484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42485         multiarch implementations.
42486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42487         (__libc_ifunc_impl_list): Likewise.
42488         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42489         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42490         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42491         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42492         multiarch wcscpy for PPC64.
42494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42495         multiarch implementations.
42496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42497         (__libc_ifunc_impl_list): Likewise.
42498         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42499         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42500         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42501         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42502         multiarch wcsrchr for PPC64.
42504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42505         multiarch implementations.
42506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42507         (__libc_ifunc_impl_list): Likewise.
42508         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42509         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42510         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42511         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42512         multiarch wcschr for PPC64.
42514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42515         multiarch implementations.
42516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42517         (__libc_ifunc_impl_list): Likewise.
42518         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42519         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42520         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42521         multiarch strchrnul for PPC64.
42523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42524         implementations.
42525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42526         (__libc_ifunc_impl_list): Likewise.
42527         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42528         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42529         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42530         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42531         strchr for PPC64.
42533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42534         implementations.
42535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42536         (__libc_ifunc_impl_list): Likewise.
42537         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42538         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42539         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42540         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42541         strncmp for PPC64.
42543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42544         multiarch implementations.
42545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42546         (__libc_ifunc_impl_list): Likewise.
42547         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42548         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42549         strncasecmp for PPC64.
42550         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42551         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42552         multiarch strncasecmp_l for PPC64.
42554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42555         multiarch implementations.
42556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42557         (__libc_ifunc_impl_list): Likewise.
42558         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42559         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42560         multiarch strcasecmp for PPC64.
42561         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42562         file.
42563         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42564         multiarch strcasecmp_l for PPC64.
42566         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42567         implementations.
42568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42569         (__libc_ifunc_impl_list): Likewise.
42570         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42571         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42572         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42573         strnlen for PPC64.
42575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42576         implementations.
42577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42578         (__libc_ifunc_impl_list): Likewise.
42579         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42580         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42581         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42582         strlen for PPC64.
42584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42585         implementations.
42586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42587         (__libc_ifunc_impl_list): Likewise.
42588         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42589         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42590         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42591         rawmemrchr for PPC64.
42593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42594         implementation.
42595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42596         (__libc_ifunc_impl_list): Likewise.
42597         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42598         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42599         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42600         memrchr for PPC64.
42602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42603         implementation.
42604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42605         (__libc_ifunc_impl_list): Likewise.
42606         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42607         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42608         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42609         memchr for PPC64.
42611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42612         implementation.
42613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42614         (__libc_ifunc_impl_list): Likewise.
42615         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42616         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42617         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42618         mempcpy for PPC64.
42620         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42621         avoid cretion of __bzero symbol.
42622         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42623         Likewise.
42624         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42625         Likewise.
42626         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42627         Likewise.
42628         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42629         multiarch implementations.
42630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42631         (__libc_ifunc_impl_list): Likewise.
42632         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42633         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42634         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42635         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42636         bzero for PPC32.
42637         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42638         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42639         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42640         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42641         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42642         memset for PPC64.
42643         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42645         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42647         implementations.
42648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42649         (__libc_ifunc_impl_list): Likewise.
42650         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42651         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42652         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42653         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42654         memcmp for PPC64.
42656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42657         multiarch for POWER/PPC64.
42658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42659         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42660         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42661         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42662         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42663         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42664         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42665         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42666         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42667         memcpy for PPC64.
42669         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42670         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42671         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42672         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42673         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42674         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42675         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42676         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42677         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42678         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42679         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42680         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42681         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42682         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42683         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42692 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42694         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42696 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42698         * benchtests/Makefile (bench): Add exp2 and log2.
42699         (LDLIBS-bench-exp2): Add -lm.
42700         (LDLIBS-bench-log2): Likewise.
42701         * benchtests/exp2-inputs: New inputs file.
42702         * benchtests/log2-inputs: New inputs file.
42703         * benchtests/log-inputs: Add new inputs.
42704         * benchtests/tan-inputs: Likewise.
42706 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42708         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42709         definition...
42710         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42711         (csloww2): ... from here.
42713         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42714         instead of structures.
42715         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42716         (POLYNOMIAL): Likewise.
42717         (TAYLOR_SLOW): Likewise.
42718         (__sin): Likewise.
42719         (__cos): Likewise.
42720         (slow1): Likewise.
42721         (slow2): Likewise.
42722         (sloww): Likewise.
42723         (sloww1); Likewise.
42724         (sloww2): Likewise.
42725         (bsloww1): Likewise.
42726         (bsloww2): Likewise.
42727         (cslow2): Likewise.
42728         (csloww): Likewise.
42729         (csloww1): Likewise.
42730         (csloww2): Likewise.
42732 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
42734         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42735         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42736         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42737         * malloc/hooks.c (realloc_check): Likewise.
42739         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42740         * malloc/arena.c: Remove PER_THREAD conditional.
42741         [!PER_THREAD]: Remove code.
42742         (ptmalloc_unlock_all2): Likewise.
42743         (ptmalloc_init): Likewise.
42744         (_int_new_arena): Likewise.
42745         (arena_get2): Likewise.
42746         * malloc/hooks.c (__malloc_get_state): Likewise.
42747         (__malloc_set_state): Likewise.
42748         * malloc/malloc.c: Likewise.
42749         (struct malloc_state): Likewise.
42750         (struct malloc_par): Likewise.
42751         (__libc_realloc): Likewise.
42752         (__libc_mallopt): Likewise.
42754 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42756         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42758 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
42760         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42761         macro to a function.  Check for zero perturb_byte.
42762         (_int_malloc, _int_free): Remove zero perturb_byte checks.
42764         * malloc/malloc.c: (force_reg): Remove.
42765         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42766         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42767         force_reg by atomic_forced_read.
42768         * malloc/arena.c (ptmalloc_init): Likewise.
42769         * malloc/hooks.c (top_check): Likewise.
42771 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42775 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
42777         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42779 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
42781         * math/auto-libm-test-in: Add tests of lgamma.
42782         * math/auto-libm-test-out: Regenerated.
42783         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42784         (M_LOG_2_SQRT_PIl): Likewise.
42785         (lgamma_test_data): Use AUTO_TESTS_f_f1.
42786         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42787         mpfr_f_f1.
42788         (func_calc_desc): Add mpfr_f_f1 union field.
42789         (ARGS1): New macro.
42790         (ARGS2): Likewise.
42791         (ARGS3): Likewise.
42792         (ARGS4): Likewise.
42793         (RET1): Likewise.
42794         (RET2): Likewise.
42795         (CALC): Likewise.
42796         (FUNC): Likewise.
42797         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42798         (test_functions): Add lgamma.
42799         (calc_generic_results): Handle mpfr_f_f1.
42800         * sysdeps/i386/fpu/libm-test-ulps: Update.
42801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42803 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42805         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
42806         __mpn_add_n for PowerPC64/POWER7.
42807         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
42808         __mpn_sub_n for PowerPC64/POWER7.
42810         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
42811         __mpn_addmul_1 for PowerPC64.
42812         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42813         __mpn_submul_1 for PowerPC64.
42814         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42815         for PowerPC64.
42816         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42817         for PowerPC64.
42819 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
42821         [BZ #15089]
42822         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42824 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42826         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42828         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42829         add multiarch folders.
42830         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42831         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42832         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42833         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42834         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42835         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42836         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42837         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42838         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42839         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42840         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42849         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42851         New file.
42852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42853         New file.
42854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42855         multiarch __ieee754_hypot for PowerPC32.
42856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42857         New file.
42858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42859         New file.
42860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42861         multiarch __ieee754_hypotf for PowerPC32.
42863         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42864         long_double_symbol only if __logbl is defined.
42865         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42866         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42867         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42868         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42869         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42870         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42871         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42872         path for implementation.
42873         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42874         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42876         logb, and logbl multiarch implementations for PowerPC32.
42877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42878         file.
42879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42880         file.
42881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42882         multiarch logb for PowerPC32.
42883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42884         file.
42885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42886         file.
42887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42888         multiarch logbf for PowerPC32.
42889         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42891         file.
42892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42893         multiarch logbl implementation for PowerPC32.
42895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42896         and modff multiarch implementations.
42897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42898         New file.
42899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42900         New file.
42901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42902         multiarch modf for PowerPC32.
42903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42904         New file.
42905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42906         New file.
42907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42908         multiarch modff for PowerPC32.
42910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42911         and lrintf multiarch implementations.
42912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42913         New file.
42914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42915         New file.
42916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42917         multiarch lrint for PowerPC32.
42918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42919         file: multiarch lrintf for PowerPC32.
42921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42922         and lroundf multiarch implementations.
42923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42924         New file.
42925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42926         New file.
42927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42928         New file.
42929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42930         multiarch lround for PowerPC32.
42931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42932         file: multiarch lroundf for PowerPC32.
42934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42935         copysign and copysignf multiarch implementations.
42936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42937         New file.
42938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42939         New file.
42940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42941         file: multiarch copysign for PowerPC32.
42942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42943         file: multiarch copysignf for PowerPC32.
42945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42946         and truncf multiarch implementations.
42947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42948         New file.
42949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42950         file.
42951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42952         multiarch trunc for PowerPC32.
42953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42954         New file.
42955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42956         New file.
42957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42958         multiarch truncf for PowerPC32.
42960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42961         and roundf multiarch implementations.
42962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42963         New file.
42964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42965         file.
42966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42967         multiarch round for PowerPC32.
42968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42969         New file.
42970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42971         New file.
42972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42973         multiarch roundf for PowerPC32.
42975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
42976         and floorf multiarch implementations.
42977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
42978         New file.
42979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42980         file.
42981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
42982         multiarch floor for PowerPC32.
42983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
42984         New file.
42985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
42986         New file.
42987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
42988         multiarch floorf for PowerPC32.
42990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
42991         and ceilf multiarch implementations.
42992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
42993         New file.
42994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
42995         file.
42996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
42997         multiarch ceil for PowerPC32.
42998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
42999         New file.
43000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43001         file.
43002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43003         multiarch ceilf for PowerPC32.
43005         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43006         is defined.
43007         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43008         FINITEF is defined.
43009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43010         and finitef multiarch implementations.
43011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43012         New file.
43013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43014         file.
43015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43016         multiarch finite for PowerPC32.
43017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43018         New file.
43019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43020         file: multiarch finitef for PowerPC32.
43022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43023         and isinff multiarch implementations.
43024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43025         file.
43026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43027         file.
43028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43029         multiarch isinf for PowerPC32.
43030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43031         New file.
43032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43033         multiarch isinff for PowerPC32.
43035         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43036         alias when __isnan is defined.
43037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43038         and isnanf multiarch implementations.
43039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43040         file.
43041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43042         file.
43043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43044         file.
43045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43046         file.
43047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43048         multiarch isnan for PowerPC32.
43049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43050         New file.
43051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43052         New file.
43053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43054         multiarch isnanf for PowerPC32.
43056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43057         and sqrtf multiarch implementations.
43058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43059         file.
43060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43061         file.
43062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43063         multiarch sqrt for PowerPC32.
43064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43065         file.
43066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43067         file.
43068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43069         multiarch sqrtf for PowerPC32.
43071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43072         and llroundf multiarch implementations.
43073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43074         New file.
43075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43076         New file.
43077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43078         New file.
43079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43080         file: multiarch llround for PowerPC32.
43081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43082         file: multiarch llroundf for PowerPC32.
43084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43085         multiarch PowerPC32 fpu implementations.
43086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43087         New file.
43088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43089         New file.
43090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43091         multiarch llrint for PowerPC32.
43092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43093         New file.
43094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43095         New file.
43096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43097         file.
43099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43101         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43102         file.
43103         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43104         file.
43105         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43106         file.
43107         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43108         multiarch wordcopy for PPC32.
43109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43110         wordcopy objects.
43111         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43112         (__libc_ifunc_impl_list): Likewise.
43113         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43114         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43115         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43116         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43117         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43118         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43120         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43121         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43122         file.
43123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43124         file.
43125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43126         file.
43127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43128         multiarch wcscpy for PPC32.
43129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43130         multiarch objects.
43131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43132         (__libc_ifunc_impl_list): Likewise.
43133         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43134         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43135         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43136         sysdeps/powerpc/power6/wcscpy.c.
43138         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43140         file.
43141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43142         file.
43143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43144         file.
43145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43146         multiarch wcsrchr for PPC32.
43147         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43148         multiarch objects.
43149         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43150         (__libc_ifunc_impl_list): Likewise.
43151         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43152         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43153         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43154         sysdeps/powerpc/power6/wcsrchr.c.
43156         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43157         file.
43158         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43159         file.
43160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43161         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43162         multiarch wcschr for PPc32.
43163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43164         multiarch objects.
43165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43166         (__libc_ifunc_impl_list): Likewise.
43167         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43168         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43169         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43170         sysdeps/powerpc/power6/wcschr.c.
43172         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43173         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43174         file.
43175         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43176         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43177         file: multiarch strchr for PPC32.
43178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43179         multiarch objects.
43180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43181         (__libc_ifunc_impl_list): Likewise.
43183         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43184         name.
43185         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43186         file.
43187         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43188         file.
43189         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43190         multiarch strchrnul for PPC32.
43191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43192         multiarch objects.
43193         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43194         (__libc_ifunc_impl_list): Likewise.
43196         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43197         file.
43198         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43199         multiarch strncasecmp for PPC32.
43200         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43201         file.
43202         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43203         multiarch strncasecmp_l for PPC32.
43204         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43205         strncasecmp multiarch objects.
43206         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43207         (__libc_ifunc_impl_list): Likewise.
43209         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43210         file.
43211         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43212         multiarch strncasecmp for PPC32.
43213         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43214         New file.
43215         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43216         multiarch strcasecmp_l for PPC32.
43217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43218         multiarch objects.
43219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43220         (__libc_ifunc_impl_list): Likewise.
43222         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43223         file.
43224         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43225         file.
43226         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43227         multiarch strncmp for PPC32.
43228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43229         multiarch objects.
43230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43231         (__libc_ifunc_impl_list): Likewise.
43233         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43234         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43235         file.
43236         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43237         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43239         multiarch objects.
43240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43241         (__libc_ifunc_impl_list): Likewise.
43243         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43244         file.
43245         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43246         file.
43247         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43249         multiarch objects.
43250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43251         (__libc_ifunc_impl_list): Likewise.
43253         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43254         file.
43255         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43256         file.
43257         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43258         multiarch rawmemchr for PPC32.
43259         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43260         multiarch objects.
43261         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43262         (__libc_ifunc_impl_list): Likewise.
43264         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43265         file.
43266         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43267         file.
43268         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43269         file: memrchr multiarch for PPC32.
43270         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43271         multiarch objects.
43272         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43273         (__libc_ifunc_impl_list): Likewise.
43275         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43276         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43277         file.
43278         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43279         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43280         multiarch memchr for PPC32.
43281         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43282         multiarch objects.
43283         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43284         (__libc_ifunc_impl_list): Likewise.
43286         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43287         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43288         file.
43289         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43290         file.
43291         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43292         file: multiarch mempcpy for PPC32.
43293         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43294         multiarch objects.
43295         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43296         (__libc_ifunc_impl_list): Likewise.
43298         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43299         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43300         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43301         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43302         multiarch bzero for PPC32.
43303         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43304         file.
43305         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43306         file.
43307         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43308         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43309         file: multiarch memset for PPC32.
43310         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43312         memset multiarch objects.
43313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43314         (__libc_ifunc_impl_list): Likewise.
43316         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43317         file.
43318         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43319         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43320         memcmp for PPC32.
43321         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43322         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43323         multiarch objects.
43324         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43325         (__libc_ifunc_impl_list): Likewise.
43327         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43328         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43329         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43330         file.
43331         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43332         file.
43333         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43334         file.
43335         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43336         multiarch memcpy for PPC32.
43337         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43338         multiarch objects.
43339         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43340         (__libc_ifunc_impl_list): Likewise.
43342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43343         support multiarch for POWER/PPC32.
43344         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43345         Likewise.
43346         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43348         Implies file to make multiarch folder appers before the fpu and
43349         default folder for power4 configuration.
43351 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43353         * scripts/bench.pl: Append volatile keyword to type.
43355 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43357         * sysdeps/sh/sotruss-lib.c: New file.
43358         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43360 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43364 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43366         [BZ #6810]
43367         * math/w_tgamma.c: Include <errno.h>.
43368         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43369         * math/w_tgammaf.c: Include <errno.h>.
43370         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43371         * math/w_tgammal.c: Include <errno.h>.
43372         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43373         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43374         underflow.  Add more tgamma tests.
43375         * math/auto-libm-test-out: Regenerated.
43376         * sysdeps/i386/fpu/libm-test-ulps: Update.
43377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43379         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43380         sin, sinh, tan, tanh, tgamma, y0 and y1.
43381         * math/auto-libm-test-out: Regenerated.
43382         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43383         (TEST_COND_x86): Likewise.
43384         (M_E2l): Remove macro.
43385         (M_E3l): Likewise.
43386         (M_2_SQRT_PIl): Likewise.
43387         (M_SQRT_PIl): Likewise.
43388         (M_1_DIV_El): Likewise.
43389         (log_test_data): Use AUTO_TESTS_f_f.
43390         (log10_test_data): Likewise.
43391         (log1p_test_data): Likewise.
43392         (log2_test_data): Likewise.
43393         (sin_test_data): Likewise.
43394         (sin_tonearest_test_data): Likewise.
43395         (sin_towardzero_test_data): Likewise.
43396         (sin_downward_test_data): Likewise.
43397         (sin_upward_test_data): Likewise.
43398         (sinh_test_data): Likewise.
43399         (sinh_tonearest_test_data): Likewise.
43400         (sinh_towardzero_test_data): Likewise.
43401         (sinh_downward_test_data): Likewise.
43402         (sinh_upward_test_data): Likewise.
43403         (tan_test_data): Likewise.
43404         (tan_tonearest_test_data): Likewise.
43405         (tan_towardzero_test_data): Likewise.
43406         (tan_downward_test_data): Likewise.
43407         (tan_upward_test_data): Likewise.
43408         (tanh_test_data): Likewise.
43409         (tgamma_test_data): Likewise.
43410         (y0_test_data): Likewise.
43411         (y1_test_data): Likewise.
43412         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43413         (special_real_inputs): Add pi/4.
43414         * sysdeps/i386/fpu/libm-test-ulps: Update.
43415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43417 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43419         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43420         "longjmp_target" static probes.
43421         (__longjmp): Rename to __longjmp_symbol.
43422         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43423         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43424         on which longjmp to generate.
43425         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43426         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43427         probe.
43428         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43429         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43430         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43431         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43432         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43433         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43435         __longjmp_symbol based on which __longjmp to generate.
43436         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43437         probe.
43438         (setjmp): Rename to setjmp_symbol.
43439         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43440         (_setjmp): Rename to _setjmp_symbol.
43441         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43442         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43443         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43444         which setjmp to generate.
43445         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43446         "longjmp_target" static probes.
43448 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43450         * benchtests/README: Add note about output arguments.
43451         * benchtests/bench-sincos.c: Remove file.
43452         * benchtests/sincos-inputs: New file.
43453         * scripts/bench.pl: Identify output arguments and define
43454         static variables for them.
43456         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43458         [BZ #15941]
43459         * Makefile (INSTALL): Add install-plain.texi as the primary
43460         dependency.
43461         * manual/install-plain.texi: New file.
43462         * manual/install.texi: Include node directive only for
43463         non-plaintext output.
43465 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43467         * stdlib/longlong.h: Update from GCC.
43469         [BZ #6807]
43470         [BZ #15901]
43471         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43472         * math/w_j0f.c (y0f): Likewise.
43473         * math/w_j0l.c (__y0l): Likewise.
43474         * math/w_j1.c (y1): Likewise.
43475         * math/w_j1f.c (y1f): Likewise.
43476         * math/w_j1l.c (__y1l): Likewise.
43477         * math/w_jn.c (yn): Likewise.
43478         * math/w_jnf.c (ynf): Likewise.
43479         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43480         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43481         value for Bessel function domain errors outside _SVID_ mode.
43482         Adjust sign of return value for yn (negative integer, 0).
43483         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43484         by zero in return for negative x and set sign appropriately for
43485         negative n.
43486         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43487         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43488         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43489         expectations in error cases.
43490         (y1_test_data): Likewise.
43491         (yn_test_data): Likewise.
43492         * sysdeps/i386/fpu/libm-test-ulps: Update.
43493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43495 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43497         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43498         "64" to "64-v1".  Add "64-v2".
43499         (abi-64-options): Rename to ...
43500         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43501         (abi-64-condition): Rename to ...
43502         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43503         (abi-64-ld-soname): Rename to ...
43504         (abi-64-v1-ld-soname): ... this.
43505         (abi-64-v2-options): Define.
43506         (abi-64-v2-condition): Likewise.
43507         (abi-64-v2-ld-soname): Likewise.
43508         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43509         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43514 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43515             Alan Modra  <amodra@gmail.com>
43517         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43518         New versions for use with the ELFv2 ABI.
43519         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43520         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43521         declaration.
43522         (struct La_ppc64v2_retval): Likewise.
43523         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43524         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43525         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43526         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43527         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43528         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43529         Do not save or restore CR.
43530         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43531         (_dl_profile_resolve): Do no save or restore CR.  Support extended
43532         return values for ELFv2 ABI.  Fix location of FPR return registers.
43533         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43534         updated values for _CALL_ELF == 2.
43535         (La_regs, La_retval, int_retval): Likewise.
43537 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43539         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43540         (FRAME_MIN_SIZE_PARM): Likewise.
43541         (FRAME_BACKCHAIN): Likewise.
43542         (FRAME_CR_SAVE): Likewise.
43543         (FRAME_LR_SAVE): Likewise.
43544         (FRAME_TOC_SAVE): Likewise.
43545         (FRAME_PARM_SAVE): Likewise.
43546         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43547         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43548         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43549         (call_mcount_parm_offset): New macro.
43550         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43551         (PROF): Use symbolic stack frame offsets.
43552         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43553         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43554         Redefine in terms of FRAME_MIN_SIZE.
43555         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43556         (_dl_profile_resolve): Likewise.  Update comment.
43557         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43558         symbols stack frame offsets.
43559         (__sigsetjmp): Likewise.
43560         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43561         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43562         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43563         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43566         (FRAME_BACKCHAIN): Remove.
43567         (FRAME_CR_SAVE): Likewise.
43568         (FRAME_LR_SAVE): Likewise.
43569         (FRAME_COMPILER_DW): Likewise.
43570         (FRAME_LINKER_DW): Likewise.
43571         (FRAME_TOC_SAVE): Likewise.
43572         (FRAME_PARM_SAVE): Likewise.
43573         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43574         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43575         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43577         (CHECK_SP): Use symbolic stack frame offsets.
43578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43579         zone" instead of caller's parameter save area for temp storage.
43580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43581         Likewise.  Also, use symbolic stack frame offsets.
43582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43583         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43584         our own stack frame instead of the caller's.
43585         (__socket): Use symbolic stack frame offsets.
43587 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43588             Alan Modra  <amodra@gmail.com>
43590         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43591         Define.
43592         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43593         (PPC64_LOCAL_ENTRY_OFFSET): Define.
43594         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43595         New function.
43596         (elf_machine_fixup_plt): Call it.
43597         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
43598         reloc arguments.
43599         (elf_machine_rela): Update call to elf_machine_plt_conflict.
43600         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43601         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43602         r2 before calling target.
43604 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43605             Alan Modra  <amodra@gmail.com>
43607         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43608         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43609         versions of macros to support ELFv2 ABI.
43610         (LOCALENTRY): New macro.
43611         (ENTRY, EALIGN): Use it.
43612         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43613         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43614         fall through into ENTRY entry point.
43615         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43616         Only define if _CALL_ELF != 2.
43618         (elf_machine_matches_host): Verify ABI version matches.
43619         (RTLD_START): Use LOCALENTRY.
43620         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43621         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43622         (PLT_ENTRY_WORDS): New macro.
43623         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43624         (elf_machine_runtime_setup): Support ELFv2 ABI.
43625         (elf_machine_fixup_plt): Likewise.
43626         (elf_machine_plt_conflict): Likewise.
43627         (resolve_ifunc): Likewise.
43628         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43629         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43630         Likewise.
43631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43632         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43634         (makecontext): Support ELFv2 ABI.
43635         * elf/elf.h (EF_PPC64_ABI): Define.
43637 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43639         * sysdeps/powerpc/powerpc64/sysdep.h
43640         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43641         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43642         (ENTRY) [ASSEMBLER]: ... but instead here ...
43643         (EALIGN) [ASSEMBLER]: ... and here.
43644         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43645         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43646         (ENTRY_2) [!ASSEMBLER]: Use it.
43647         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43648         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
43649         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43650         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43651         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43653         Use PPC64_LOAD_FUNCPTR.
43655         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43657 2013-12-04  Alan Modra  <amodra@gmail.com>
43659         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43660         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43661         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43662         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43664         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43665         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43666         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43667         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43668         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43669         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43671 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43674         (__makecontext): Fix incorrect CFI when backtracing out of
43675         context created via makecontext.
43676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43677         (__setcontext): Fix incorrect CFI during switch to new context.
43678         (__novec_setcontext): Likewise.
43680 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43682         [BZ #4772]
43683         * time/strptime_l.c (__strptime_internal): Allow modifiers
43684         in strptime.
43685         * time/tst-strptime.c (day_tests): Add testcase.
43687 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43689         * scripts/bench.pl: Skip over blank lines.
43691 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
43693         [BZ #926]
43694         * manual/time.texi (Calendar Time): Clarify what timezone functions
43695         use.
43697 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43701 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43703         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43704         implementation.
43705         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43706         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43707         * debug/memset_chk.c (__memset_chk): Likewise.
43708         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43709         * debug/strncpy_chk.c: Likewise.
43711 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43713         [BZ #15268]
43714         [BZ #15425]
43715         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43716         (__ieee754_exp): For possibly underflowing results, check size of
43717         result and force underflow exception if required.
43718         * math/auto-libm-test-in: Add more tests of exp.
43719         * math/auto-libm-test-out: Regenerated.
43720         * sysdeps/i386/fpu/libm-test-ulps: Update.
43721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43723         [BZ #16283]
43724         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43725         * math/w_exp2f.c (__exp2f): Likewise.
43726         * math/w_exp2l.c (__exp2l): Likewise.
43727         * math/auto-libm-test-in: Do not allow missing errno on exp2
43728         underflow.
43729         * math/auto-libm-test-out: Regenerated.
43731 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
43733         [BZ #16274]
43734         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43735         handle filename validation.
43736         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43737         (do_open): Delete.
43739 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43741         [BZ #6786]
43742         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43743         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43744         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43745         <float.h>.
43746         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43747         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43748         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43749         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43750         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43751         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43752         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43753         * math/auto-libm-test-in: Don't allow missing errno from erfc.
43754         Add more erfc tests.
43755         * math/auto-libm-test-out: Regenerated.
43756         * sysdeps/i386/fpu/libm-test-ulps: Update.
43757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43759         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43760         exp2, expm1, j0 and j1.
43761         * math/auto-libm-test-out: Regenerated.
43762         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43763         (erfc_test_data): Likewise.
43764         (exp_test_data): Likewise.
43765         (exp_tonearest_test_data): Likewise.
43766         (exp_towardzero_test_data): Likewise.
43767         (exp_downward_test_data): Likewise.
43768         (exp_upward_test_data): Likewise.
43769         (exp10_test_data): Likewise.
43770         (exp2_test_data): Likewise.
43771         (expm1_test_data): Likewise.
43772         (j0_test_data): Likewise.
43773         (j1_test_data): Likewise.
43774         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43775         (input_flag_type): Add flag_xfail_rounding.
43776         (input_flags): Add xfail-rounding.
43777         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43778         (output_for_one_input_case): Handle flag_xfail_rounding.
43779         * sysdeps/i386/fpu/libm-test-ulps: Update.
43780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43782 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
43784         [BZ #16289]
43785         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43786         division by 0.
43788 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43790         [BZ #16195]
43791         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43792         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43793         (STAP_PROBE0): New macro.
43794         (STAP_PROBE1): Likewise.
43795         (STAP_PROBE2): Likewise.
43796         (STAP_PROBE3): Likewise.
43797         (STAP_PROBE4): Likewise.
43799 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
43801         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
43803 2013-12-02  Steve Ellcey  <sellcey@mips.com>
43805         * benchtests/Makefile (bench): Add sqrt.
43806         (LDLIBS-bench-sqrt): New.
43807         * benchtests/sqrt-input: New.
43809 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
43811         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
43812         (GAIH_EAI): Likewise.
43813         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43814         (gaih_inet): Likewise.
43815         (getaddrinfo): Don't use GAIH_EAI.
43817         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43818         (struct gaih): Remove definition.
43820 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43822         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43823         Use HERRNOP directly.
43825 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43829 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
43831         * math/gen-auto-libm-tests.c (test_functions): Add more
43832         single-argument functions.
43833         (special_fill_pi_2): New function.
43834         (special_fill_minus_pi_2): Likewise.
43835         (special_fill_pi_6): Likewise.
43836         (special_fill_minus_pi_6): Likewise.
43837         (special_fill_pi_3): Likewise.
43838         (special_fill_2pi_3): Likewise.
43839         (special_fill_e): Likewise.
43840         (special_fill_1_e): Likewise.
43841         (special_fill_e_minus_1): Likewise.
43842         (special_real_inputs): Add more special inputs.
43843         (output_for_one_input_case): Do not require ERANGE on underflow to
43844         zero if round-to-nearest result does not underflow to zero, unless
43845         exact results required.
43846         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43847         atan, atanh, cbrt, cos and cosh.
43848         * math/auto-libm-test-out: Regenerated.
43849         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43850         (acos_tonearest_test_data): Likewise.
43851         (acos_towardzero_test_data): Likewise.
43852         (acos_downward_test_data): Likewise.
43853         (acos_upward_test_data): Likewise.
43854         (acosh_test_data): Likewise.
43855         (asin_test_data): Likewise.
43856         (asin_tonearest_test_data): Likewise.
43857         (asin_towardzero_test_data): Likewise.
43858         (asin_upward_test_data): Likewise.
43859         (asinh_test_data): Likewise.
43860         (atan_test_data): Likewise.
43861         (atanh_test_data): Likewise.
43862         (cbrt_test_data): Likewise.
43863         (cos_test_data): Likewise.
43864         (cos_tonearest_test_data): Likewise.
43865         (cos_towardzero_test_data): Likewise.
43866         (cos_downward_test_data): Likewise.
43867         (cos_upward_test_data): Likewise.
43868         (cosh_test_data): Likewise.
43869         (cosh_tonearest_test_data): Likewise.
43870         (cosh_towardzero_test_data): Likewise.
43871         (cosh_downward_test_data): Likewise.
43872         (cosh_upward_test_data): Likewise.
43873         * sysdeps/i386/fpu/libm-test-ulps: Update.
43874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43876 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
43878         [BZ #6787]
43879         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43880         * math/w_exp10f.c (__exp10f): Likewise.
43881         * math/w_exp10l.c (__exp10l): Likewise.
43882         * math/libm-test.inc (exp10_test_data): Add more tests and expect
43883         errno settings in existing tests.
43885         [BZ #14032]
43886         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43887         precision control set to double precision.
43888         * sysdeps/i386/fpu/w_sqrt.c: New file.
43889         * math/auto-libm-test-in: Add more tests.
43890         * math/auto-libm-test-out: Update.
43892         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43893         (sqrt_test_tonearest): New function.
43894         (sqrt_towardzero_test_data): New variable.
43895         (sqrt_test_towardzero): New function.
43896         (sqrt_downward_test_data): New variable.
43897         (sqrt_test_downward): New function.
43898         (sqrt_upward_test_data): New variable.
43899         (sqrt_test_upward): New function.
43900         (main): Call the new functions.
43902         * math/gen-auto-libm-tests.c: New file.
43903         * math/auto-libm-test-in: Likewise.
43904         * math/auto-libm-test-out: New generated file.
43905         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43906         variables.
43907         (%beautify): Add generated representations of zero.
43908         (top level): Set $auto_input and call parse_auto_input.
43909         (beautify): Remove trailing "f" from hex float constants.
43910         (parse_args): Handle XFAIL_TEST.
43911         (convert_condition): New function.
43912         (or_value): Likewise.
43913         (or_cond_value): Likewise.
43914         (generate_testfile): Handle AUTO_TESTS_* lines.
43915         (parse_auto_input): New function.
43916         * math/libm-test.inc (XFAIL_TEST): New macro.
43917         (ERRNO_UNCHANGED): Update value.
43918         (ERRNO_EDOM): Likewise.
43919         (ERRNO_ERANGE): Likewise.
43920         (IGNORE_RESULT): Likewise.
43921         (TEST_COND_flt_32): New macro.
43922         (TEST_COND_dbl_64): Likewise.
43923         (TEST_COND_ldbl_96_intel): Likewise.
43924         (TEST_COND_ldbl_96_m68k): Likewise.
43925         (TEST_COND_ldbl_128): Likewise.
43926         (TEST_COND_ldbl_128ibm): Likewise.
43927         (TEST_COND_long32): Likewise.
43928         (TEST_COND_long64): Likewise.
43929         (TEST_COND_before_rounding): Likewise.
43930         (TEST_COND_after_rounding): Likewise.
43931         (enable_test): Handle XFAIL_TEST flag.
43932         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43933         with finite results.
43934         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43935         auto-libm-test-out.
43937 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43938             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43940         [BZ #16214]
43941         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43942         __tls_get_addr_internal instead of __tls_get_offset in order to
43943         avoid GOT pointer dependency.  Make rtld export
43944         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43945         __tls_get_addr since we are a __tls_get_offset platform.
43946         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43947         GOT pointer being set up before.
43948         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43950 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43952         * manual/math.texi (Errors in Math Functions): Document accuracy
43953         goals.
43955         [BZ #15004]
43956         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43957         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43958         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43959         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43960         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43961         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43962         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43963         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43964         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43965         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43966         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43967         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43968         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43969         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43970         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43971         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43973         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43974         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43975         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
43976         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
43977         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43978         Likewise.
43979         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
43980         Likewise.
43981         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
43982         Likewise.
43983         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
43984         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
43985         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
43986         atomic-feupdateenv and flt-rounds.
43987         * sysdeps/powerpc/nofpu/Versions (libc): Add
43988         __atomic_feholdexcept, __atomic_feclearexcept,
43989         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
43990         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
43991         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
43992         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
43993         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
43994         here.
43995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43996         Update.
43998         * manual/arith.texi (FP Exceptions): Document that exceptions may
43999         not be raised when matherr is used.
44000         (Math Error Reporting): Document overflow in directed rounding
44001         modes.  Document that errno may not be set when finite values are
44002         returned on overflow.  Document intent to set errno on underflow
44003         only for underflow to zero.
44005         [BZ #16271]
44006         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44007         round-to-nearest then adjust result for other rounding modes.
44008         * include/fenv.h (fegetround): Use libm_hidden_proto.
44009         * math/fegetround.c (fegetround): Use libm_hidden_def.
44010         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44011         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44012         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44013         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44014         Likewise.
44015         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44016         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44017         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44018         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44020 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44022         [BZ #16077]
44023         * nss/Versions (libnss_files): Add
44024         _nss_files_gethostbyname3_r.
44025         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44026         New function.
44027         (HOST_DB_LOOKUP): Remove macro.
44028         (_nss_files_gethostbyname_r): Implement function without the
44029         HOST_DB_LOOKUP macro.
44030         (_nss_files_gethostbyname2_r): Likewise.
44032 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44034         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44036 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44038         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44039         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44040         warning.
44042 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44044         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44045         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44046         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44047         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44048         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44049         __fe_nomask_env_priv and attribute_hidden.
44050         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44051         (libc_feupdateenv_test_ppc): Likewise.
44052         (libc_feresetround_ppc): Likewise.
44053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44054         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44055         compat_symbol macro.
44056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44057         (__fe_nomask_env): Likewise.
44058         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44060 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44062         * string/Makefile: Remove ifunc tests.
44063         * string/test-string.h: Define TEST_IFUNC.
44064         * string/test-bcopy-ifunc.c: Remove.
44065         * string/test-bzero-ifunc.c: Likewise.
44066         * string/test-memccpy-ifunc.c: Likewise.
44067         * string/test-memchr-ifunc.c: Likewise.
44068         * string/test-memcmp-ifunc.c: Likewise.
44069         * string/test-memcpy-ifunc.c: Likewise.
44070         * string/test-memmem-ifunc.c: Likewise.
44071         * string/test-memmove-ifunc.c: Likewise.
44072         * string/test-mempcpy-ifunc.c: Likewise.
44073         * string/test-memrchr-ifunc.c: Likewise.
44074         * string/test-memset-ifunc.c: Likewise.
44075         * string/test-rawmemchr-ifunc.c: Likewise.
44076         * string/test-stpcpy-ifunc.c: Likewise.
44077         * string/test-stpncpy-ifunc.c: Likewise.
44078         * string/test-strcasecmp-ifunc.c: Likewise.
44079         * string/test-strcasestr-ifunc.c: Likewise.
44080         * string/test-strcat-ifunc.c: Likewise.
44081         * string/test-strchr-ifunc.c: Likewise.
44082         * string/test-strchrnul-ifunc.c: Likewise.
44083         * string/test-strcmp-ifunc.c: Likewise.
44084         * string/test-strcpy-ifunc.c: Likewise.
44085         * string/test-strcspn-ifunc.c: Likewise.
44086         * string/test-strlen-ifunc.c: Likewise.
44087         * string/test-strncasecmp-ifunc.c: Likewise.
44088         * string/test-strncat-ifunc.c: Likewise.
44089         * string/test-strncmp-ifunc.c: Likewise.
44090         * string/test-strncpy-ifunc.c: Likewise.
44091         * string/test-strnlen-ifunc.c: Likewise.
44092         * string/test-strpbrk-ifunc.c: Likewise.
44093         * string/test-strrchr-ifunc.c: Likewise.
44094         * string/test-strspn-ifunc.c: Likewise.
44095         * string/test-strstr-ifunc.c: Likewise.
44097 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44099         * benchtests/Makefile: Remove ifunc tests.
44100         * benchtests/bench-string.h: Define TEST_IFUNC.
44101         * benchtests/bench-bcopy-ifunc.c: Remove.
44102         * benchtests/bench-bzero-ifunc.c: Likewise.
44103         * benchtests/bench-memccpy-ifunc.c: Likewise.
44104         * benchtests/bench-memchr-ifunc.c: Likewise.
44105         * benchtests/bench-memcmp-ifunc.c: Likewise.
44106         * benchtests/bench-memcpy-ifunc.c: Likewise.
44107         * benchtests/bench-memmem-ifunc.c: Likewise.
44108         * benchtests/bench-memmove-ifunc.c: Likewise.
44109         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44110         * benchtests/bench-memrchr-ifunc.c: Likewise.
44111         * benchtests/bench-memset-ifunc.c: Likewise.
44112         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44113         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44114         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44115         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44116         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44117         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44118         * benchtests/bench-strcat-ifunc.c: Likewise.
44119         * benchtests/bench-strchr-ifunc.c: Likewise.
44120         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44121         * benchtests/bench-strcmp-ifunc.c: Likewise.
44122         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44123         * benchtests/bench-strcpy-ifunc.c: Likewise.
44124         * benchtests/bench-strcspn-ifunc.c: Likewise.
44125         * benchtests/bench-strlen-ifunc.c: Likewise.
44126         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44127         * benchtests/bench-strncat-ifunc.c: Likewise.
44128         * benchtests/bench-strncmp-ifunc.c: Likewise.
44129         * benchtests/bench-strncpy-ifunc.c: Likewise.
44130         * benchtests/bench-strnlen-ifunc.c: Likewise.
44131         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44132         * benchtests/bench-strrchr-ifunc.c: Likewise.
44133         * benchtests/bench-strsep-ifunc.c: Likewise.
44134         * benchtests/bench-strspn-ifunc.c: Likewise.
44135         * benchtests/bench-strstr-ifunc.c: Likewise.
44137 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44139         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44141 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44143         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44144         * rt/aio.h: Likewise.
44145         * sysdeps/gnu/bits/utmp.h: Likewise.
44146         * sysdeps/gnu/bits/utmpx.h: Likewise.
44147         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44148         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44149         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44150         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44151         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44152         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44153         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44154         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44155         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44156         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44157         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44158         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44159         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44161         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44162         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44163         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44164         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44165         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44166         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44167         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44168         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44169         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44170         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44171         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44172         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44173         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44174         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44175         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44176         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44177         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44178         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44179         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44180         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44181         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44182         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44183         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44184         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44185         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44186         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44187         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44188         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44190 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44192         [BZ #16245]
44193         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44194         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44196 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44198         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44199         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44200         Likewise.
44202 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44204         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44205         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44206         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44207         (__fesetround): Remove define.
44208         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44209         rounding and exceptions handling.
44210         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44211         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44212         (__fe_nomask_env): Likewise.
44213         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44214         __fegetround instead of fegetround.
44215         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44216         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44218 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44220         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44221         it's there.
44223         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44225 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44227         [BZ #11157]
44228         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44229         (encrypt_r): Likewise.
44230         * malloc/obstack.h (obstack_free): Likewise.
44231         * posix/unistd.h (encrypt): Likewise.
44233 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44235         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44236         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44237         DL_CALL_DT_FINI() that call the functions directly.
44238         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44239         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44240         * elf/dl-fini.c: Likewise.
44242 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44244         * malloc/hooks.c (memalign_check): Add alignment rounding.
44245         * malloc/malloc.c (_mid_memalign): New function.
44246         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44247         Implement by calling _mid_memalign.
44248         * manual/probes.texi (Memory Allocation Probes): Remove
44249         memory_valloc_retry and memory_pvalloc_retry.
44251 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44253         * locale/programs/locarchive.c (open_archive): Add const
44254         qualifier to ARCHIVEFNAME and copy default fname to
44255         DEFAULT_FNAME.
44257         [BZ #15601]
44258         * libio/tst-widetext.input: Rename Oriya to Odia.
44259         * locale/iso-639.def: Likewise.
44261         * manual/probes.texi (Mathematical Function Probes): Add
44262         documentation for sin, cos, asin and acos probes.
44263         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44264         (__sin32): Add slowasin probe.
44265         (__cos32): Add slowacos probe.
44266         (__mpsin): Add slowsin probe.
44267         (__mpcos): Add slowcos probe.
44269 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44271         [BZ #15483]
44272         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44273         thread-local __sim_exceptions_thread and global
44274         __sim_exceptions_global.
44275         (__sim_disabled_exceptions): Change to thread-local
44276         __sim_disabled_exceptions_thread and global
44277         __sim_disabled_exceptions_global.
44278         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44279         and global __sim_round_mode_global.
44280         (__simulate_exceptions): Use thread-local floating-point state and
44281         set global state from it as needed.
44282         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44283         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44284         __sim_round_mode_thread.
44285         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44286         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44287         and global __sim_exceptions_global.
44288         (__sim_disabled_exceptions): Change to thread-local
44289         __sim_disabled_exceptions_thread and global
44290         __sim_disabled_exceptions_global.
44291         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44292         and global __sim_round_mode_global.
44293         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44294         (SIM_SET_GLOBAL): Likewise.
44295         * sysdeps/powerpc/soft-fp/sfp-machine.h
44296         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44297         __sim_round_mode_thread.
44298         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44299         __sim_disabled_exceptions_thread.
44300         (__sim_exceptions): Change to __sim_exceptions_thread.
44301         (__sim_disabled_exceptions): Change to
44302         __sim_disabled_exceptions_thread.
44303         (__sim_round_mode): Change to __sim_round_mode_thread.
44304         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44305         thread-local floating-point state and set global state from it as
44306         needed.
44307         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44308         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44309         (__sim_disabled_exceptions): Remove extern declaration.
44310         (feenableexcept): Use thread-local floating-point state and set
44311         global state from it as needed.
44312         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44313         extern declaration.
44314         (__sim_disabled_exceptions): Likewise.
44315         (__sim_round_mode): Likewise.
44316         (__fegetenv): Use thread-local floating-point state.
44317         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44318         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44319         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44320         floating-point state and set global state from it as needed.
44321         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44322         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44323         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44324         Likewise.
44325         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44326         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44327         Likewise.
44328         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44329         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44330         Use __sim_round_mode_thread.
44331         * math/test-fenv-tls.c: New file.
44332         * math/Makefile (tests): Add test-fenv-tls.
44333         ($(objpfx)test-fenv-tls): Depend on
44334         $(common-objpfx)nptl/libpthread.so.
44336 2013-11-19  Andreas Schwab  <schwab@suse.de>
44338         * locale/programs/locale.c (show_info): Decode wordarray elements.
44339         * locale/categories.def (LC_MONETARY): Add element for
44340         _NL_MONETARY_CRNCYSTR.
44341         * locale/C-monetary.c (conversion_rate): New variable.
44342         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44343         element.
44345 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44347         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44348         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44350 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44352         * elf/Makefile (tst-auxv): New test.
44353         * elf/tst-auxv.c: New
44354         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44356 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44358         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44359         (hidden_proto): Caller changed.
44360         (hidden_tls_proto): New macro.
44361         (libc_hidden_tls_proto): Likewise.
44362         (rtld_hidden_tls_proto): Likewise.
44363         (libm_hidden_tls_proto): Likewise.
44364         (libresolv_hidden_tls_proto): Likewise.
44365         (librt_hidden_tls_proto): Likewise.
44366         (libdl_hidden_tls_proto): Likewise.
44367         (libnss_files_hidden_tls_proto): Likewise.
44368         (libnsl_hidden_tls_proto): Likewise.
44369         (libnss_nisplus_hidden_tls_proto): Likewise.
44370         (libutil_hidden_tls_proto): Likewise.
44372 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44374         [BZ #10253]
44375         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44376         (decompose_rpath): Defer expansion to fillin_rpath.
44377         (_dl_init_paths): Pass linkmap to fillin_rpath.
44379 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44381         * benchtests/Makefile: Add strsep.
44382         * benchtests/bench-strsep.c: New file: strsep benchtest.
44383         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44385 2013-11-18  Andreas Schwab  <schwab@suse.de>
44387         * locale/programs/locale.c (show_info) [case byte]: Check for
44388         '\377' instead of '\177'.
44389         * locale/C-monetary.c (not_available): Always use "\377".
44390         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44391         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44392         detect unavailable sign_posn locale elements.
44393         * locale/localeconv.c (__localeconv): For grouping and
44394         mon_grouping handle "\177" and "\377" like no grouping.
44395         (INT_ELEM): New macro.  Use it to set all numeric members.
44396         * locale/programs/ld-monetary.c (monetary_read)
44397         <tok_mon_grouping>: Normalize single -1 to the empty string.
44398         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44399         Likewise.
44401 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44403         [BZ #16055]
44404         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44405         when we match (nil).
44406         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44408 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44410         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44411         (NO_TEST_INLINE): Update value.
44412         (ERRNO_UNCHANGED): Likewise.
44413         (ERRNO_EDOM): Likewise.
44414         (ERRNO_ERANGE): Likewise.
44415         (IGNORE_RESULT): Likewise.
44416         (check_float_internal): Check signs of NaN results if
44417         TEST_NAN_SIGN used.
44418         (check_complex): Pass TEST_NAN_SIGN flag through to second
44419         check_float_internal call.
44420         (copysign_test_data): Add tests with quiet NaNs as second
44421         argument.  Use TEST_NAN_SIGN.
44422         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44423         TEST_NAN_SIGN.
44424         (signbit_test_data): Add tests of quiet NaN argument.
44425         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44427         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44428         $ignore_result.
44429         (parse_args): Handle function results specified as IGNORE.
44430         * math/libm-test.inc (IGNORE_RESULT): New macro.
44431         (check_float_internal): Do not check numerical result if flag
44432         IGNORE_RESULT set.
44433         (check_complex): Pass through IGNORE_RESULT to second
44434         check_float_internal call.
44435         (check_int): Do not check numerical result if flag IGNORE_RESULT
44436         set.
44437         (check_long): Likewise.
44438         (check_bool): Likewise.
44439         (check_longlong): Likewise.
44440         (lrint_test_data): Add tests of infinite and NaN arguments.
44441         (lrint_tonearest_test_data): Likewise.
44442         (lrint_towardzero_test_data): Likewise.
44443         (lrint_downward_test_data): Likewise.
44444         (lrint_upward_test_data): Likewise.
44445         (llrint_test_data): Likewise.
44446         (llrint_tonearest_test_data): Likewise.
44447         (llrint_towardzero_test_data): Likewise.
44448         (llrint_downward_test_data): Likewise.
44449         (llrint_upward_test_data): Likewise.
44450         (lround_test_data): Likewise.
44451         (llround_test_data): Likewise.
44453         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44454         (ERRNO_UNCHANGED): Update value.
44455         (ERRNO_EDOM): Likewise.
44456         (ERRNO_ERANGE): Likewise.
44457         (NO_TEST_INLINE_FLOAT): New macro.
44458         (NO_TEST_INLINE_DOUBLE): Likewise.
44459         (enable_test): New function.
44460         (RUN_TEST_f_f): Check enable_test before running test.
44461         (RUN_TEST_2_f): Likewise.
44462         (RUN_TEST_fff_f): Likewise.
44463         (RUN_TEST_c_f): Likewise.
44464         (RUN_TEST_f_f1): Likewise.
44465         (RUN_TEST_fF_f1): Likewise.
44466         (RUN_TEST_fI_f1): Likewise.
44467         (RUN_TEST_ffI_f1): Likewise.
44468         (RUN_TEST_c_c): Likewise.
44469         (RUN_TEST_cc_c): Likewise.
44470         (RUN_TEST_f_i): Likewise.
44471         (RUN_TEST_f_i_tg): Likewise.
44472         (RUN_TEST_ff_i_tg): Likewise.
44473         (RUN_TEST_f_b): Likewise.
44474         (RUN_TEST_f_b_tg): Likewise.
44475         (RUN_TEST_f_l): Likewise.
44476         (RUN_TEST_f_L): Likewise.
44477         (RUN_TEST_fFF_11): Likewise.
44478         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44479         conditionals.
44480         (cosh_test_data): Likewise.
44481         (exp_test_data): Likewise.
44482         (expm1_test_data): Likewise.
44483         (hypot_test_data): Likewise.
44484         (pow_test_data): Likewise.
44485         (sinh_test_data): Likewise.
44486         (tanh_test_data): Likewise.
44487         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44488         flags argument.
44490         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44491         tests with quiet NaN input and output.
44492         (acosh_test_data): Likewise.
44493         (asin_test_data): Likewise.
44494         (asinh_test_data): Likewise.
44495         (atan_test_data): Likewise.
44496         (atanh_test_data): Likewise.
44497         (atan2_test_data): Likewise.
44498         (cbrt_test_data): Likewise.
44499         (cos_test_data): Likewise.
44500         (cosh_test_data): Likewise.
44501         (erf_test_data): Likewise.
44502         (erfc_test_data): Likewise.
44503         (exp_test_data): Likewise.
44504         (exp10_test_data): Likewise.
44505         (exp2_test_data): Likewise.
44506         (expm1_test_data): Likewise.
44507         (hypot_test_data): Likewise.
44508         (j0_test_data): Likewise.
44509         (j1_test_data): Likewise.
44510         (jn_test_data): Likewise.
44511         (lgamma_test_data): Likewise.
44512         (log_test_data): Likewise.
44513         (log10_test_data): Likewise.
44514         (log1p_test_data): Likewise.
44515         (log2_test_data): Likewise.
44516         (pow_test_data): Likewise.
44517         (scalb_test_data): Likewise.
44518         (sin_test_data): Likewise.
44519         (sincos_test_data): Likewise.
44520         (sinh_test_data): Likewise.
44521         (tan_test_data): Likewise.
44522         (tanh_test_data): Likewise.
44523         (tgamma_test_data): Likewise.
44524         (y0_test_data): Likewise.
44525         (y1_test_data): Likewise.
44526         (yn_test_data): Likewise.
44528         [BZ #16167]
44529         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44530         argument being NaN and avoid computations with second argument in
44531         that case.
44532         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44533         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44534         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44536 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
44538         * locale/iso-639.def: Add Chitwani Tharu (the).
44540 2013-11-14  Andreas Schwab  <schwab@suse.de>
44542         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44543         word instead of empty string.
44545 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44548         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44550         (__fe_nomask_env): Likewise.
44552 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44554         * benchtests/bench-timing.h: Include time.h.
44556 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44558         [BZ #15997]
44559         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44560         to 3.4.0 for x32.
44561         * sysdeps/unix/sysv/linux/configure: Regenerated.
44563 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44565         [BZ #16151]
44566         * stdlib/strtod_l.c (round_and_return): Do not consider
44567         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44568         exponent one less than half the least subnormal exponent.
44569         * stdlib/test-strtod-round-data: Add more tests.
44570         * stdlib/tst-strtod-round.c (tests): Regenerated.
44572 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44574         [BZ #14143]
44575         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44576         (__fe_mask_env): Likewise.
44577         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44578         libm_hidden_proto and add function prototype.
44579         (__fe_mask_env): Add function prototype.
44580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44581         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44583         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44585         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44587 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44589         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44590         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44592 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44594         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44595         of htab_find_slot().
44597 2013-11-11  David S. Miller  <davem@davemloft.net>
44599         [BZ #16150]
44600         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44601         symbol in the non-vis3 case in static builds.
44602         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44603         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44604         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44605         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44607 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
44609         [BZ #387]
44610         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44611         it is empty.
44613 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44615         * benchtests/Makefile: Add bench-strtod.
44616         * benchtests/bench-strtod.c: New file: strtod benchtest
44618 2013-11-11  Andreas Schwab  <schwab@suse.de>
44620         [BZ #16153]
44621         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44622         terminating NUL in key length.
44624 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44626         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44627         Add artificial ODP entry for vDSO symbol for PPC64.
44628         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44629         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44631 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44633         [BZ #15374]
44634         * nss/getent.c (services_keys): Recognize services starting with digit.
44636 2013-11-06  David S. Miller  <davem@davemloft.net>
44638         [BZ #15985]
44639         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44640         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44642 2013-11-06  Will Newton  <will.newton@linaro.org>
44644         * manual/memory.texi (Malloc Examples): Remove register
44645         keyword from examples.
44647 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
44649         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44651 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
44653         [BZ #6981]
44654         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44655         depending on [__GCC_IEC_559 > 0].
44656         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44657         depending on [__GCC_IEC_559_COMPLEX > 0].
44659 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
44661         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44662         to iso-639.def.
44664 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
44666         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44668 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
44670         [BZ #16112]
44671         * malloc/malloc (malloc_info): Do not handle first bin as
44672         special case.
44674 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
44676         * locale/iso-639.def: Add Central Nahuatl (nhn).
44678 2013-11-01  Bruno Haible  <bruno@clisp.org>
44680         [BZ #7003]
44681         * manual/math.texi (BSD Random): Specify range upper bound as
44682         in POSIX.
44684 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
44686         * locale/iso-639.def: Add Meadow Mari (mhr).
44688 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
44690         [BZ #14752], [BZ #15763]
44691         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44692         Validate name.
44693         * rt/tst_shm.c: Add test for escaping directory.
44695 2013-10-31  Andreas Schwab  <schwab@suse.de>
44697         [BZ #15917]
44698         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44699         followed by 'x' as part of digit sequence.
44700         * stdio-common/tst-sscanf.c (double_tests2): New tests.
44702 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44704         [BZ #16037]
44705         * configure.ac: allow GNU Make 4.0 and greater.
44706         * configure: Regenerated.
44708 2013-10-30  Will Newton  <will.newton@linaro.org>
44710         [BZ #16038]
44711         * malloc/hooks.c (memalign_check): Limit alignment to the
44712         maximum representable power of two.
44713         * malloc/malloc.c (__libc_memalign): Likewise.
44714         * malloc/tst-memalign.c (do_test): Add test for very
44715         large alignment values.
44716         * malloc/tst-posix_memalign.c (do_test): Likewise.
44718 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44720         [BZ #11087]
44721         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44722         (munmap_chunk): Likewise.
44723         (mremap_chunk): Likewise.
44725 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44727         [BZ #15799]
44728         * stdlib/div.c (div): Remove obsolete code.
44729         * stdlib/ldiv.c (ldiv): Likewise.
44730         * stdlib/lldiv.c (lldiv): Likewise.
44732 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44734         [BZ #16071]
44735         * nss/nss_files/files-XXX.c (get_contents_ret): New
44736         enumerator.
44737         (get_contents): New function.
44738         (internal_getent): Use it.  Expand size of LINEBUFLEN.
44740 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
44742         * configure.in: Moved to ...
44743         * configure.ac: ... here. Change reference to configure.in
44744         to configure.ac.
44745         * sysdeps/arm/preconfigure.ac: ... here.
44746         configure.in to configure.ac.
44747         * sysdeps/gnu/configure.in: Moved to ...
44748         * sysdeps/gnu/configure.ac: ... here.
44749         * sysdeps/i386/configure.in: Moved to ...
44750         * sysdeps/i386/configure.ac: ... here.
44751         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44752         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44753         * sysdeps/mach/configure.in: Moved to ...
44754         * sysdeps/mach/configure.ac: ... here.
44755         * sysdeps/mach/hurd/configure.in: Moved to ...
44756         * sysdeps/mach/hurd/configure.ac: ... here.
44757         * sysdeps/powerpc/configure.in: Moved to ...
44758         * sysdeps/powerpc/configure.ac: ... here.
44759         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44760         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44761         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44762         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44763         * sysdeps/s390/s390-32/configure.in: Moved to ...
44764         * sysdeps/s390/s390-32/configure.ac: ... here.
44765         * sysdeps/s390/s390-64/configure.in: Moved to ...
44766         * sysdeps/s390/s390-64/configure.ac: ... here.
44767         * sysdeps/sh/configure.in: Moved to ...
44768         * sysdeps/sh/configure.ac: ... here.
44769         * sysdeps/sparc/configure.in: Moved to ...
44770         * sysdeps/sparc/configure.ac: ... here.
44771         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44772         * sysdeps/unix/sysv/linux/configure.ac: ... here.
44773         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44774         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44775         * sysdeps/x86_64/configure.in: Moved to ...
44776         * sysdeps/x86_64/configure.ac: ... here.
44777         * sysdeps/x86_64/preconfigure.in: Moved to ...
44778         * sysdeps/x86_64/preconfigure.ac: ... here.
44779         * aclocal.m4: Change reference to configure.in to configure.ac.
44780         * config.h.in: Likewise.
44781         * manual/install.texi: Likewise.
44782         * manual/maint.texi: Likewise.
44783         * Makefile: Likewise.
44784         * malloc/Makefile: Likewise.
44785         * nscd/Makefile: Likewise.
44786         * Makeconfig: Change reference to configure.in and
44787         preconfigure.in to configure.ac and preconfigure.ac
44788         respectively.
44789         * INSTALL: Regenerated.
44790         * configure: Likewise.
44791         * sysdeps/gnu/configure: Likewise.
44792         * sysdeps/i386/configure: Likewise.
44793         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44794         * sysdeps/mach/configure: Likewise.
44795         * sysdeps/mach/hurd/configure: Likewise.
44796         * sysdeps/powerpc/configure: Likewise.
44797         * sysdeps/powerpc/powerpc32/configure: Likewise.
44798         * sysdeps/powerpc/powerpc64/configure: Likewise.
44799         * sysdeps/s390/s390-32/configure: Likewise.
44800         * sysdeps/s390/s390-64/configure: Likewise.
44801         * sysdeps/sh/configure: Likewise.
44802         * sysdeps/sparc/configure: Likewise.
44803         * sysdeps/unix/sysv/linux/configure: Likewise.
44804         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
44805         * sysdeps/x86_64/configure: Likewise.
44806         * sysdeps/x86_64/preconfigure: Likewise.
44808 2013-10-29  Andreas Schwab  <schwab@suse.de>
44810         * stdio-common/Makefile (tst-swscanf-ENV): Define.
44812 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44814         * benchtests/pow-inputs: Add new inputs.
44816         * benchtests/exp-inputs: Add new inputs.
44818         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44819         conditional check for return value.
44820         (__cos32): Likewise.
44822 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44824         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44825         to provide a boost for large inputs with word alignment.
44826         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44827         implementation based on optimized PPC64 strcpy.
44828         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44829         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44830         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44831         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44833 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44835         [BZ #2801]
44836         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44838 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44840         [BZ #14876]
44841         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44842         * time/tst-strptime.c (day_tests): Add testcase.
44844 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44846         [BZ #14029]
44847         * manual/pattern.texi: Acknowledge that fnmatch can fail.
44849 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
44851         [BZ #16074]
44852         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44853         MAP_FAILED on error.
44855 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44857         [BZ #16072]
44858         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44859         heap for large requests.
44861 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
44863         [BZ #9954]
44864         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44865         result if the result has no associated interface.
44866         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44867         interface for all 127.X.Y.Z addresses.
44869 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
44871         * locale/iso-639.def: Add Ligurian (lij)
44873 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
44875         [BZ #15825]
44876         * sunrpc/rpc_main.c: Document rpcgen -5.
44878 2013-10-19  Michael Stahl  <mstahl@redhat.com>
44880         * elf/rtld.c (do_preload): Print the reason why preloading failed.
44882 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44884         [BZ #10278]
44885         * posix/glob.c: Match only directories when trailing slash is present.
44886         * posix/tst-gnuglob.c (my_opendir): Do not open files.
44887         (main): Add testcase.
44889 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44891         [BZ #15670]
44892         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44894 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
44896         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44897         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44898         AUTH_DES and cindex for FIPS 140-2.
44899         (DES Encryption): Add cindex FIPS 46-3.
44901         * locale/locarchive.h (struct locarhandle): Add fname.
44902         * locale/programs/localedef.c (main): Pass ARGV[remaining]
44903         if an optional argument was specified to --list-archive,
44904         otherwise NULL.
44905         * locale/programs/locarchive.c (show_archive_content): Take new
44906         argument fname and pass it via ah.fname to open_archive.
44907         * locale/programs/localedef.h: Update decl.
44908         (open_archive): If AH->fname is non-null, open that file
44909         rather than the default file name, and don't ignore ENOENT.
44910         (create_archive): Set AH.fname to NULL.
44911         (delete_locales_from_archive): Likewise.
44912         (add_locales_to_archive): Likewise.
44913         * locale/programs/locfile.c (write_all_categories): Likewise.
44915 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
44916             Aldy Hernandez  <aldyh@redhat.com>
44918         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44919         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44920         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44921         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44922         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44923         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44924         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44925         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44926         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44927         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44928         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44929         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44930         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44931         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44932         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44933         Likewise.
44934         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44935         Likewise.
44936         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44937         Likewise.
44938         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44939         Likewise.
44940         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44941         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44942         Likewise.
44943         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44944         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44945         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44946         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44947         Likewise.
44948         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44949         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44950         * sysdeps/powerpc/preconfigure: Likewise.
44951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44952         Likewise.
44953         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44954         Replace contents of file by #include of <fenv_libc.h>.
44955         * sysdeps/powerpc/soft-fp/sfp-machine.h
44956         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44957         and <sys/prctl.h>.
44958         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44959         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44960         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44961         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44962         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44963         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44964         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44965         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44966         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44967         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44968         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44969         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44971         Allow copysignl PLT reference to be missing.
44973 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
44974             Joseph Myers  <joseph@codesourcery.com
44976         [BZ #15948]
44977         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
44978         single character.
44979         (add_to_tablewc): Assert sequence of wide characters is nonempty.
44981 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44983         * elf/tst-tls-dlinfo.c: Don't include tls.h.
44984         * elf/tst-tls1.c: Likewise.
44985         * elf/tst-tls10.h: Likewise.
44986         * elf/tst-tls14.c: Likewise.
44987         * elf/tst-tls2.c: Likewise.
44988         * elf/tst-tls3.c: Likewise.
44989         * elf/tst-tls4.c: Likewise.
44990         * elf/tst-tls5.c: Likewise.
44991         * elf/tst-tls6.c: Likewise.
44992         * elf/tst-tls7.c: Likewise.
44993         * elf/tst-tls8.c: Likewise.
44994         * elf/tst-tls9.c: Likewise.
44995         * elf/tst-tlsmod1.c: Likewise.
44996         * elf/tst-tlsmod13.c: Likewise.
44997         * elf/tst-tlsmod13a.c: Likewise.
44998         * elf/tst-tlsmod14a.c: Likewise.
44999         * elf/tst-tlsmod16a.c: Likewise.
45000         * elf/tst-tlsmod16b.c: Likewise.
45001         * elf/tst-tlsmod2.c: Likewise.
45002         * elf/tst-tlsmod3.c: Likewise.
45003         * elf/tst-tlsmod4.c: Likewise.
45004         * elf/tst-tlsmod5.c: Likewise.
45005         * elf/tst-tlsmod6.c: Likewise.
45007 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45009         [BZ #12486]
45010         * malloc/malloc.c: remove checks for statistics.
45012 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45014         [BZ #15277]
45015         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45016         * inet/tst-network.c: Add testcase.
45018 2013-10-17  Andreas Schwab  <schwab@suse.de>
45020         [BZ #15218]
45021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45022         to determine canonical name.
45024 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45026         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45027         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45028         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45029         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45030         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45031         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45032         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45033         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45034         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45035         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45036         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45037         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45038         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45039         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45040         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45041         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45042         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45043         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45044         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45045         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45046         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45047         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45048         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45049         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45050         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45051         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45052         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45053         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45054         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45055         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45056         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45057         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45058         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45059         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45060         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45061         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45062         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45063         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45064         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45065         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45066         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45067         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45068         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45069         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45070         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45071         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45072         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45073         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45074         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45075         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45076         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45077         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45078         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45079         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45080         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45081         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45082         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45083         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45085 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45087         [BZ #16041]
45088         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45089         make result into a quiet NaN.
45091 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45093         * soft-fp/adddf3.c: Fix horizontal whitespace.
45094         * soft-fp/addsf3.c: Likewise.
45095         * soft-fp/addtf3.c: Likewise.
45096         * soft-fp/divdf3.c: Likewise.
45097         * soft-fp/divsf3.c: Likewise.
45098         * soft-fp/divtf3.c: Likewise.
45099         * soft-fp/double.h: Likewise.
45100         * soft-fp/eqdf2.c: Likewise.
45101         * soft-fp/eqsf2.c: Likewise.
45102         * soft-fp/eqtf2.c: Likewise.
45103         * soft-fp/extenddftf2.c: Likewise.
45104         * soft-fp/extended.h: Likewise.
45105         * soft-fp/extendsfdf2.c: Likewise.
45106         * soft-fp/extendsftf2.c: Likewise.
45107         * soft-fp/extendxftf2.c: Likewise.
45108         * soft-fp/fixdfdi.c: Likewise.
45109         * soft-fp/fixdfsi.c: Likewise.
45110         * soft-fp/fixdfti.c: Likewise.
45111         * soft-fp/fixsfdi.c: Likewise.
45112         * soft-fp/fixsfsi.c: Likewise.
45113         * soft-fp/fixsfti.c: Likewise.
45114         * soft-fp/fixtfdi.c: Likewise.
45115         * soft-fp/fixtfsi.c: Likewise.
45116         * soft-fp/fixtfti.c: Likewise.
45117         * soft-fp/fixunsdfdi.c: Likewise.
45118         * soft-fp/fixunsdfsi.c: Likewise.
45119         * soft-fp/fixunsdfti.c: Likewise.
45120         * soft-fp/fixunssfdi.c: Likewise.
45121         * soft-fp/fixunssfsi.c: Likewise.
45122         * soft-fp/fixunssfti.c: Likewise.
45123         * soft-fp/fixunstfdi.c: Likewise.
45124         * soft-fp/fixunstfsi.c: Likewise.
45125         * soft-fp/fixunstfti.c: Likewise.
45126         * soft-fp/floatdidf.c: Likewise.
45127         * soft-fp/floatdisf.c: Likewise.
45128         * soft-fp/floatditf.c: Likewise.
45129         * soft-fp/floatsidf.c: Likewise.
45130         * soft-fp/floatsisf.c: Likewise.
45131         * soft-fp/floatsitf.c: Likewise.
45132         * soft-fp/floattidf.c: Likewise.
45133         * soft-fp/floattisf.c: Likewise.
45134         * soft-fp/floattitf.c: Likewise.
45135         * soft-fp/floatundidf.c: Likewise.
45136         * soft-fp/floatundisf.c: Likewise.
45137         * soft-fp/floatunditf.c: Likewise.
45138         * soft-fp/floatunsidf.c: Likewise.
45139         * soft-fp/floatunsisf.c: Likewise.
45140         * soft-fp/floatunsitf.c: Likewise.
45141         * soft-fp/floatuntidf.c: Likewise.
45142         * soft-fp/floatuntisf.c: Likewise.
45143         * soft-fp/floatuntitf.c: Likewise.
45144         * soft-fp/fmadf4.c: Likewise.
45145         * soft-fp/fmasf4.c: Likewise.
45146         * soft-fp/fmatf4.c: Likewise.
45147         * soft-fp/gedf2.c: Likewise.
45148         * soft-fp/gesf2.c: Likewise.
45149         * soft-fp/getf2.c: Likewise.
45150         * soft-fp/ledf2.c: Likewise.
45151         * soft-fp/lesf2.c: Likewise.
45152         * soft-fp/letf2.c: Likewise.
45153         * soft-fp/muldf3.c: Likewise.
45154         * soft-fp/mulsf3.c: Likewise.
45155         * soft-fp/multf3.c: Likewise.
45156         * soft-fp/negdf2.c: Likewise.
45157         * soft-fp/negsf2.c: Likewise.
45158         * soft-fp/negtf2.c: Likewise.
45159         * soft-fp/op-1.h: Likewise.
45160         * soft-fp/op-2.h: Likewise.
45161         * soft-fp/op-4.h: Likewise.
45162         * soft-fp/op-8.h: Likewise.
45163         * soft-fp/op-common.h: Likewise.
45164         * soft-fp/quad.h: Likewise.
45165         * soft-fp/single.h: Likewise.
45166         * soft-fp/soft-fp.h: Likewise.
45167         * soft-fp/sqrtdf2.c: Likewise.
45168         * soft-fp/sqrtsf2.c: Likewise.
45169         * soft-fp/sqrttf2.c: Likewise.
45170         * soft-fp/subdf3.c: Likewise.
45171         * soft-fp/subsf3.c: Likewise.
45172         * soft-fp/subtf3.c: Likewise.
45173         * soft-fp/truncdfsf2.c: Likewise.
45174         * soft-fp/trunctfdf2.c: Likewise.
45175         * soft-fp/trunctfsf2.c: Likewise.
45176         * soft-fp/trunctfxf2.c: Likewise.
45177         * soft-fp/unorddf2.c: Likewise.
45178         * soft-fp/unordsf2.c: Likewise.
45179         * soft-fp/unordtf2.c: Likewise.
45181 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45183         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45184         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45186 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45188         * elf/dl-libc.c: Clear initfini list after freeing.
45190 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45192         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45193         * soft-fp/addsf3.c: Likewise.
45194         * soft-fp/addtf3.c: Likewise.
45195         * soft-fp/divdf3.c: Likewise.
45196         * soft-fp/divsf3.c: Likewise.
45197         * soft-fp/divtf3.c: Likewise.
45198         * soft-fp/double.h: Likewise.
45199         * soft-fp/eqdf2.c: Likewise.
45200         * soft-fp/eqsf2.c: Likewise.
45201         * soft-fp/eqtf2.c: Likewise.
45202         * soft-fp/extenddftf2.c: Likewise.
45203         * soft-fp/extended.h: Likewise.
45204         * soft-fp/extendsfdf2.c: Likewise.
45205         * soft-fp/extendsftf2.c: Likewise.
45206         * soft-fp/extendxftf2.c: Likewise.
45207         * soft-fp/fixdfdi.c: Likewise.
45208         * soft-fp/fixdfsi.c: Likewise.
45209         * soft-fp/fixdfti.c: Likewise.
45210         * soft-fp/fixsfdi.c: Likewise.
45211         * soft-fp/fixsfsi.c: Likewise.
45212         * soft-fp/fixsfti.c: Likewise.
45213         * soft-fp/fixtfdi.c: Likewise.
45214         * soft-fp/fixtfsi.c: Likewise.
45215         * soft-fp/fixtfti.c: Likewise.
45216         * soft-fp/fixunsdfdi.c: Likewise.
45217         * soft-fp/fixunsdfsi.c: Likewise.
45218         * soft-fp/fixunsdfti.c: Likewise.
45219         * soft-fp/fixunssfdi.c: Likewise.
45220         * soft-fp/fixunssfsi.c: Likewise.
45221         * soft-fp/fixunssfti.c: Likewise.
45222         * soft-fp/fixunstfdi.c: Likewise.
45223         * soft-fp/fixunstfsi.c: Likewise.
45224         * soft-fp/fixunstfti.c: Likewise.
45225         * soft-fp/floatdidf.c: Likewise.
45226         * soft-fp/floatdisf.c: Likewise.
45227         * soft-fp/floatditf.c: Likewise.
45228         * soft-fp/floatsidf.c: Likewise.
45229         * soft-fp/floatsisf.c: Likewise.
45230         * soft-fp/floatsitf.c: Likewise.
45231         * soft-fp/floattidf.c: Likewise.
45232         * soft-fp/floattisf.c: Likewise.
45233         * soft-fp/floattitf.c: Likewise.
45234         * soft-fp/floatundidf.c: Likewise.
45235         * soft-fp/floatundisf.c: Likewise.
45236         * soft-fp/floatunsidf.c: Likewise.
45237         * soft-fp/floatunsisf.c: Likewise.
45238         * soft-fp/floatuntidf.c: Likewise.
45239         * soft-fp/floatuntisf.c: Likewise.
45240         * soft-fp/floatuntitf.c: Likewise.
45241         * soft-fp/fmadf4.c: Likewise.
45242         * soft-fp/fmasf4.c: Likewise.
45243         * soft-fp/fmatf4.c: Likewise.
45244         * soft-fp/gedf2.c: Likewise.
45245         * soft-fp/gesf2.c: Likewise.
45246         * soft-fp/getf2.c: Likewise.
45247         * soft-fp/ledf2.c: Likewise.
45248         * soft-fp/lesf2.c: Likewise.
45249         * soft-fp/letf2.c: Likewise.
45250         * soft-fp/muldf3.c: Likewise.
45251         * soft-fp/mulsf3.c: Likewise.
45252         * soft-fp/multf3.c: Likewise.
45253         * soft-fp/negdf2.c: Likewise.
45254         * soft-fp/negsf2.c: Likewise.
45255         * soft-fp/negtf2.c: Likewise.
45256         * soft-fp/op-1.h: Likewise.
45257         * soft-fp/op-2.h: Likewise.
45258         * soft-fp/op-4.h: Likewise.
45259         * soft-fp/op-8.h: Likewise.
45260         * soft-fp/op-common.h: Likewise.
45261         * soft-fp/quad.h: Likewise.
45262         * soft-fp/single.h: Likewise.
45263         * soft-fp/soft-fp.h: Likewise.
45264         * soft-fp/sqrtdf2.c: Likewise.
45265         * soft-fp/sqrtsf2.c: Likewise.
45266         * soft-fp/sqrttf2.c: Likewise.
45267         * soft-fp/subdf3.c: Likewise.
45268         * soft-fp/subsf3.c: Likewise.
45269         * soft-fp/subtf3.c: Likewise.
45270         * soft-fp/truncdfsf2.c: Likewise.
45271         * soft-fp/trunctfdf2.c: Likewise.
45272         * soft-fp/trunctfsf2.c: Likewise.
45273         * soft-fp/trunctfxf2.c: Likewise.
45274         * soft-fp/unorddf2.c: Likewise.
45275         * soft-fp/unordsf2.c: Likewise.
45276         * soft-fp/unordtf2.c: Likewise.
45278 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45280         [BZ #15672]
45281         * misc/error.c (error_tail): Fix possible buffer overflow.
45283 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45285         [BZ #13028]
45286         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45287         address.
45289 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45291         [BZ #832]
45292         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45293         testing pipefail option.
45295 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45297         * soft-fp/double.h: Indent preprocessor directives inside #if.
45298         * soft-fp/extended.h: Likewise.
45299         * soft-fp/op-2.h: Likewise.
45300         * soft-fp/op-4.h: Likewise.
45301         * soft-fp/op-common.h: Likewise.
45302         * soft-fp/quad.h: Likewise.
45303         * soft-fp/single.h: Likewise.
45304         * soft-fp/soft-fp.h: Likewise.
45306 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45308         * iconv/iconv_prog.c: Fix typos.
45309         * stdio-common/psiginfo-data.h: Likewise.
45311 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45313         [BZ #15764]
45314         * locale/setlocale.c: Fix typo.
45316 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45318         [BZ #16036]
45319         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45320         signaling NaN arguments.
45321         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45322         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45324         [BZ #14910]
45325         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45326         unordered operands.
45327         * soft-fp/gesf2.c (__gesf2): Likewise.
45328         * soft-fp/getf2.c (__getf2): Likewise.
45329         * soft-fp/ledf2.c (__ledf2): Likewise.
45330         * soft-fp/lesf2.c (__lesf2): Likewise.
45331         * soft-fp/letf2.c (__letf2): Likewise.
45333         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45334         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45335         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45336         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45337         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45338         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45339         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45340         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45341         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45342         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45343         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45344         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45345         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45346         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45347         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45348         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45349         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45350         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45351         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45352         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45353         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45354         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45355         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45356         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45357         * soft-fp/floattidf.c (__floattidf): Likewise.
45358         * soft-fp/floattisf.c (__floattisf): Likewise.
45359         * soft-fp/floattitf.c (__floattitf): Likewise.
45360         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45361         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45362         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45363         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45364         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45365         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45366         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45367         * soft-fp/gesf2.c (__gesf2): Likewise.
45368         * soft-fp/getf2.c (__getf2): Likewise.
45369         * soft-fp/ledf2.c (__ledf2): Likewise.
45370         * soft-fp/lesf2.c (__lesf2): Likewise.
45371         * soft-fp/letf2.c (__letf2): Likewise.
45373         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45374         Undefine and redefine.
45375         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45376         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45377         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45378         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45379         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45380         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45381         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45382         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45383         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45384         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45385         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45386         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45387         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45388         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45389         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45391         [BZ #16032]
45392         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45393         without decrementing exponent if mantissa >= that for the
45394         denominator, not >.
45395         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45396         denominator, not >.  Decrement exponent in < case instead of
45397         incrementing in >= case.
45398         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45399         without decrementing exponent if mantissa >= that for the
45400         denominator, not >.
45402         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45403         computing saturated result for unsigned overflow.
45405 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45406             Jeff Law  <law@redhat.com>
45408         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45409         (atan2Mp): Add systemtap probe marker.
45410         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45411         (__ieee754_log): Add systemtap probe marker.
45412         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45413         (atanMp): Add systemtap probe marker.
45414         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45415         (tanMp): Add systemtap probe marker.
45416         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45417         (__slowexp): Add systemtap probe marker.
45418         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45419         (__slowpow): Add systemtap probe marker.
45420         * manual/probes.texi: Document probes.
45422 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45424         [BZ #15362]
45425         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45426         written.
45427         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45428         written.
45429         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45430         written to buffer but not flushed.
45431         * libio/iofwrite_u.c:  Likewise.
45432         * libio/iopadn.c:  Return bytes returned even if EOF was
45433         encountered.
45434         * libio/iowpadn.c:  Likewise.
45435         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45436         if _IO_padn does not write the whole buffer.
45437         [!COMPILE_WPRINTF] (PAD): Likewise.
45439 2013-10-10  David S. Miller  <davem@davemloft.net>
45441         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45442         directory block.
45444 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45446         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45447         instead of FSF address.
45448         * soft-fp/fixdfti.c: Likewise.
45449         * soft-fp/fixsfti.c: Likewise.
45450         * soft-fp/fixtfti.c: Likewise.
45451         * soft-fp/fixunsdfti.c: Likewise.
45452         * soft-fp/fixunssfti.c: Likewise.
45453         * soft-fp/fixunstfti.c: Likewise.
45454         * soft-fp/floattidf.c: Likewise.
45455         * soft-fp/floattisf.c: Likewise.
45456         * soft-fp/floattitf.c: Likewise.
45457         * soft-fp/floatuntidf.c: Likewise.
45458         * soft-fp/floatuntisf.c: Likewise.
45459         * soft-fp/floatuntitf.c: Likewise.
45460         * soft-fp/trunctfxf2.c: Likewise.
45462         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45463         * soft-fp/fixdfti.c: Likewise.
45464         * soft-fp/fixsfti.c: Likewise.
45465         * soft-fp/fixtfti.c: Likewise.
45466         * soft-fp/fixunsdfti.c: Likewise.
45467         * soft-fp/fixunssfti.c: Likewise.
45468         * soft-fp/fixunstfti.c: Likewise.
45469         * soft-fp/floattidf.c: Likewise.
45470         * soft-fp/floattisf.c: Likewise.
45471         * soft-fp/floattitf.c: Likewise.
45472         * soft-fp/floatuntidf.c: Likewise.
45473         * soft-fp/floatuntisf.c: Likewise.
45474         * soft-fp/floatuntitf.c: Likewise.
45475         * soft-fp/trunctfxf2.c: Likewise.
45477 2013-10-10  David S. Miller  <davem@davemloft.net>
45479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45481 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45483         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45484         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45485         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45486         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45487         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45488         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45489         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45491         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45492         for NaNs before doing comparisons on argument.
45493         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45494         Likewise.
45496 2013-10-10  Will Newton  <will.newton@linaro.org>
45498         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45499         passed to _int_memalign does not overflow.
45501 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45503         * scripts/bench.pl: Add include-sources directive.
45504         * benchtests/README: Update documentation.
45506 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45508         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45509         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45510         instead of FP_INIT_ROUNDMODE.
45511         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45512         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45514         [BZ #16034]
45515         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
45516         copy class of input value.
45517         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
45518         not handle exceptions.
45519         * soft-fp/negsf2.c (__negsf2): Likewise.
45520         * soft-fp/negtf2.c (__negtf2): Likewise.
45521         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45523 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
45525         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45526         semicolon.  From Linux kernel.
45528 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
45530         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45532 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
45534         [BZ #156]
45535         * manual/socket.texi: Added statement about buffer
45536         for gethostbyname2_r.
45538 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45540         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45541         Use .p2align directive instead, throughout.
45542         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45543         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45544         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45545         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45546         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45547         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45548         * sysdeps/x86_64/strchr.S: Likewise.
45549         * sysdeps/x86_64/strrchr.S: Likewise.
45551 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45553         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45555         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45557         * sysdeps/generic/math_private.h (__mpsin1): Remove
45558         declaration.
45559         (__mpcos1): Likewise.
45560         (__mpsin): New argument __range_reduce.
45561         (__mpcos): Likewise.
45562         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45563         (slow): Use __mpsin and __mpcos.
45564         (slow1): Likewise.
45565         (slow2): Likewise.
45566         (sloww): Likewise.
45567         (sloww1): Likewise.
45568         (sloww2): Likewise.
45569         (bsloww): Likewise.
45570         (bsloww1): Likewise.
45571         (bsloww2): Likewise.
45572         (cslow2): Likewise.
45573         (csloww): Likewise.
45574         (csloww1): Likewise.
45575         (csloww2): Likewise.
45576         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45577         range_reduce.  Merge in __mpsin1.
45578         (__mpcos): Likewise.
45579         (__mpsin1): Remove.
45580         (__mpcos1): Likewise.
45582 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45584         * locale/loadlocale.c (_nl_intern_locale_data): Use
45585         LOCFILE_ALIGNED_P.
45586         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45587         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45588         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45589         obstack data is appropriately aligned.
45590         (obstack_int32_grow_fast): Likewise.
45591         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45592         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45593         (add_locale_uint32_array): Likewise.
45595 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45597         * benchtests/Makefile: Remove ARGLIST and RET variables.
45598         ($(objpfx)bench-%.c): Pass only function name to the script.
45599         * benchtests/README: Update documentation.
45600         * benchtests/acos-inputs: Add new directives.
45601         * benchtests/acosh-inputs: Likewise.
45602         * benchtests/asin-inputs: Likewise.
45603         * benchtests/asinh-inputs: Likewise.
45604         * benchtests/atan-inputs: Likewise.
45605         * benchtests/atanh-inputs: Likewise.
45606         * benchtests/cos-inputs: Likewise.
45607         * benchtests/cosh-inputs: Likewise.
45608         * benchtests/exp-inputs: Likewise.
45609         * benchtests/log-inputs: Likewise.
45610         * benchtests/pow-inputs: Likewise.
45611         * benchtests/rint-inputs: Likewise.
45612         * benchtests/sin-inputs: Likewise.
45613         * benchtests/sinh-inputs: Likewise.
45614         * benchtests/tan-inputs: Likewise.
45615         * benchtests/tanh-inputs: Likewise.
45616         * scripts/bench.pl: Add support for new directives.
45618 2013-10-07  Alan Modra  <amodra@gmail.com>
45620         * README: Fix careless merge.
45622 2013-10-05  Alan Modra  <amodra@gmail.com>
45624         * NEWS: Mention powerpc64le support and bugs fixed.
45625         * README: Both big-endian and little-endian powerpc64 supported.
45627 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45629         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45630         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45631         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45632         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45634 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
45636         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45637         match prototype.
45639 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
45641         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45642         Move -mhard-float appending from
45643         ports/sysdeps/powerpc/powerpc32/Makefile.
45644         [$(with-fp) = yes] (ASFLAGS): Likewise.
45645         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45646         * sysdeps/powerpc/nofpu: Move directory from
45647         ports/sysdeps/powerpc/nofpu.
45648         * sysdeps/powerpc/soft-fp: Move directory from
45649         ports/sysdeps/powerpc/soft-fp.
45650         * sysdeps/powerpc/powerpc32/405: Move directory from
45651         ports/sysdeps/powerpc/powerpc32/405.
45652         * sysdeps/powerpc/powerpc32/440: Move directory from
45653         ports/sysdeps/powerpc/powerpc32/440.
45654         * sysdeps/powerpc/powerpc32/464: Move directory from
45655         ports/sysdeps/powerpc/powerpc32/464.
45656         * sysdeps/powerpc/powerpc32/476: Move directory from
45657         ports/sysdeps/powerpc/powerpc32/476.
45658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45659         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45661         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45663         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45665         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45667         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45668         * README: Update for powerpc-*-linux-gnu software floating point
45669         support in libc.
45671         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45672         case to powerpc/powerpc32*.
45673         * sysdeps/unix/sysv/linux/configure: Regenerated.
45675         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45676         (_FPU_MASK_OM): Define as 0x04.
45677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45679         0x00c10080.
45680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45681         0x0000003c.
45682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45685         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45686         getcontext_e500.
45687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45688         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45689         setcontext_e500.
45690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45691         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45692         and setcontext_e500.
45694 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
45696         * locale/iso-3166.def: Update iso-1366.def and related occurrences
45698 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45700         * manual/threads.texi (Default Thread Attributes): Fix typo.
45702 2013-10-04  Will Newton  <will.newton@linaro.org>
45704         * malloc/Makefile: Add tst-memalign.
45705         * malloc/tst-memalign.c: New file.
45707         * malloc/tst-posix_memalign.c: Add comments.
45708         (do_test): Add comments and call free on all potentially
45709         allocated pointers. Add space after cast.
45711         * malloc/tst-pvalloc.c: Add comments.
45712         (do_test): Add comments and call free on all potentially
45713         allocated pointers. Remove duplicate check for NULL pointer.
45714         Add space after cast.
45716         * malloc/tst-valloc.c: Add comments.
45717         (do_test): Add comments and call free on all potentially
45718         allocated pointers. Remove duplicate check for NULL pointer.
45719         Add space after cast.
45721 2013-10-04  Alan Modra  <amodra@gmail.com>
45723         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45724         Use stdint types in rather than __attribute__((mode())).
45725         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45727 2013-10-04  Alan Modra  <amodra@gmail.com>
45729         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45730         Correct handling of unaligned relocs for little-endian.
45731         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45733 2013-10-04  Alan Modra  <amodra@gmail.com>
45735         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45736         * configure: Regenerate.
45737         * nptl/shlib-versions: Powerpc*le starts at 2.18.
45738         * shlib-versions: Likewise.
45740 2013-10-04  Alan Modra  <amodra@gmail.com>
45742         * string/tester.c (test_memrchr): Increment reported test cycle.
45744 2013-10-04  Alan Modra  <amodra@gmail.com>
45746         * string/test-memcpy.c (do_one_test): When reporting errors, print
45747         string address and don't overrun end of string.
45749 2013-10-04  Alan Modra  <amodra@gmail.com>
45751         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45752         insrdi.  Make better use of reg selection to speed exit slightly.
45753         Schedule entry path a little better.  Remove useless "are we done"
45754         checks on entry to main loop.  Handle wrapping around zero address.
45755         Correct main loop count.  Handle single left-over word from main
45756         loop inline rather than by using loop_small.  Remove extra word
45757         case in loop_small caused by wrong loop count.  Add little-endian
45758         support.
45759         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45760         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
45761         cache hint.
45762         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45763         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45764         support.  Avoid rlwimi.
45765         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45767 2013-10-04  Alan Modra  <amodra@gmail.com>
45769         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45770         insrdi.  Formatting.
45771         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45772         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45773         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45774         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45775         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45776         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45778 2013-10-04  Alan Modra  <amodra@gmail.com>
45780         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45781         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45782         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45783         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45784         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45785         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45786         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45787         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45788         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
45789         use of regs.  Use power7 mtocrf.  Tidy function tails.
45791 2013-10-04  Alan Modra  <amodra@gmail.com>
45793         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45794         Formatting.  Consistently use rXXX register defines or rN defines.
45795         Use early exit labels that avoid restoring unused non-volatile regs.
45796         Make cr field use more consistent with rWORDn compares.  Rename
45797         regs used as shift registers for unaligned loop, using rN defines
45798         for short lifetime/multiple use regs.
45799         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45800         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
45801         addi 1,1,64 to pop stack frame.  Simplify return value code.
45802         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45804 2013-10-04  Alan Modra  <amodra@gmail.com>
45806         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
45807         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
45808         rather than rlwimi.
45809         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
45810         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45811         little-endian support.  Correct typos.
45812         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
45813         rather than rlwimi.
45814         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
45815         in loop and entry code to keep "and." results.
45816         (strchr): Add little-endian support.  Comment.  Move cntlzd
45817         earlier in tail.
45818         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45820 2013-10-04  Alan Modra  <amodra@gmail.com>
45822         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45823         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45824         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45825         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45827 2013-10-04  Alan Modra  <amodra@gmail.com>
45829         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45830         (rTMP): Define as r11.
45831         (strcmp): Add little-endian support.  Optimise tail.
45832         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45833         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45834         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45835         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45836         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45837         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45838         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45840 2013-10-04  Alan Modra  <amodra@gmail.com>
45842         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45843         little-endian support.  Remove unnecessary "are we done" tests.
45844         Handle "s" wrapping around zero and extremely large "size".
45845         Correct main loop count.  Handle single left-over word from main
45846         loop inline rather than by using small_loop.  Correct comments.
45847         Delete "zero" tail, use "end_max" instead.
45848         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45850 2013-10-04  Alan Modra  <amodra@gmail.com>
45852         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45853         support.  Don't branch over align.
45854         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45855         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45856         support.  Rearrange tmp reg use to suit.  Comment.
45857         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45859 2013-10-04  Alan Modra  <amodra@gmail.com>
45861         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45863 2013-10-04  Alan Modra  <amodra@gmail.com>
45865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45866         conditional form of branch and link when obtaining pc.
45867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45869 2013-10-04  Alan Modra  <amodra@gmail.com>
45871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45872         HIWORD/LOWORD.
45873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45876 2013-10-04  Alan Modra  <amodra@gmail.com>
45878         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45879         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45880         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45881         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45882         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45883         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45884         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45885         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45886         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45887         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45889 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45890             Alistair Popple <alistair@ozlabs.au.ibm.com>
45891             Alan Modra <amodra@gmail.com>
45893         [BZ #15723]
45894         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45895         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45896         _dl_hwcap access for little-endian.
45897         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
45898         destroy vmx regs when saving unaligned.
45899         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45900         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
45901         destroy vmx regs when saving unaligned.
45903 2013-10-04  Alan Modra  <amodra@gmail.com>
45905         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45906         Don't use a union to pack hi/low value.
45908 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45910         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45911         for little-endian.
45912         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45913         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45914         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45915         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45916         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45918 2013-10-04  Alan Modra  <amodra@gmail.com>
45920         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45921         constants to usual value for .cst8 section, and remove redundant
45922         high address load.
45923         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45924         constant for 0x1p52.  Load little-endian words of double from
45925         correct stack offsets.
45927 2013-10-04  Alan Modra  <amodra@gmail.com>
45929         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45930         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45931         words of double from correct stack offsets.
45932         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45933         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45934         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45935         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45936         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45937         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45938         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45939         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45940         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45941         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45942         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45943         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45944         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45945         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45946         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45947         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45948         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45950 2013-10-04  Alan Modra  <amodra@gmail.com>
45952         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45953         64-bit int/double union.
45954         (_FPU_SETCW): Likewise.
45955         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45956         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45958 2013-10-04  Alan Modra  <amodra@gmail.com>
45960         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45961         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45963 2013-10-04  Alan Modra  <amodra@gmail.com>
45965         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45966         use vector int constants.
45967         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45969 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45971         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45972         array with long long.
45973         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45974         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45975         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
45976         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
45977         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
45978         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
45979         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
45980         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
45981         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
45982         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
45983         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
45984         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
45985         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
45987 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45989         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
45990         (__signbit): Likewise.  Correct for little-endian.
45991         (__signbitl): Call __signbit.
45992         (lrint): Correct for little-endian.
45993         (lrintf): Call lrint.
45995 2013-10-04  Alan Modra  <amodra@gmail.com>
45997         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
45998         union 32-bit int array member with 64-bit int array.
45999         (t515, tm256): Double rather than long double.
46000         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46002 2013-10-04  Alan Modra  <amodra@gmail.com>
46004         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46005         Delete.
46006         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46007         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46008         version of math_ldbl.h.
46010 2013-10-04  Alan Modra  <amodra@gmail.com>
46012         [BZ #15734], [BZ #15735]
46013         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46014         all uses of ieee875 long double macros and unions.  Simplify test
46015         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46016         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46017         normalize after ldbl_extract_mantissa, and don't add hidden bit
46018         already handled.  Don't treat low word of ieee854 mantissa like
46019         low word of IBM long double and mask off bit when testing for
46020         zero.
46021         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46022         all uses of ieee875 long double macros and unions.  Simplify tests
46023         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46024         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46025         two1022, instead use their values.  Recognise that tests for large
46026         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46027         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46028         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46029         test for 0.0L and nan.  Correct negation.
46030         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46031         ieee875 long double macros and unions.  Correct output for large
46032         magnitude x.  Correct absolute value calculation.
46033         (__erfcl): Likewise.
46034         * math/libm-test.inc: Add tests for errors discovered in IBM long
46035         double versions of fmodl, remainderl, erfl and erfcl.
46037 2013-10-04  Alan Modra  <amodra@gmail.com>
46039         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46040         all uses of ieee854 long double macros and unions.  Simplify tests
46041         for long doubles that are fully specified by the high double.
46042         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46043         Likewise.
46044         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46045         Remove dead code too.
46046         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46047         (__ieee754_ynl): Likewise.
46048         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46049         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46050         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46051         Remove dead code too.
46052         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46053         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46054         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46055         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46056         Simplify.
46057         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46058         Simplify.
46059         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46060         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46061         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46062         Comment on variable precision.
46063         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46064         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46065         Likewise.
46066         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46067         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46068         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46069         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46070         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46072 2013-10-04  Alan Modra  <amodra@gmail.com>
46074         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46075         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46076         all uses of ieee854 long double macros and unions.
46077         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46078         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46079         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46080         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46081         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46082         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46083         Likewise.
46084         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46085         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46086         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46087         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46088         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46089         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46090         Simplify sign and nan test too.
46091         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46092         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46093         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46094         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46095         Likewise.
46096         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46097         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46098         Likewise.
46099         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46100         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46101         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46102         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46103         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46104         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46106 2013-10-04  Alan Modra  <amodra@gmail.com>
46108         * stdio-common/printf_size.c (__printf_size): Don't use
46109         union ieee854_long_double in fpnum union.
46110         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46111         signbit macro to retrieve sign from long double.
46112         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46113         retrieve sign from long double.
46114         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46115         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46116         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46117         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46118         * math/test-misc.c (main): Don't use union ieee854_long_double.
46120 2013-10-04  Alan Modra  <amodra@gmail.com>
46122         [BZ #15680]
46123         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46124         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46125         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46126         calculation.  Remove unnecessary test for denormal exponent.
46127         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46128         Correct handling of denormals.  Avoid undefined shift behaviour.
46129         Correct normalisation of low mantissa when low double is denormal.
46130         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46131         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46132         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46133         Correct normalisation of low mantissa.  Test for overflow of high
46134         mantissa and normalise.
46135         (ldbl_nearbyint): Use more readable constant for two52.
46136         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46137         (__mpn_construct_long_double): Fix test for overflow of high
46138         mantissa and correct normalisation.  Avoid undefined shift.
46140 2013-10-04  Alan Modra  <amodra@gmail.com>
46142         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46143         (union ibm_extended_long_double): Define as an array of ieee754_double.
46144         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46145         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46146         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46147         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46148         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46149         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46150         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46151         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46152         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46153         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46154         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46156 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46158         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46159         page size instead of calling getpagesize.
46161         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46162         (LOCFILE_ALIGN_MASK): Likewise.
46163         (LOCFILE_ALIGN_UP): Likewise.
46164         (LOCFILE_ALIGNED_P): Likewise.
46165         * locale/programs/ld-collate.c (collate_output): Use the new
46166         macros instead of __alignof__ (int32_t).
46167         * locale/weight.h (findidx): Likewise.
46169 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46171         [BZ #431]
46172         * manual/string.texi: Fix strncat and wcsncat.
46174 2013-10-03  Brooks Moses  <bmoses@google.com>
46176         [BZ #15915]
46177         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46178         * Makerules: ...here, and adjust associated comments.
46180 2013-10-02  Will Newton  <will.newton@linaro.org>
46182         * malloc/Makefile: Add tst-pvalloc.
46183         * malloc/tst-pvalloc.c: New file.
46185 2013-10-02  Will Newton  <will.newton@linaro.org>
46187         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46188         improve test coverage.
46190 2013-10-02  Will Newton  <will.newton@linaro.org>
46192         * malloc/Makefile: Add tst-posix_memalign.
46193         * malloc/tst-posix_memalign.c: New file.
46195 2013-10-01  Eric Blake  <eblake@redhat.com>
46197         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46198         Use __THROWNL rather than __THROW on static functions.
46200 2013-09-30  Petr Machata  <pmachata@redhat.com>
46202         * elf/elf.h (R_AARCH64_ABS16): New macro.
46203         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46204         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46205         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46206         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46207         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46208         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46209         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46210         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46211         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46212         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46213         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46214         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46215         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46216         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46217         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46218         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46219         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46220         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46221         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46222         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46223         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46224         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46225         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46226         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46227         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46228         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46229         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46230         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46231         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46232         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46233         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46234         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46235         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46236         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46237         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46238         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46239         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46240         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46241         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46242         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46243         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46244         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46245         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46246         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46247         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46248         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46249         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46250         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46251         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46252         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46253         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46254         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46255         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46256         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46257         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46258         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46259         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46260         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46261         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46262         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46263         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46264         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46265         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46266         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46267         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46268         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46269         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46270         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46271         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46272         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46273         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46274         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46275         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46276         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46277         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46278         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46279         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46280         (R_AARCH64_TLSDESC_LDR): Likewise.
46281         (R_AARCH64_TLSDESC_ADD): Likewise.
46282         (R_AARCH64_TLSDESC_CALL): Likewise.
46284 2013-09-30  Andreas Schwab  <schwab@suse.de>
46286         [BZ #15048]
46287         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46288         the nss database lookup.
46289         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46290         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46292 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46294         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46296 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46298         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46299         ${Bash-specific parameter/pattern/string} parameter expansion.
46300         * sysdeps/unix/make-syscalls.sh: Likewise.
46302 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46304         * sysdeps/sh/stackguard-macros.h: New file.
46306 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46308         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46309         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46310         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46311         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46312         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46313         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46315 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46317         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46318         Fix thread ID register.
46320 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46322         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46323         [POSIX || UNIX98]: Require rather than permitting all symbols from
46324         <time.h>.
46325         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46326         element of struct sched_param.
46327         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46328         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46329         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46330         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46331         constant.
46333 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46335         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46336         argument calculation.
46338 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46340         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46341         Expect macro.
46342         [POSIX] (pthread_attr_t): Do not require type.
46343         [POSIX] (pthread_cond_t): Likewise.
46344         [POSIX] (pthread_condattr_t): Likewise.
46345         [POSIX] (pthread_key_t): Likewise.
46346         [POSIX] (pthread_mutex_t): Likewise.
46347         [POSIX] (pthread_mutexattr_t): Likewise.
46348         [POSIX] (pthread_once_t): Likewise.
46349         [POSIX] (pthread_t): Likewise.
46350         [POSIX-based standards] (pthread_atfork): Expect function.
46352 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46353             Richard Sandiford  <richard@codesourcery.com>
46355         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46356         (swap_endianness_p): New extern variable.
46357         (set_big_endian): New inline function.
46358         (maybe_swap_uint32): Likewise.
46359         (maybe_swap_uint32_array): Likewise.
46360         (maybe_swap_uint32_obstack): Likewise.
46361         * locale/programs/locfile.c: Include <stdbool.h>.
46362         (swap_endianness_p): New variable.
46363         (add_locale_uint32): Call maybe_swap_uint32.
46364         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46365         (write_locale_data): Call maybe_swap_uint32_array.
46366         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46367         maybe_swap_uint32.
46368         (obstack_int32_grow_fast): Likewise.
46369         (output_weightwc): Call maybe_swap_uint32_obstack.
46370         (collate_output): Likewise.
46371         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46372         (OPT_LITTLE_ENDIAN): Likewise.
46373         (options): Add --little-endian and --big-endian options.
46374         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46375         * locale/programs/locarchive.c: Include "locfile.h".
46376         (GET): New macro.
46377         (SET): Likewise.
46378         (INC): Likewise.
46379         (create_archive): Use the new macros to access fields of
46380         structures directly mapped from or written to locale archives.
46381         (oldlocrecentcmp): Likewise.
46382         (enlarge_archive): Likewise.
46383         (insert_name): Likewise.
46384         (add_alias): Likewise.
46385         (add_locale): Likewise.
46386         (delete_locales_from_archive): Likewise.
46387         (show_archive_content): Likewise.
46388         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46389         locale data.
46391 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46393         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46394         http://www.gnu.org/doc/freemanuals.texi.
46395         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46397 2013-09-24  Will Newton  <will.newton@linaro.org>
46399         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46400         macro.
46402 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46404         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46405         unsigned char.
46407 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46409         * manual/threads.texi (POSIX Threads): Fix a typo.
46411 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46413         [BZ #14547]
46414         * string/tst-strcoll-overflow.c: New test case.
46415         * string/Makefile (xtests): Add tst-strcoll-overflow.
46416         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46417         cache if string sizes may cause integer overflow.
46419         [BZ #14547]
46420         * string/strcoll_l.c (coll_seq): New members rule, idx,
46421         save_idx and back_us.
46422         (get_next_seq_nocache): New function.
46423         (do_compare_nocache): New function.
46424         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46425         when malloc fails.
46427 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46429         [BZ #15754]
46430         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46431         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46432         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46434         [BZ #15754]
46435         * elf/Makefile (tests): Add tst-ptrguard1.
46436         (tests-static): Add tst-ptrguard1-static.
46437         (tst-ptrguard1-ARGS): Define.
46438         (tst-ptrguard1-static-ARGS): Define.
46439         * elf/tst-ptrguard1.c: New file.
46440         * elf/tst-ptrguard1-static.c: New file.
46441         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46442         * sysdeps/i386/stackguard-macros.h: Likewise.
46443         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46444         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46445         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46446         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46447         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46448         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46450 2013-09-23  Hector Marco  <hecmargi@upv.es>
46451             Ismael Ripoll  <iripoll@disca.upv.es>
46452             Carlos O'Donell  <carlos@redhat.com>
46454         [BZ #15754]
46455         * sysdeps/generic/stackguard-macros.h: Define
46456         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46457         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46458         Define __pointer_chk_guard_local.
46459         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46460         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46462 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46464         [BZ #15859]
46465         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46467 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46469         * include/string.h (__ffs): Declare as hidden.
46470         * string/ffs.c (__ffs): Define as hidden.
46471         * sysdeps/i386/ffs.c (__ffs): Likewise.
46472         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46473         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46474         * sysdeps/s390/ffs.c (__ffs): Likewise.
46475         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46477 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46479         * NEWS: Mention malloc probes.
46481         * malloc/arena.c (new_heap): New memory_heap_new probe.
46482         (grow_heap): New memory_heap_more probe.
46483         (shrink_heap): New memory_heap_less probe.
46484         (heap_trim): New memory_heap_free probe.
46485         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46486         (systrim): New memory_sbrk_less probe.
46487         * manual/probes.texi: Document them.
46489         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46490         * manual/probes.texi: Document it.
46492         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46493         (__libc_realloc): Add memory_realloc_retry probe.
46494         (__libc_memalign): Add memory_memalign_retry probe.
46495         (__libc_valloc): Add memory_valloc_retry probe.
46496         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46497         (__libc_calloc): Add memory_calloc_retry probe.
46498         * manual/probes.texi: Document them.
46500         * malloc/arena.c (get_free_list): Add probe
46501         memory_arena_reuse_free_list.
46502         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46503         and memory_arena_reuse.
46504         (arena_get2) [!PER_THREAD]: Likewise.
46505         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46506         memory_arena_reuse_realloc.
46507         * manual/probes.texi: Document them.
46509         * malloc/malloc.c (__libc_free): Add
46510         memory_mallopt_free_dyn_thresholds probe.
46511         (__libc_mallopt): Add multiple memory_mallopt probes.
46512         * manual/probes.texi: Document them.
46514         * malloc/malloc.c: Include stap-probe.h.
46515         (__libc_mallopt): Add memory_mallopt probe.
46516         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46517         * manual/probes.texi: New.
46518         * manual/Makefile (chapters): Add probes.
46519         * manual/threads.texi: Set next node.
46521 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
46523         [BZ #15963, #13985]
46524         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46525         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46526         Add `Chinese' to `nan' entry name.
46528 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46530         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46531         (POLYNOMIAL): Likewise.
46532         (TAYLOR_SINCOS): Likewise.
46533         (TAYLOR_SLOW): Likewise.
46534         (__sin): Use TAYLOR_SINCOS.
46535         (__cos): Likewise.
46536         (slow): Use TAYLOR_SLOW.
46537         (sloww): Likewise.
46538         (bsloww): Likewise.
46539         (csloww): Likewise.
46541 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46543         * stdlib/strtod_l.c: Fix buffer overrun.
46545 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46547         * benchtests/Makefile (bench): Add sincos.
46548         * benchtests/bench-sincos.c: New file.
46550         * math/libm-test.inc (cos_test_data): New test inputs.
46551         (sin_test_data): Likewise.
46553         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46554         macro.
46555         (__sin): Use it.
46556         (__cos): Likewise.
46557         (slow1): Likewise.
46558         (slow2): Likewise.
46559         (sloww1): Likewise.
46560         (sloww2): Likewise.
46561         (bsloww1): Likewise.
46562         (bsloww2): Likewise.
46563         (cslow2): Likewise.
46564         (csloww1): Likewise.
46565         (csloww2): Likewise.
46567         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46568         function.
46569         (__sin): Use it.
46570         (__cos): Likewise.
46572         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46573         gotos.
46574         (__cos): Likewise.
46576 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46578         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46579         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46580         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46581         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46582         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46583         * elf/cache.c (print_entry): Handle the new cache flags.
46585 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46586             Aldy Hernandez  <aldyh@redhat.com>
46588         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46589         Change condition to [_SOFT_FLOAT].
46590         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46592         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46593         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46597         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46602         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46605         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46606         declaration.
46608 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46610         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46611         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46612         (__longjmp): Use LOAD_GP to load saved GPRs.
46613         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46614         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46615         (__sigsetjmp): Use SAVE_GP to save GPRs.
46617         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46618         Do not append -msoft-float.
46619         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46621 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46623         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46625 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
46627         [BZ #15966]
46628         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46629         (_FPU_GETCW): Use initial "__" on variable and field names but not
46630         on macro parameter name.
46631         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
46632         parentheses around reference to macro parameter.
46634 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
46636         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46637         prototype.
46638         (ctype_startup): Use uint32_t in cast and sizeof for
46639         ctype->charnames.
46641 2013-09-11  Jia Liu  <proljc@gmail.com>
46643         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46644         __daddr_t_defined.
46645         [__FreeBSD__]: Likewise.
46647 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
46649         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46650         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46651         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46652         (strchr): Remove __strchr_sse42 ifunc selection.
46653         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46654         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46656 2013-09-11  Will Newton  <will.newton@linaro.org>
46658         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46659         parameter to RES. Remove hardcoded 1000 value.
46660         * benchtests/bench-skeleton.c (main): Pass RES parameter
46661         to TIMING_INIT and multiply result by 1000.
46663 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46667 2013-09-11  Andreas Schwab  <schwab@suse.de>
46669         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46670         if not defined.
46671         (O_TMPFILE) [__USE_GNU]: Define.
46672         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46673         Define.
46675 2013-09-11  Will Newton  <will.newton@linaro.org>
46677         [BZ #15857]
46678         * malloc/malloc.c (__libc_memalign): Check the value of bytes
46679         does not overflow.
46681 2013-09-11  Will Newton  <will.newton@linaro.org>
46683         [BZ #15856]
46684         * malloc/malloc.c (__libc_valloc): Check the value of bytes
46685         does not overflow.
46687 2013-09-11  Will Newton  <will.newton@linaro.org>
46689         [BZ #15855]
46690         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46691         does not overflow.
46693 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
46695         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46696         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46697         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46698         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46699         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46701 2013-09-10  Allan McRae  <allan@archlinux.org>
46703         [BZ #15748]
46704         * manual/arith.texi (Parsing of Floats): Clarify
46705         cross-reference.
46707         [BZ #15849]
46708         * manual/install.texi (Running make install): Mention
46709         --enable-pt-chown.
46710         * INSTALL: Regenerated.
46712 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
46714         * csu/init-first.c (_init): Remove the !SHARED condition around
46715         FPU control word initialization.
46716         * elf/dl-support.c (_dl_fpu_control): New variable.
46717         (_dl_aux_init) <AT_FPUCW>: Initialize it.
46718         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46719         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46720         * math/test-fpucw-static.c: New file.
46721         * math/test-fpucw-ieee.c: New file.
46722         * math/test-fpucw-ieee-static.c: New file.
46723         * math/Makefile (tests): Add `test-fpucw-ieee' and
46724         `$(tests-static)'.
46725         (tests-static): New variable.
46726         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46727         dependency to...
46728         [($(build-shared),yes)]
46729         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46730         ... this.
46731         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46732         New dependency.
46734 2013-09-09  Allan McRae  <allan@archlinux.org>
46736         [BZ #15939]
46737         * manual/string.texi (Collation Functions): Fix typo in
46738         strcoll example.
46739         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46741         [BZ #15893]
46742         * stdlib/isomac.c (get_null_defines): Fix memory leak.
46744         [BZ #15892]
46745         * libio/memstream.c (open_memstream): Fix memory leak.
46746         * libio/wmemstream.c (open_wmemstream): Likewise.
46748         [BZ #15895]
46749         * nscd/netgroupcache.c: Fix nesting of ifdefs.
46751 2013-09-09  Will Newton  <will.newton@linaro.org>
46753         * malloc/Makefile: Add tst-realloc to tests.
46754         * malloc/tst-realloc.c: New file.
46756 2013-09-09  Allan McRae  <allan@archlinux.org>
46758         [BZ #15844]
46759         * COPYING: Update from GNU website to fix FSF address.
46760         * COPYING.LIB: Likewise.
46762 2013-09-06  David S. Miller  <davem@davemloft.net>
46764         * po/zh_TW.po: Update Chinese (traditional) translation from
46765         translation project.
46767 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
46768             Joseph Myers  <joseph@codesourcery.com>
46770         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46771         "localeinfo.h".
46772         (obstack_chunk_alloc): New macro.
46773         (obstack_chunk_free): Likewise.
46774         (record_offset): New function.
46775         (init_locale_data): Likewise.
46776         (align_locale_data): Likewise.
46777         (add_locale_empty): Likewise.
46778         (add_locale_raw_data): Likewise.
46779         (add_locale_raw_obstack): Likewise.
46780         (add_locale_string): Likewise.
46781         (add_locale_wstring): Likewise.
46782         (add_locale_uint32): Likewise.
46783         (add_locale_uint32_array): Likewise.
46784         (add_locale_char): Likewise.
46785         (start_locale_structure): Likewise.
46786         (end_locale_structure): Likewise.
46787         (start_locale_prelude): Likewise.
46788         (end_locale_prelude): Likewise.
46789         (write_locale_data): Take locale_file structure rather than an
46790         iovec.
46791         * locale/programs/locfile.h: Include "obstack.h".
46792         (struct locale_file): Change to store locale file contents instead
46793         of header.
46794         (init_locale_data): New prototype.
46795         (align_locale_data): Likewise.
46796         (add_locale_empty): Likewise.
46797         (add_locale_raw_data): Likewise.
46798         (add_locale_raw_obstack): Likewise.
46799         (add_locale_string): Likewise.
46800         (add_locale_wstring): Likewise.
46801         (add_locale_uint32): Likewise.
46802         (add_locale_uint32_array): Likewise.
46803         (add_locale_char): Likewise.
46804         (start_locale_structure): Likewise.
46805         (end_locale_structure): Likewise.
46806         (start_locale_prelude): Likewise.
46807         (end_locale_prelude): Likewise.
46808         (write_locale_data): Update prototype.
46809         * locale/programs/3level.h (struct TABLE): Remove result field.
46810         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
46811         Use new locale_file interface.
46812         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46813         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46814         * locale/programs/ld-address.c (address_output): Use new
46815         locale_file interface.
46816         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46817         NO_ADD_LOCALE.
46818         (collate_finish): Don't call collseq_table_finalize.
46819         (collate_output): Use new locale_file interface.
46820         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46821         in file.
46822         (NO_FINALIZE): Change to NO_ADD_LOCALE.
46823         (TABLE): Move defines earlier in file.
46824         (ELEMENT): Likewise.
46825         (DEFAULT): Likewise.
46826         (wctrans_table_add): Move macro and inline function earlier in
46827         file.
46828         (struct wctype_table): Move type earlier in file.
46829         (add_locale_wctype_table): New static prototype.
46830         (struct locale_ctype_t): Use logical types instead of struct iovec
46831         pointers for members.
46832         (ctype_output): Use new locale_file interface.
46833         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
46834         new locale_file interface.
46835         (allocate_arrays): Update for use of new locale_file interface.
46836         * locale/programs/ld-identification.c (identification_output): Use
46837         new locale_file interface.
46838         * locale/programs/ld-measurement.c (measurement_output): Likewise.
46839         * locale/programs/ld-messages.c (messages_output): Likewise.
46840         * locale/programs/ld-monetary.c (monetary_output): Likewise.
46841         * locale/programs/ld-name.c (name_output): Likewise.
46842         * locale/programs/ld-numeric.c (numeric_output): Likewise.
46843         * locale/programs/ld-paper.c (paper_output): Likewise.
46844         * locale/programs/ld-telephone.c (telephone_output): Likewise.
46845         * locale/programs/ld-time.c (time_output): Likewise.
46847 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46849         * benchtests/Makefile: Add memrchr benchmark.
46850         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46851         benchmark as memrchr.
46852         * benchtests/bench-memrchr-ifunc.c: New file.
46853         * benchtests/bench-memrchr.c: New file.
46855 2013-09-06   Will Newton  <will.newton@linaro.org>
46857         * benchtests/Makefile (string-bench): Add memcpy.
46859 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
46860             Cong Wang  <amwang@redhat.com>
46862         [BZ #15850]
46863         * sysdeps/unix/sysv/linux/bits/in.h
46864         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46865         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46866         before __USE_KERNEL_IPV6_DEFS uses.
46867         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46868         IPPROTO_BEETPH.
46869         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46870         sockaddr_in6, or ipv6_mreq.
46872 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46874         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46875         memory access for final bytes in some large inputs.
46876         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46878 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46880         * string/test-memrchr.c: New file.
46881         * string/test-memrchr-ifunc.c: New file.
46882         * string/Makefile: Add new memrchr testcase.
46884 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
46886         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46887         fanotify_init returns EPERM.
46889 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46891         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46892         errors.
46893         (top level): Treat second token from macro or constant entries for
46894         allowed headers as allowed.
46895         * include/complex.h: Condition internal declarations on
46896         [!_ISOMAC].
46897         * include/fenv.h: Condition include of <stdbool.h> and internal
46898         declarations on [!_ISOMAC].
46900 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
46902         [BZ #15923]
46903         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46905 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46907         * configure.in (--enable-versioning): Remove configure option.
46908         (libc_cv_asm_symver_directive): Remove configure test.
46909         (libc_cv_ld_version_script_option): Likewise.
46910         (VERSIONING): Remove variable and AC_SUBST.
46911         (DO_VERSIONING): Remove AC_DEFINE.
46912         * configure: Regenerated.
46913         * config.h.in (DO_VERSIONING): Remove macro.
46914         * Makerules [$(versioning) = yes]: Change conditionals to
46915         [$(build-shared) = yes].
46916         * config.make.in (versioning): Remove variable.
46917         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46918         [$(build-shared) = yes].
46919         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46920         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46921         * elf/Makefile [$(versioning) = yes]: Change conditionals to
46922         [$(build-shared) = yes].
46923         * extra-lib.mk [$(versioning) = yes]: Likewise.
46924         * hurd/Makefile [$(versioning) = yes]: Likewise.
46925         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46926         [SHARED].
46927         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46928         [SHARED].
46929         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46930         [SHARED && !NO_HIDDEN].
46931         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46932         [SHARED].
46933         [SHARED && DO_VERSIONING]: Likewise..
46934         * libio/Makefile [$(versioning) = yes]: Change conditionals to
46935         [$(build-shared) = yes].
46936         * manual/install.texi (--disable-versioning): Remove
46937         documentation.
46938         * INSTALL: Regenerated.
46939         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46940         to [SHARED].
46941         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46942         [$(build-shared) = yes].
46943         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46944         * sysdeps/i386/i686/multiarch/strstr-c.c
46945         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46946         [SHARED && !NO_HIDDEN].
46947         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46948         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46949         * sysdeps/powerpc/powerpc32/dl-machine.c
46950         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46951         * sysdeps/powerpc/powerpc32/sysdep.h
46952         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46953         to [SHARED && PIC && !NO_HIDDEN].
46954         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46955         conditional to [SHARED].
46957 2013-09-04   Will Newton  <will.newton@linaro.org>
46959         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46960         * benchtests/bench-string.h: Include bench-timing.h instead
46961         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46962         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46963         call to HP_TIMING_DIFF_INIT.
46964         * benchtests/bench-memccpy.c: Use bench-timing.h macros
46965         instead of hp-timing.h macros.
46966         * benchtests/bench-memchr.c: Likewise.
46967         * benchtests/bench-memcmp.c: Likewise.
46968         * benchtests/bench-memcpy.c: Likewise.
46969         * benchtests/bench-memmem.c: Likewise.
46970         * benchtests/bench-memmove.c: Likewise.
46971         * benchtests/bench-memset.c: Likewise.
46972         * benchtests/bench-rawmemchr.c: Likewise.
46973         * benchtests/bench-strcasecmp.c: Likewise.
46974         * benchtests/bench-strcasestr.c: Likewise.
46975         * benchtests/bench-strcat.c: Likewise.
46976         * benchtests/bench-strchr.c: Likewise.
46977         * benchtests/bench-strcmp.c: Likewise.
46978         * benchtests/bench-strcpy.c: Likewise.
46979         * benchtests/bench-strcpy_chk.c: Likewise.
46980         * benchtests/bench-strlen.c: Likewise.
46981         * benchtests/bench-strncasecmp.c: Likewise.
46982         * benchtests/bench-strncat.c: Likewise.
46983         * benchtests/bench-strncmp.c: Likewise.
46984         * benchtests/bench-strncpy.c: Likewise.
46985         * benchtests/bench-strnlen.c: Likewise.
46986         * benchtests/bench-strpbrk.c: Likewise.
46987         * benchtests/bench-strrchr.c: Likewise.
46988         * benchtests/bench-strspn.c: Likewise.
46989         * benchtests/bench-strstr.c: Likewise.
46991 2013-09-04  Will Newton  <will.newton@linaro.org>
46993         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
46995 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
46997         [BZ #15427]
46998         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
46999         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47000         * math/libm-test.inc (lgamma_test_data): Add more tests.
47001         * sysdeps/i386/fpu/libm-test-ulps: Update.
47002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47004 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47006         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47008         Add ifunc.
47009         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47010         Add strcmp-sse2-unaligned
47011         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47013 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47015         * Versions.def (libc): Add GLIBC_2.19.
47017 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47019         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47020         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47022 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47024         [BZ #14155]
47025         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47026         intermediate calculations in recurrence.
47027         (__ieee754_ynf): Likewise.
47028         * math/libm-test.inc (jn_test_data): Do not allow spurious
47029         underflow exception.  Add more tests.
47030         (yn_test_data): Add more tests.
47031         * sysdeps/i386/fpu/libm-test-ulps: Update.
47032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47034 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47036         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47038 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47040         * csu/init-first.c: Fix then/than typos.
47041         * locale/programs/ld-collate.c: Likewise.
47042         * locale/programs/linereader.h: Likewise.
47043         * manual/charset.texi: Likewise.
47044         * manual/filesys.texi: Likewise.
47045         * manual/stdio.texi: Likewise.
47046         * manual/string.texi: Likewise.
47047         * stdlib/fmtmsg.c: Likewise.
47048         * sysdeps/i386/stpncpy.S: Likewise.
47049         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47050         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47051         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47052         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47054 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47056         * elf/dl-open.c: Fix typos.
47057         * iconvdata/gbbig5.c: Likewise.
47058         * iconvdata/iso-2022-jp.c: Likewise.
47059         * iconv/gconv_int.h: Likewise.
47060         * iconv/loop.c: Likewise.
47061         * nis/rpcsvc/nis.h: Likewise.
47062         * resolv/ns_name.c: Likewise.
47063         * stdio-common/vfscanf.c: Likewise.
47064         * streams/stropts.h: Likewise.
47065         * sunrpc/rpc_thread.c: Likewise.
47066         * sysdeps/i386/strpbrk.S: Likewise.
47067         * sysdeps/ieee754/k_standard.c: Likewise.
47068         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47069         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47070         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47071         * sysdeps/mach/hurd/profil.c: Likewise.
47072         * sysdeps/s390/dl-procinfo.h: Likewise.
47073         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47074         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47075         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47076         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47077         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47079 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47081         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47082         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47084 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47086         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47087         aix specific files.
47088         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47089         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47090         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47091         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47092         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47093         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47094         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47095         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47097 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47098             Roland McGrath  <roland@hack.frob.com>
47100         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47101         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47103 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47105         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47106         __executable_start symbol instead of _start.
47108 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47110         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47111         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47112         Move macros to...
47113         * sysdeps/gnu/ldsodefs.h: ... this new file.
47115         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47116         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47117         instead of ELFOSABI_LINUX.
47119         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47120         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47121         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47122         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47123         Likewise.
47124         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47125         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47126         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47127         Likewise.
47128         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47129         (ibm_extended_long_double): Add ieee_nan member.
47130         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47131         (do_test): New function.
47133         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47134         TEST_TRUNC.
47135         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47136         functions, renamed from truncdfsf_test, trunctfsf_test,
47137         trunctfdf_test.
47138         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47139         functions.
47140         (do_test): Run all these.
47142 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47144         * argp/argp-help.c: Fix typos.
47145         * argp/argp-parse.c: Likewise.
47146         * debug/backtracesyms.c: Likewise.
47147         * elf/elf.h: Likewise.
47148         * malloc/malloc.c: Likewise.
47149         * nis/nis_print.c: Likewise.
47150         * resolv/res_comp.c: Likewise.
47151         * stdlib/stdlib.h: Likewise.
47152         * sunrpc/clnt_tcp.c: Likewise.
47153         * sunrpc/clnt_udp.c: Likewise.
47154         * sunrpc/clnt_unix.c: Likewise.
47155         * sysdeps/unix/bsd/ptsname.c: Likewise.
47156         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47157         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47159         Likewise.
47160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47161         Likewise.
47162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47163         Likewise.
47164         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47166 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47168         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47171 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47173         [BZ #15897]
47174         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47175         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47176         ($(objpfx)bug-dl-leaf): New rule.
47177         ($(objpfx)bug-dl-leaf.so): Likewise.
47178         ($(objpfx)bug-dl-leaf.out): Likewise.
47179         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47180         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47181         * dlfcn/bug-dl-leaf.c: New test.
47182         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47183         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47184         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47185         (dlclose): Likewise.
47186         (dlmopen): Likewise.
47188 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47190         * include/netdb.h [!_ISOMAC]:
47191         Don't include <tls.h>.
47192         (h_errno, __libc_h_errno): Move declaration and macros out of
47193         [_LIBC_REENTRANT].
47195         * include/resolv.h [_RESOLV_H_]:
47196         Don't include <tls.h>.
47197         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47198         * resolv/res_libc.c: Don't include <tls.h>.
47199         (_res): Use __attribute__ ((nocommon)) in place of
47200         __attribute__ ((section (".bss"))).
47202         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47203         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47205         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47207         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47208         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47210         * resolv/res_mkquery.c: Include <sys/time.h>.
47212         * inet/ifreq.c: Moved to ...
47213         * sysdeps/unix/ifreq.c: ... here.
47214         * inet/ifreq.c: New file, true stub version.
47216         * socket/sa_len.c: New file.
47217         * socket/Makefile (aux): Add it.
47218         * sysdeps/unix/sysv/linux/Makefile
47219         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47220         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47221         and #include <socket/sa_len.c>.
47222         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47223         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47225         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47226         * bits/socket.h: ... here.
47228         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47229         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47230         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47232 2013-08-27  Andreas Schwab  <schwab@suse.de>
47234         [BZ #15736]
47235         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47236         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47237         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47238         * string/test-strcasecmp.c (test_main): Run tests in several
47239         locales.
47240         * string/test-strncasecmp.c (test_main): Likewise.
47242         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47243         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47244         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47245         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47246         (__strncasecmp_ssse3) [PIC]: Likewise.
47248 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47250         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47252         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47253         instead of explicitly declaring xdecrypt.
47254         * nis/nss_nis/nis-publickey.c: Likewise.
47256 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47258         [BZ #15890]
47259         * nscd/aicache.c: Include res_hconf.h.
47260         (addhstaiX): Initialize res_hconf.
47262 2013-08-26  Andreas Schwab  <schwab@suse.de>
47264         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47265         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47267 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47269         * nscd/aicache.c (addhstaiX): Fix indentation.
47271 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47273         * configure.ac: Quote $build_pt_chown test.
47274         * configure: Regenerated.
47276 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47278         [BZ #15532]
47279         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47280         * math/s_cexpf.c (__cexpf): Likewise.
47281         * math/s_cexpl.c (__cexpl): Likewise.
47282         * math/libm-test.inc (cexp_test_data): Correct expected return
47283         value for NaN + i0.  Add another test.
47285 2013-08-22  David S. Miller  <davem@davemloft.net>
47287         * po/ca.po: Update Catalan translation from translation project.
47288         * po/uk.po: Add Ukrainian translations from translation project.
47290 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47292         [BZ #15797]
47293         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47294         is infinite, not alongside NaN test.
47295         * math/s_fdimf.c (__fdimf): Likewise.
47296         * math/s_fdiml.c (__fdiml): Likewise.
47297         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47298         errno is unchanged.
47300 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47302         * argp/argp-help.c: Fix typos.
47303         * crypt/speeds.c: Likewise.
47304         * csu/check_fds.c: Likewise.
47305         * elf/dl-load.c: Likewise.
47306         * elf/dl-open.c: Likewise.
47307         * elf/reldep3.c: Likewise.
47308         * elf/reldep.c: Likewise.
47309         * elf/sprof.c: Likewise.
47310         * iconv/iconv_charmap.c: Likewise.
47311         * iconv/skeleton.c: Likewise.
47312         * iconv/strtab.c: Likewise.
47313         * io/lockf64.c: Likewise.
47314         * libio/libioP.h: Likewise.
47315         * resolv/gai_notify.c: Likewise.
47316         * resolv/ns_name.c: Likewise.
47317         * resolv/ns_samedomain.c: Likewise.
47318         * resolv/res_send.c: Likewise.
47319         * stdlib/random.c: Likewise.
47320         * sunrpc/rpc/xdr.h: Likewise.
47321         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47322         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47323         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47324         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47325         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47326         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47327         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47328         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47329         * sysdeps/mach/hurd/check_fds.c: Likewise.
47330         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47331         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47332         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47333         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47334         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47335         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47336         * sysdeps/pthread/aio_notify.c: Likewise.
47337         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47338         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47339         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47340         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47341         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47343 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47345         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47346         version if bit_Slow_SSE4_2 is set.
47347         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47348         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47350 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47352         [BZ #15867]
47353         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47354         trampoline stack frame information.
47355         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47356         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47357         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47358         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47359         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47360         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47361         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47362         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47363         sa_flags value.
47364         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47365         interrupting a syscall and set with option SA_SIGINFO.
47367 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47369         [BZ #15531]
47370         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47371         argument is infinite.
47372         * math/s_cprojf.c (__cprojf): Likewise.
47373         * math/s_cprojl.c (__cprojl): Likewise.
47374         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47375         * math/libm-test.inc (cproj_test_data): Add more tests.
47377         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47379         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47380         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47381         size.  Use __ffs to determine corresponding shift.
47383 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47384             Roland McGrath  <roland@hack.frob.com>
47386         * Makefile (INSTALL): Remove trailing blank lines from output of
47387         makeinfo.
47389 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47391         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47392         Align 32 bit compat elf_greg to 8 bytes.
47394 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47396         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47398 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47400         * string/strcoll_l.c (coll_seq): New structure.
47401         (get_next_seq_cached): New function.
47402         (get_next_seq): New function.
47403         (do_compare): New function.
47404         (STRCOLL): Use GNU style definition.  Simplify implementation
47405         by using get_next_seq, get_next_seq_cached and do_compare.
47407 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47409         [BZ #14699]
47410         CVE-2013-4237
47411         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47412         member.
47413         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47414         member.
47415         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47416         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47417         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47418         conditional.
47419         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47420         GETDENTS_64BIT_ALIGNED.
47421         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47422         * manual/filesys.texi (Reading/Closing Directory): Document
47423         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47424         strongly.
47425         * manual/conf.texi (Limits for Files): Add portability note to
47426         NAME_MAX, PATH_MAX.
47427         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47429 2013-08-13  Andreas Schwab  <schwab@suse.de>
47431         [BZ #15749]
47432         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47433         of fabs.
47434         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47435         LDBL_MAX_EXP >= 16384]: Add tests for it.
47437 2013-08-12  David S. Miller  <davem@davemloft.net>
47439         * version.h (RELEASE): Set to "development".
47440         (VERSION): Set to "2.18.90".
47441         * NEWS: Add 2.19 section.
47443 2013-08-03  David S. Miller  <davem@davemloft.net>
47445         * po/ko.po: Update Korean translation from translation project.
47447 2013-08-01  David S. Miller  <davem@davemloft.net>
47449         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47450         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47451         Bilka.
47453 2013-07-30  David S. Miller  <davem@davemloft.net>
47455         * po/fr.po: Update French translation from translation project.
47457 2013-07-28  David S. Miller  <davem@davemloft.net>
47459         * po/cs.po: Update Czech translation from translation project.
47461         * po/sv.po: Update Swedish translation from translation project.
47463 2013-07-27  David S. Miller  <davem@davemloft.net>
47465         * po/eo.po: Update Esperanto translation from translation project.
47467         * po/vi.po: Update Vietnamese translation from translation project.
47469         * po/de.po: Update German translation from translation project.
47471 2013-07-26  David S. Miller  <davem@davemloft.net>
47473         * po/bg.po: Update Bulgarian translation from translation project.
47475         * po/nl.po: Update Dutch translation from translation project.
47476         * po/pl.po: Update Polish translation from translation project.
47477         * po/ru.po: Update Russian translation from translation project.
47479 2013-07-24  David S. Miller  <davem@davemloft.net>
47481         * po/libc.pot: Update.
47483 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47485         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47486         variable page size.
47487         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47488         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47489         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47491 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47493         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47495 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47496             Andreas Schwab  <schwab@suse.de>
47497             Roland McGrath  <roland@hack.frob.com>
47498             Joseph Myers  <joseph@codesourcery.com>
47499             Carlos O'Donell  <carlos@redhat.com>
47501         [BZ #15755]
47502         * config.h.in: Define HAVE_PT_CHOWN.
47503         * config.make.in (build-pt-chown): New variable.
47504         * configure.in (--enable-pt_chown): New configure option.
47505         * configure: Regenerate.
47506         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47507         build-pt-chown is enabled.
47508         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47509         pt_chown to fix pty ownership.
47510         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47511         CLOSE_ALL_FDS.
47512         * manual/install.texi (Configuring and compiling): Mention
47513         --enable-pt_chown. Add @findex for grantpt.
47514         * INSTALL: Regenerate.
47516 2013-07-20  David S. Miller  <davem@davemloft.net>
47518         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47519         difference between 32-bit and 64-bit.
47521 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
47523         [BZ #15711]
47524         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47525         Avoid system header dependency with -ffreestanding.
47526         ($(objpfx)bits/syscall%d): Likewise.
47528 2013-07-13  David S. Miller  <davem@davemloft.net>
47530         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47531         underflows from atanl/atan2l due to bug 15319.
47532         (casinh_test_data): Likewise.
47534 2013-07-07  David S. Miller  <davem@davemloft.net>
47536         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47538 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47540         * sysdeps/i386/fpu/libm-test-ulps: Update.
47541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47543 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47545         * configure.in (--enable-lock-elision): Fix message text.
47546         * INSTALL: Regenerate.
47547         * configure: Regenerate.
47549 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47553 2013-07-03  Andreas Jaeger  <aj@suse.de>
47555         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47556         define.
47557         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47558         (ptrace_peeksiginfo_args): Add.
47559         (__ptrace_peeksiginfo_flags): Add.
47560         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47561         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47562         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47564 2013-07-03  Allan McRae  <allan@archlinux.org>
47566         * sysdeps/i386/fpu/libm-test-ulps: Update.
47568 2013-07-02  David S. Miller  <davem@davemloft.net>
47570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47572 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47574         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47576 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47578         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47581 2013-07-02  Andi Kleen <ak@linux.intel.com>
47583         * config.h.in (ENABLE_LOCK_ELISION): Add.
47584         * configure.in (--enable-lock-elision): Add option.
47585         * manual/install.texi: Document --enable lock elision.
47586         * configure: Regenerate
47587         * INSTALL: Regenerate.
47589 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47591         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47592         SSE4.2 strcasecmp for libc.a.
47593         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47595 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47597         [BZ #13304]
47598         * soft-fp/op-common.h (_FP_FMA): New macro.
47599         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47600         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
47601         (_FP_MUL_MEAT_1_imm): ... here.
47602         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
47603         (_FP_MUL_MEAT_1_wide): ... here.
47604         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
47605         (_FP_MUL_MEAT_1_hard): ... here.
47606         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47607         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
47608         (_FP_MUL_MEAT_2_wide): ... here.
47609         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47610         (_FP_MUL_MEAT_2_wide_3mul): ... here.
47611         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
47612         (_FP_MUL_MEAT_2_gmp): ... here.
47613         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47614         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
47615         (_FP_MUL_MEAT_4_wide): ... here.
47616         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
47617         (_FP_MUL_MEAT_4_gmp): ... here.
47618         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47619         (_FP_WFRACBITS_DW_S): Likewise.
47620         (_FP_WFRACXBITS_DW_S): Likewise.
47621         (_FP_HIGHBIT_DW_S): Likewise.
47622         (FP_FMA_S): Likewise.
47623         (_FP_FRAC_HIGH_DW_S): Likewise.
47624         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47625         (_FP_WFRACBITS_DW_D): Likewise.
47626         (_FP_WFRACXBITS_DW_D): Likewise.
47627         (_FP_HIGHBIT_DW_D): Likewise.
47628         (FP_FMA_D): Likewise.
47629         (_FP_FRAC_HIGH_DW_D): Likewise.
47630         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47631         (_FP_WFRACBITS_DW_E): Likewise.
47632         (_FP_WFRACXBITS_DW_E): Likewise.
47633         (_FP_HIGHBIT_DW_E): Likewise.
47634         (FP_FMA_E): Likewise.
47635         (_FP_FRAC_HIGH_DW_E): Likewise.
47636         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47637         (_FP_WFRACBITS_DW_Q): Likewise.
47638         (_FP_WFRACXBITS_DW_Q): Likewise.
47639         (_FP_HIGHBIT_DW_Q): Likewise.
47640         (FP_FMA_Q): Likewise.
47641         (_FP_FRAC_HIGH_DW_Q): Likewise.
47642         * soft-fp/fmasf4.c: New file.
47643         * soft-fp/fmadf4.c: Likewise.
47644         * soft-fp/fmatf4.c: Likewise.
47646 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47648         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47649         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47650         Silvermont.
47651         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47652         macro.
47653         (index_Slow_SSE4_2): Likewise.
47654         (index_Prefer_PMINUB_for_stringop): Likewise.
47655         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47656         bit_Slow_SSE4_2 is set.
47657         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47658         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47660 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47662         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47663         rtld_global._dl_hwcap2.
47664         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47665         POWER8.
47666         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47667         POWER8 feature descriptions defined in _dl_hwcap2.
47668         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47669         string handling for POWER8 feature bits.
47670         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47671         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47672         _dl_powerpc_cap_flags.
47673         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47674         * sysdeps/powerpc/rtld-global-offsets.sym
47675         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47676         _dl_hwcap2 in the rtld_global_ro structure.
47678 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47680         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47681         hardware capabilities in support of AT_HWCAP2.
47682         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47683         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47684         GLRO(dl_hwcap2).
47685         (_dl_show_auxv): Add support for calling _dl_procinfo to display
47686         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
47687         explicitly the unknown a_type display mechanism is used.
47688         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47689         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47690         struct member.
47691         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47692         to macro prototype for AT_HWCAP2 support.
47693         * sysdeps/i386/dl-procinfo.h: Likewise.
47694         * sysdeps/s390/dl-procinfo.h: Likewise.
47695         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47696         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
47697         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
47698         return -1 for unknown a_type display fallback.
47699         * sysdeps/sparc/dl-procinfo.h: Likewise.
47700         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47701         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47703 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
47705         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47706         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47708 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
47710         [BZ #12492]
47711         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47712         mprotect making __stack_prot writable.
47714 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
47715             Joseph Myers  <joseph@codesourcery.com>
47717         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47718         as being properly aligned.
47720 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
47722         * dlfcn/modstatic5.c: New file.
47723         * dlfcn/tststatic5.c: New file.
47724         * dlfcn/Makefile (tests): Add tststatic5.
47725         (tests-static): Likewise.
47726         (modules-names): Add modstatic5.
47727         (tststatic5-ENV): New variable.
47728         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47730         [BZ #15022]
47731         * elf/dl-support.c (_dl_main_map): New variable.
47732         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47733         (_dl_nns, _dl_load_adds): Set to 1.
47734         (_dl_initial_searchlist): Refer to _dl_main_map.
47735         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47736         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47737         call to _dl_get_origin.
47738         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47739         around call_map.
47740         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47741         * dlfcn/modstatic3.c: New file.
47742         * dlfcn/tststatic3.c: New file.
47743         * dlfcn/tststatic4.c: New file.
47744         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47745         (tests-static): Likewise.
47746         (modules-names): Add modstatic3.
47747         (tststatic3-ENV, tststatic4-ENV): New variables.
47748         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47749         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47751 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
47753         * configure.in (CC): Require GCC version 4.4 or later.
47754         * configure: Regenerated.
47755         * manual/install.texi (Tools for Compilation): Update GCC version
47756         requirement.
47757         * INSTALL: Regenerated.
47759 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47761         [BZ #15674]
47762         * string/test-memcmp.c (check2): New.
47763         (main): Call check2.
47765         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47767 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
47769         [BZ #15022]
47770         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47771         over to...
47772         (dl_open_worker) [!SHARED]: ... here.
47774 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47776         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47778 2013-06-25  Richard Henderson  <rth@redhat.com>
47780         * locale/programs/locarchive.c: Include <libc-internal.h>
47782 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
47784         * manual/texinfo.tex: Update to version 2013-06-21.17, with
47785         trailing whitespace removed.
47787 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47789         [BZ #10283]
47790         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47791         * locale/programs/locarchive.c: Include libc-mmap.h.
47792         (prepare_address_space): Take two new outputs (the mmap base and len).
47793         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
47794         values.
47795         (create_archive): Declare new mmap base and len values for
47796         prepare_address_space, and store the result in ah.
47797         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47798         (enlarge_archive): If ah->mmap_base is not NULL, use that and
47799         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47800         Declare new mmap base and len values for
47801         prepare_address_space, and store the result in new_ah.
47802         (open_archive): Declare new mmap base and len values for
47803         prepare_address_space, and store the result in ah.
47804         (close_archive): If ah->mmap_base is not NULL, use that and
47805         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47806         * sysdeps/generic/libc-mmap.h: New file.
47808 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47810         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
47811         (ALIGN_UP): Likewise.
47812         (PTR_ALIGN_DOWN): Likewise.
47813         (PTR_ALIGN_UP): Likewise.
47815 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47817         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47818         entry mapped to PPC_PLATFORM_POWER8.
47819         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47820         POWER8.
47821         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47822         (_dl_string_platform): Add case for exporting platform position for
47823         POWER8.
47824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47825         search path to sysdeps/powerpc/powerpc32/power8 directory.
47826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47827         search path to sysdeps/powerpc/powerpc64/power8 directory.
47828         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47829         power7 directories.
47830         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47831         power7 directories.
47833 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47835         * INSTALL: Regenerate.
47837         * nscd/connections.c (nscd_init): Fix comment.
47839 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
47841         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47843         [BZ #15667]
47844         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47845         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47847 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47849         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47850         DL_DST_REQ_STATIC.
47851         (DL_DST_REQ_STATIC): Remove macro.
47853 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
47855         [BZ #7006]
47856         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47857         with a shift of 0 bits.
47859 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47861         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47862         $(tststatic-ENV).
47864 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47866         [BZ #15655]
47867         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47869 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47871         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47872         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47873         accepts -fno-tree-loop-distribute-patterns.
47874         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47875         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47876         recursive call.
47877         * string/memset.c (memset): Likewise.
47878         * string/test-memmove.c (simple_memmove): Disable loop transformation
47879         to library calls.
47880         * string/test-memset.c (simple_memset): Likewise.
47881         * benchtests/bench-memmove.c (simple_memmove): Likewise.
47882         * benchtests/bench-memset.c (simple_memset): Likewise.
47883         * configure: Regenerated.
47885 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
47887         * math/test-misc.c (main): Ignore fesetround failure when failures
47888         of subsequent rounding tests would be ignored.
47890         [BZ #15654]
47891         * math/fedisblxcpt.c (fedisableexcept): Return 0.
47892         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47893         * math/fegetenv.c (__fegetenv): Return 0.
47894         * math/fegetexcept.c (fegetexcept): Return 0.
47895         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47896         FE_TONEAREST.
47897         * math/feholdexcpt.c (feholdexcept): Return 0.
47898         * math/fesetenv.c (__fesetenv): Return 0.
47899         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47900         argument FE_TONEAREST.
47901         * math/feupdateenv.c (__feupdateenv): Return 0.
47902         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47904 2013-06-18  Roland McGrath  <roland@hack.frob.com>
47906         * elf/rtld-Rules (rtld-compile-command.S): New variable.
47907         (rtld-compile-command.s, rtld-compile-command.c): New variables.
47908         ($(objpfx)rtld-%.os rules): Use them.
47910 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47912         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47913         fields.
47915 2013-06-17  Roland McGrath  <roland@hack.frob.com>
47917         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47918         length of target pattern, then descending length of dependency pattern.
47919         * configure.in (AWK): Require gawk 3.1.2 or newer.
47920         * manual/install.texi (Tools for Compilation): Say that we do.
47921         * configure: Regenerated.
47923         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47924         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47925         * scripts/sysd-rules.awk: ... this new script.
47926         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47927         than a glob-style pattern.
47929 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
47931         * math/test-misc.c (main): Do not treat incorrectly rounded
47932         conversions as failure unless ROUNDING_TESTS passes.
47934 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
47936         [BZ #15631]
47937         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47938         restore exception state around main square root computation, then
47939         check for inexactness explicitly.
47941         * math/libm-test.inc (fma_test_data): Add another test.
47943 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47945         * manual/threads.texi (Non-POSIX Extensions): New document
47946         node.  Document pthread_getattr_default_np and
47947         pthread_setattr_default_np.
47949         * Versions.def (libpthread): Add GLIBC_2.18.
47950         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47952         Likewise.
47953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47954         Likewise.
47955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47956         Likewise.
47957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47958         Likewise.
47959         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47960         Likewise.
47961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47962         Likewise.
47963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47964         Likewise.
47965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47966         Likewise.
47967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47968         Likewise.
47970 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47973         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47975 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47976             H.J. Lu  <hjl.tools@gmail.com>
47978         [BZ #15627]
47979         * sysdeps/x86_64/rtld-memset.c: Remove file.
47980         * sysdeps/x86_64/rtld-memset.S: New file.
47982 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
47984         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47985         (test_in_one_mode): Take arguments for whether the rounding mode
47986         is supported for each floating-point type.
47987         (do_test): Pass new arguments to test_in_one_mode using
47988         ROUNDING_TESTS.
47990 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47992         * posix/tst-waitid.c (do_test): Distinguish different instances of
47993         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
47994         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
47995         before entering the kernel for waitpid.
47997 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47999         * NEWS: Fix note on clock function precision.  Text by Roland
48000         McGrath.
48002 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48004         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48005         it into place only when and if the sanity check passes.
48007 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48009         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48010         output for whether conversion result is exact.  Take argument
48011         indicating whether type is IBM long double.
48012         (round_for_all): Change need_exact field to ibm_ld.
48013         * stdlib/tst-strtod-round.c (struct exactness): New type.
48014         (struct test): Change bool ld_ok field to struct exactness exact.
48015         (TEST): Update all definitions for change to field.
48016         (tests): Regenerate array contents.
48017         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48018         field value.  Check for IBM long double here.
48019         (do_test): Update calls to test_in_one_mode.
48021 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48023         [BZ #12515]
48024         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48025         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48027 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48029         [BZ #15605]
48030         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48031         generated by the compiler on loop optimizations.
48032         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48033         general definitions.
48035 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48037         * math/bug-nextafter.c: Include <math-tests.h>.
48038         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48039         the relevant type.
48040         * math/bug-nexttoward.c: Include <math-tests.h>.
48041         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48042         the relevant type.
48043         * math/test-misc.c: Include <math-tests.h>.
48044         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48045         the relevant type.
48047 2013-06-12  Andreas Jaeger  <aj@suse.de>
48049         * po/ia.po: Update Interlingua translation from translation
48050         project.
48052 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48054         * include/fenv.h: Include stdbool.h.
48055         (struct rm_ctx): New structure.
48056         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48057         Define macro.
48058         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48059         (SET_RESTORE_ROUNDF): Likewise.
48060         (SET_RESTORE_ROUNDL): Likewise.
48061         (SET_RESTORE_ROUND_NOEX): Likewise.
48062         (SET_RESTORE_ROUND_NOEXF): Likewise.
48063         (SET_RESTORE_ROUND_NOEXL): Likewise.
48064         (SET_RESTORE_ROUND_53BIT): Likewise.
48065         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48066         (libc_feresetround_noexf_ctx): Likewise.
48067         (libc_feresetround_noexl_ctx): Likewise.
48068         (libc_feholdsetround_53bit_ctx): Likewise.
48069         (libc_feresetround_53bit_ctx): Likewise.
48070         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48071         (libc_feholdexcept_setround_sse_ctx): New function.
48072         (libc_fesetenv_sse_ctx): Likewise.
48073         (libc_feupdateenv_sse_ctx): Likewise.
48074         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48075         (libc_feholdexcept_setround_387_ctx): Likewise.
48076         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48077         (libc_feholdsetround_387_prec_ctx): Likewise.
48078         (libc_feholdsetround_387_ctx): Likewise.
48079         (libc_feholdsetround_387_53bit_ctx): Likewise.
48080         (libc_feholdsetround_sse_ctx): Likewise.
48081         (libc_feresetround_sse_ctx): Likewise.
48082         (libc_feresetround_387_ctx): Likewise.
48083         (libc_feupdateenv_387_ctx): Likewise.
48084         (libc_feholdexcept_setroundf_ctx): Define macro.
48085         (libc_fesetenvf_ctx): Likewise.
48086         (libc_feupdateenvf_ctx): Likewise.
48087         (libc_feholdsetroundf_ctx): Likewise.
48088         (libc_feresetroundf_ctx): Likewise.
48089         (libc_feholdexcept_setround_ctx): Likewise.
48090         (libc_fesetenv_ctx): Likewise.
48091         (libc_feupdateenv_ctx): Likewise.
48092         (libc_feholdsetround_ctx): Likewise.
48093         (libc_feresetround_ctx): Likewise.
48094         (libc_feholdexcept_setroundl_ctx): Likewise.
48095         (libc_feupdateenvl_ctx): Likewise.
48096         (libc_feholdsetroundl_ctx): Likewise.
48097         (libc_feresetroundl_ctx): Likewise.
48098         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48099         (libc_feresetround_53bit_ctx): Likewise.
48101 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48103         * locale/iso-639.def: Convert to UTF-8.
48105 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48107         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48108         (EXCEPTION_TESTS_double): Likewise.
48109         (EXCEPTION_TESTS_long_double): Likewise.
48110         (EXCEPTION_TESTS): Likewise.
48111         * math/libm-test.inc (test_exceptions): Only test exceptions if
48112         EXCEPTION_TESTS (FLOAT).
48114 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48116         * benchtests/Makefile (string-bench): Add strcpy_chk and
48117         stpcpy_chk.
48118         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48119         * benchtests/bench-stpcpy_chk.c: New file.
48120         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48121         * benchtests/bench-strcpy_chk.c: New file.
48122         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48123         code.
48124         (do_test): Likewise.
48126 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48128         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48129         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48130         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48131         with tabs where appropriate.
48132         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48133         dl-procinfo.h.
48134         [PPC_PLATFORM_PPC440]: Likewise.
48135         [PPC_PLATFORM_PPC464]: Likewise.
48136         [PPC_PLATFORM_PPC476]: Likewise.
48137         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48138         ppc464, and ppc476 platform strings merging from ports/
48139         dl-procinfo.h.
48141 2013-06-11  Andreas Schwab  <schwab@suse.de>
48143         [BZ #14991]
48144         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48145         (from_ucs4_idx): Regenerate.
48146         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48147         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48148         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48149         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48150         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48151         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48152         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48153         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48154         from FROM_LOOP and TO_LOOP specific macros.
48155         (BODY): Handle combining characters.
48156         * iconvdata/BIG5HKSCS.irreversible: Update.
48157         * iconvdata/BIG5HKSCS.precomposed: New file.
48158         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48159         characters.
48160         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48162 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48164         * include/sys/time.h: Fix indentation and add copyright header.
48166         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48167         (do_test): Likewise.
48168         * string/test-memchr.c (do_one_test): Likewise.
48169         (do_test): Likewise.
48170         * string/test-memcmp.c (do_one_test): Likewise.
48171         (do_test): Likewise.
48172         * string/test-memcpy.c (do_one_test): Likewise.
48173         (do_test): Likewise.
48174         * string/test-memmem.c (do_one_test): Likewise.
48175         (do_test): Likewise.
48176         (do_random_tests): Likewise.
48177         * string/test-memmove.c (do_one_test): Likewise.
48178         (do_test): Likewise.
48179         * string/test-memset.c (do_one_test): Likewise.
48180         (do_test): Likewise.
48181         * string/test-rawmemchr.c (do_one_test): Likewise.
48182         (do_test): Likewise.
48183         * string/test-strcasecmp.c (do_one_test): Likewise.
48184         (do_test): Likewise.
48185         * string/test-strcasestr.c (do_one_test): Likewise.
48186         (do_test): Likewise.
48187         * string/test-strcat.c (do_one_test): Likewise.
48188         (do_test): Likewise.
48189         * string/test-strchr.c (do_one_test): Likewise.
48190         (do_test): Likewise.
48191         * string/test-strcmp.c (do_one_test): Likewise.
48192         (do_test): Likewise.
48193         * string/test-strcpy.c (do_one_test): Likewise.
48194         (do_test): Likewise.
48195         * string/test-string.h: Likewise.
48196         (test_init): Likewise.
48197         * string/test-strlen.c (do_one_test): Likewise.
48198         (do_test): Likewise.
48199         * string/test-strncasecmp.c (do_one_test): Likewise.
48200         (do_test): Likewise.
48201         * string/test-strncat.c (do_one_test): Likewise.
48202         (do_test): Likewise.
48203         * string/test-strncmp.c (do_one_test): Likewise.
48204         (do_test_limit): Likewise.
48205         (do_test): Likewise.
48206         * string/test-strncpy.c (do_one_test): Likewise.
48207         (do_test): Likewise.
48208         * string/test-strnlen.c (do_one_test): Likewise.
48209         (do_test): Likewise.
48210         * string/test-strpbrk.c (do_one_test): Likewise.
48211         (do_test): Likewise.
48212         * string/test-strrchr.c (do_one_test): Likewise.
48213         (do_test): Likewise.
48214         * string/test-strspn.c (do_one_test): Likewise.
48215         (do_test): Likewise.
48216         * string/test-strstr.c (do_one_test): Likewise.
48217         (do_test): Likewise.
48219         * benchtests/Makefile (string-bench): Add string benchmarks.
48220         * benchtests/bench-bcopy-ifunc.c: New file.
48221         * benchtests/bench-bcopy.c: New file.
48222         * benchtests/bench-bzero-ifunc.c: New file.
48223         * benchtests/bench-bzero.c: New file.
48224         * benchtests/bench-memccpy-ifunc.c: New file.
48225         * benchtests/bench-memccpy.c: New file.
48226         * benchtests/bench-memchr-ifunc.c: New file.
48227         * benchtests/bench-memchr.c: New file.
48228         * benchtests/bench-memcmp-ifunc.c: New file.
48229         * benchtests/bench-memcmp.c: New file.
48230         * benchtests/bench-memmem-ifunc.c: New file.
48231         * benchtests/bench-memmem.c: New file.
48232         * benchtests/bench-memmove-ifunc.c: New file.
48233         * benchtests/bench-memmove.c: New file.
48234         * benchtests/bench-mempcpy-ifunc.c: New file.
48235         * benchtests/bench-mempcpy.c: New file.
48236         * benchtests/bench-memset-ifunc.c: New file.
48237         * benchtests/bench-memset.c: New file.
48238         * benchtests/bench-rawmemchr-ifunc.c: New file.
48239         * benchtests/bench-rawmemchr.c: New file.
48240         * benchtests/bench-stpcpy-ifunc.c: New file.
48241         * benchtests/bench-stpcpy.c: New file.
48242         * benchtests/bench-stpncpy-ifunc.c: New file.
48243         * benchtests/bench-stpncpy.c: New file.
48244         * benchtests/bench-strcasecmp-ifunc.c: New file.
48245         * benchtests/bench-strcasecmp.c: New file.
48246         * benchtests/bench-strcasestr-ifunc.c: New file.
48247         * benchtests/bench-strcasestr.c: New file.
48248         * benchtests/bench-strcat-ifunc.c: New file.
48249         * benchtests/bench-strcat.c: New file.
48250         * benchtests/bench-strchr-ifunc.c: New file.
48251         * benchtests/bench-strchr.c: New file.
48252         * benchtests/bench-strchrnul-ifunc.c: New file.
48253         * benchtests/bench-strchrnul.c: New file.
48254         * benchtests/bench-strcmp-ifunc.c: New file.
48255         * benchtests/bench-strcmp.c: New file.
48256         * benchtests/bench-strcpy-ifunc.c: New file.
48257         * benchtests/bench-strcpy.c: New file.
48258         * benchtests/bench-strcspn-ifunc.c: New file.
48259         * benchtests/bench-strcspn.c: New file.
48260         * benchtests/bench-strlen-ifunc.c: New file.
48261         * benchtests/bench-strlen.c: New file.
48262         * benchtests/bench-strncasecmp-ifunc.c: New file.
48263         * benchtests/bench-strncasecmp.c: New file.
48264         * benchtests/bench-strncat-ifunc.c: New file.
48265         * benchtests/bench-strncat.c: New file.
48266         * benchtests/bench-strncmp-ifunc.c: New file.
48267         * benchtests/bench-strncmp.c: New file.
48268         * benchtests/bench-strncpy-ifunc.c: New file.
48269         * benchtests/bench-strncpy.c: New file.
48270         * benchtests/bench-strnlen-ifunc.c: New file.
48271         * benchtests/bench-strnlen.c: New file.
48272         * benchtests/bench-strpbrk-ifunc.c: New file.
48273         * benchtests/bench-strpbrk.c: New file.
48274         * benchtests/bench-strrchr-ifunc.c: New file.
48275         * benchtests/bench-strrchr.c: New file.
48276         * benchtests/bench-strspn-ifunc.c: New file.
48277         * benchtests/bench-strspn.c: New file.
48278         * benchtests/bench-strstr-ifunc.c: New file.
48279         * benchtests/bench-strstr.c: New file.
48281         * benchtests/Makefile: Disable parallel execution of targets.
48282         (string-bench): Add memcpy.
48283         (benchset): New variable to store a list of benchmark sets.
48284         (bench-func): Renamed from bench.
48285         (bench-set): New target.
48286         (bench): Depend on bench-func and bench-set.
48287         * benchtests/README: Add section on benchmark sets.
48288         * benchtests/bench-memcpy-ifunc.c: New file.
48289         * benchtests/bench-memcpy.c: New file.
48290         * benchtests/bench-string.h: New file.
48292 2013-06-11  Andreas Schwab  <schwab@suse.de>
48294         [BZ #15577]
48295         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48296         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48297         values in the triple.
48298         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48299         terminator in the group key.
48301 2013-06-11  Andreas Jaeger  <aj@suse.de>
48303         * po/zh_TW.po: Update Chinese (traditional) translation from
48304         translation project.
48306 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48308         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48309         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48310         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48311         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48312         (clock_getcpuclockid): Likewise.
48313         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48314         Add weak_alias and libc_hidden_def.
48315         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48316         * rt/clock_gettime.c (clock_gettime): Rename to
48317         __clock_gettime.  Add weak_alias and libc_hidden_def.
48318         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48319         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48320         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48321         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48322         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48323         Likewise.
48324         * rt/clock_settime.c (clock_settime): Rename to
48325         __clock_settime.  Add weak_alias and libc_hidden_def.
48326         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48328 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48330         * mach/err_boot.sub: Remove trailing whitespace.
48331         * mach/err_ipc.sub: Likewise.
48332         * mach/err_mach.sub: Likewise.
48334         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48335         (ROUNDING_TESTS_double): Likewise.
48336         (ROUNDING_TESTS_long_double): Likewise.
48337         (ROUNDING_TESTS): Likewise.
48338         * math/libm-test.inc: Include <math-tests.h>.
48339         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48340         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48341         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48342         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48344 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48346         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48347         of assigning.
48349 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48351         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48352         otherwise empty TRANS lines.
48353         * sysdeps/gnu/errlist.c: Regenerated.
48355         * catgets/gencat.c (error_print): Use (void) in function
48356         definition.
48357         * crypt/crypt_util.c (__init_des): Likewise.
48358         * crypt/speeds.c (Stop): Likewise.
48359         (main): Likewise.
48360         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48361         * inet/ruserpass.c (token): Likewise.
48362         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48363         * intl/localealias.c (extend_alias_table): Likewise.
48364         * intl/plural-exp.c (init_germanic_plural): Likewise.
48365         * libio/fcloseall.c (__fcloseall): Likewise.
48366         * libio/genops.c (_IO_flush_all): Likewise.
48367         (_IO_flush_all_linebuffered): Likewise.
48368         (_IO_cleanup): Likewise.
48369         (_IO_iter_begin): Likewise.
48370         (_IO_iter_end): Likewise.
48371         (_IO_list_lock): Likewise.
48372         (_IO_list_unlock): Likewise.
48373         (_IO_list_resetlock): Likewise.
48374         * libio/getchar.c (getchar): Likewise.
48375         * libio/getchar_u.c (getchar_unlocked): Likewise.
48376         * libio/getwchar.c (getwchar): Likewise.
48377         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48378         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48379         * login/getpt.c (__getpt): Likewise.
48380         * login/tst-utmp.c (main): Likewise.
48381         * malloc/hooks.c (__malloc_check_init): Likewise.
48382         * malloc/malloc.c (__malloc_stats): Likewise.
48383         * malloc/mtrace.c (tr_break): Likewise.
48384         (mtrace): Likewise.
48385         (muntrace): Likewise.
48386         * misc/fstab.c (endfsent): Likewise.
48387         * misc/getclktck.c (__getclktck): Likewise.
48388         * misc/getdtsz.c (__getdtablesize): Likewise.
48389         * misc/gethostid.c (gethostid): Likewise.
48390         * misc/getpagesize.c (__getpagesize): Likewise.
48391         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48392         (__get_nprocs): Likewise.
48393         (__get_phys_pages): Likewise.
48394         (__get_avphys_pages): Likewise.
48395         * misc/getttyent.c (getttyent): Likewise.
48396         (setttyent): Likewise.
48397         (endttyent): Likewise.
48398         * misc/getusershell.c (getusershell): Likewise.
48399         (endusershell): Likewise.
48400         (setusershell): Likewise.
48401         (initshells): Likewise.
48402         * misc/hsearch.c (__hdestroy): Likewise.
48403         * misc/sync.c (sync): Likewise.
48404         * misc/syslog.c (closelog_internal): Likewise.
48405         (closelog): Likewise.
48406         * misc/ttyslot.c (ttyslot): Likewise.
48407         * misc/vhangup.c (vhangup): Likewise.
48408         * posix/fork.c (__fork): Likewise.
48409         * posix/getegid.c (__getegid): Likewise.
48410         * posix/geteuid.c (__geteuid): Likewise.
48411         * posix/getgid.c (__getgid): Likewise.
48412         * posix/getpid.c (__getpid): Likewise.
48413         * posix/getppid.c (__getppid): Likewise.
48414         * posix/getuid.c (__getuid): Likewise.
48415         * posix/pause.c (pause): Likewise.
48416         * posix/setpgrp.c (setpgrp): Likewise.
48417         * posix/setsid.c (__setsid): Likewise.
48418         * posix/test-vfork.c (noop): Likewise.
48419         * resolv/gethnamaddr.c (_endhtent): Likewise.
48420         (_gethtent): Likewise.
48421         (ht_endhostent): Likewise.
48422         (gethostent): Likewise.
48423         (dns_service): Likewise.
48424         * stdlib/drand48.c (drand48): Likewise.
48425         * stdlib/lrand48.c (lrand48): Likewise.
48426         * stdlib/mrand48.c (mrand48): Likewise.
48427         * stdlib/rand.c (rand): Likewise.
48428         * stdlib/random.c (__random): Likewise.
48429         * stdlib/setenv.c (clearenv): Likewise.
48430         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48431         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48432         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48433         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48434         (__get_nprocs): Likewise.
48435         (__get_phys_pages): Likewise.
48436         (__get_avphys_pages): Likewise.
48437         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48438         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48439         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48440         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48441         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48442         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48443         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48444         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48445         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48446         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48447         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48448         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48449         * sysdeps/posix/clock.c (clock): Likewise.
48450         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48451         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48452         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48453         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48454         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48455         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48456         (__get_nprocs_conf): Likewise.
48457         (__get_phys_pages): Likewise.
48458         (__get_avphys_pages): Likewise.
48459         * time/clock.c (clock): Likewise.
48460         * time/tzset.c (__tzname_max): Likewise.
48462 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48464         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48465         (__bswap_32): Do not use "register".
48466         * crypt/crypt.c (_ufc_doit_r): Likewise.
48467         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48468         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48469         * gmon/gmon.c (__monstartup): Likewise.
48470         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48471         * hurd/hurdmalloc.c (more_memory): Likewise.
48472         (malloc): Likewise.
48473         (free): Likewise.
48474         (realloc): Likewise.
48475         (malloc_fork_prepare): Likewise.
48476         (malloc_fork_parent): Likewise.
48477         (malloc_fork_child): Likewise.
48478         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48479         (_svcauth_des): Likewise.
48480         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48481         * inet/inet_net.c (inet_network): Likewise.
48482         * inet/inet_netof.c (inet_netof): Likewise.
48483         * inet/rcmd.c (__validuser2_sa): Likewise.
48484         * io/fts.c (fts_open): Likewise.
48485         (fts_load): Likewise.
48486         (fts_close): Likewise.
48487         (fts_read): Likewise.
48488         (fts_children): Likewise.
48489         (fts_build): Likewise.
48490         (fts_stat): Likewise.
48491         (fts_sort): Likewise.
48492         (fts_alloc): Likewise.
48493         (fts_lfree): Likewise.
48494         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48495         (_IO_file_xsgetn): Likewise.
48496         (_IO_file_xsgetn_mmap): Likewise.
48497         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48498         (_IO_cookie_write): Likewise.
48499         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48500         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48501         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48502         * malloc/obstack.c (_obstack_begin): Likewise.
48503         (_obstack_begin_1): Likewise.
48504         (_obstack_newchunk): Likewise.
48505         (_obstack_allocated_p): Likewise.
48506         (obstack_free): Likewise.
48507         (_obstack_memory_used): Likewise.
48508         * misc/getttyent.c (getttynam): Likewise.
48509         (getttyent): Likewise.
48510         (skip): Likewise.
48511         (value): Likewise.
48512         * misc/getusershell.c (initshells): Likewise.
48513         * misc/syslog.c (__vsyslog_chk): Likewise.
48514         * misc/ttyslot.c (ttyslot): Likewise.
48515         * nis/nis_hash.c (__nis_hash): Likewise.
48516         * posix/fnmatch_loop.c (FCT): Likewise.
48517         * posix/getconf.c (print_all): Likewise.
48518         (main): Likewise.
48519         * posix/getopt.c (exchange): Likewise.
48520         * posix/glob.c (globfree): Likewise.
48521         (prefix_array): Likewise.
48522         (__glob_pattern_type): Likewise.
48523         * resolv/arpa/nameser.h (NS_GET16): Likewise.
48524         (NS_GET32): Likewise.
48525         (NS_PUT16): Likewise.
48526         (NS_PUT32): Likewise.
48527         * resolv/gethnamaddr.c (getanswer): Likewise.
48528         (gethostbyname2): Likewise.
48529         (gethostbyaddr): Likewise.
48530         (_gethtent): Likewise.
48531         (_gethtbyname2): Likewise.
48532         (_gethtbyaddr): Likewise.
48533         * resolv/ns_print.c (dst_s_get_int16): Likewise.
48534         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48535         * resolv/res_init.c (__res_vinit): Likewise.
48536         (net_mask): Likewise.
48537         * resolv/res_mkquery.c (outchar): Likewise.
48538         (PRINT): Likewise.
48539         * stdio-common/printf_fp.c (outchar): Likewise.
48540         (PRINT): Likewise.
48541         * stdio-common/printf_fphex.c (outchar): Likewise.
48542         (PRINT): Likewise.
48543         * stdio-common/printf_size.c (outchar): Likewise.
48544         (PRINT): Likewise.
48545         * stdio-common/test_rdwr.c (main): Likewise.
48546         * stdio-common/tfformat.c (matches): Likewise.
48547         * stdio-common/vfprintf.c (outchar): Likewise.
48548         (printf_unknown): Likewise.
48549         (buffered_vfprintf): Likewise.
48550         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48551         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48552         (ReadFile): Likewise.
48553         * stdlib/qsort.c (SWAP): Likewise.
48554         (_quicksort): Likewise.
48555         * stdlib/setenv.c (__add_to_environ): Likewise.
48556         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48557         * stdlib/strtol_l.c (__strtol_l): Likewise.
48558         * stdlib/tst-strtod.c (main): Likewise.
48559         * stdlib/tst-strtol.c (main): Likewise.
48560         * stdlib/tst-strtoll.c (main): Likewise.
48561         * string/bits/string2.h (__strcmp_cc): Likewise.
48562         (__strcmp_cg): Likewise.
48563         (__strcspn_c1): Likewise.
48564         (__strcspn_c2): Likewise.
48565         (__strcspn_c3): Likewise.
48566         (__strspn_c1): Likewise.
48567         (__strspn_c2): Likewise.
48568         (__strspn_c3): Likewise.
48569         (__strsep_1c): Likewise.
48570         (__strsep_2c): Likewise.
48571         (__strsep_3c): Likewise.
48572         * string/memccpy.c (__memccpy): Likewise.
48573         * string/stpcpy.c (__stpcpy): Likewise.
48574         * string/strcmp.c (strcmp): Likewise.
48575         * string/strrchr.c (strrchr): Likewise.
48576         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48577         Likewise.
48578         * sysdeps/mach/hurd/getcwd.c
48579         (_hurd_canonicalize_directory_name_internal): Likewise.
48580         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48581         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48582         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48583         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48584         Likewise, in both definitions.
48585         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48586         definitions.
48587         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48588         64] (__bswap_64): Likewise.
48589         * time/test_time.c (main): Likewise.
48590         * time/tzfile.c (__tzfile_read): Likewise.
48591         (__tzfile_compute): Likewise.
48592         * time/tzset.c (__tzset_parse_tz): Likewise.
48593         (tzset_internal): Likewise.
48594         (compute_change): Likewise.
48595         * wcsmbs/wcscat.c (__wcscat): Likewise.
48596         * wcsmbs/wcschr.c (wcschr): Likewise.
48597         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48598         * wcsmbs/wcscspn.c (wcscspn): Likewise.
48599         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48600         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48601         * wcsmbs/wcsspn.c (wcsspn): Likewise.
48602         * wcsmbs/wcsstr.c (wcsstr): Likewise.
48603         * wcsmbs/wmemchr.c (wmemchr): Likewise.
48604         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48605         * wcsmbs/wmemset.c (wmemset): Likewise.
48607 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
48609         * scripts/config.guess: Update to version 2013-05-16.
48610         * scripts/config.sub: Update to version 2013-04-24.
48611         * scripts/install-sh: Update to version 2011-11-20.07.
48612         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48613         * scripts/move-if-change: Update to version 2012-01-06 07:23.
48615 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
48617         * debug/fgetws_u_chk.c: Fix leading whitespaces.
48618         * elf/sln.c: Likewise.
48619         * hurd/hurd/ioctl.h: Likewise.
48620         * hurd/hurdmalloc.c: Likewise.
48621         * hurd/xattr.c: Likewise.
48622         * include/shlib-compat.h: Likewise.
48623         * inet/ruserpass.c: Likewise.
48624         * libio/iofgets_u.c: Likewise.
48625         * libio/iofgetws_u.c: Likewise.
48626         * locale/programs/ld-identification.c: Likewise.
48627         * locale/programs/ld-time.c: Likewise.
48628         * mach/msg-destroy.c: Likewise.
48629         * nss/nss_files/files-netgrp.c: Likewise.
48630         * resolv/res_data.c: Likewise.
48631         * soft-fp/op-1.h: Likewise.
48632         * soft-fp/op-2.h: Likewise.
48633         * soft-fp/op-4.h: Likewise.
48634         * soft-fp/op-common.h: Likewise.
48635         * stdio-common/printf_fphex.c: Likewise.
48636         * stdlib/strtod_l.c: Likewise.
48637         * sunrpc/rpc/clnt.h: Likewise.
48638         * sysdeps/generic/framestate.c: Likewise.
48639         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48640         * sysdeps/i386/bsd-setjmp.S: Likewise.
48641         * sysdeps/i386/__longjmp.S: Likewise.
48642         * sysdeps/i386/setjmp.S: Likewise.
48643         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48644         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48645         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48646         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48647         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48648         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48649         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48650         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48651         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48652         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48653         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48654         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48655         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48656         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48657         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48658         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48659         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48660         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48661         * sysdeps/ieee754/support.c: Likewise.
48662         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48663         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48664         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48665         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48666         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48667         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48668         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48669         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48670         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48671         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48672         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48673         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48674         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48675         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48676         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48677         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48678         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48681 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
48683         * posix/transbug.c: Remove executable mode.
48685 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
48687         * crypt/speeds.c: Remove trailing whitespace.
48688         * dlfcn/default.c: Likewise.
48689         * elf/ifuncdep2.c: Likewise.
48690         * elf/ifuncmain1.c: Likewise.
48691         * elf/ifuncmain1vis.c: Likewise.
48692         * elf/testobj.h: Likewise.
48693         * elf/tst-stackguard1.c: Likewise.
48694         * gmon/sys/gmon.h: Likewise.
48695         * hurd/hurdmsg.c: Likewise.
48696         * hurd/new-fd.c: Likewise.
48697         * hurd/ports-get.c: Likewise.
48698         * iconvdata/ibm1008_420.c: Likewise.
48699         * inet/tst-getni1.c: Likewise.
48700         * inet/tst-getni2.c: Likewise.
48701         * libio/ioungetc.c: Likewise.
48702         * libio/wfiledoalloc.c: Likewise.
48703         * manual/libm-err-tab.pl: Likewise.
48704         * math/w_dremf.c: Likewise.
48705         * misc/ftruncate.c: Likewise.
48706         * posix/bug-glob2.c: Likewise.
48707         * posix/tst-pcre.c: Likewise.
48708         * posix/wait4.c: Likewise.
48709         * resolv/README: Likewise.
48710         * resolv/res_debug.h: Likewise.
48711         * resolv/tst-inet_ntop.c: Likewise.
48712         * setjmp/bug269-setjmp.c: Likewise.
48713         * soft-fp/extended.h: Likewise.
48714         * soft-fp/op-1.h: Likewise.
48715         * soft-fp/op-2.h: Likewise.
48716         * soft-fp/op-4.h: Likewise.
48717         * soft-fp/op-8.h: Likewise.
48718         * soft-fp/testit.c: Likewise.
48719         * stdio-common/bug16.c: Likewise.
48720         * stdlib/random.c: Likewise.
48721         * sunrpc/rpcsvc/rquota.x: Likewise.
48722         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48723         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48724         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48725         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48726         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48727         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48728         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48729         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48730         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48731         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48732         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48733         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48734         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48735         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48736         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48737         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48738         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48739         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48740         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48741         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48742         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48743         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48744         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48745         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48746         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48747         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48748         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48749         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48750         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48751         * sysdeps/ieee754/s_lib_version.c: Likewise.
48752         * sysdeps/mach/hurd/check_fds.c: Likewise.
48753         * sysdeps/mach/hurd/getsockname.c: Likewise.
48754         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48755         * sysdeps/mach/hurd/recvfrom.c: Likewise.
48756         * sysdeps/powerpc/bits/link.h: Likewise.
48757         * sysdeps/powerpc/dl-procinfo.c: Likewise.
48758         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48759         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48760         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48761         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48762         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48763         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48764         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48765         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48766         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48767         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48768         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48769         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48770         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48771         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48772         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48773         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48774         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48775         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48776         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48777         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48778         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48779         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48780         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48781         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48782         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48783         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48784         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48785         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48786         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48787         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48788         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48789         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48790         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48791         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48792         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48793         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48794         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48795         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48796         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48797         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48798         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48799         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48800         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48801         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48802         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
48803         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
48804         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48805         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
48806         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
48807         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48808         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48809         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48810         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48811         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
48812         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48813         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48814         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48815         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48816         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48817         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48818         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48819         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48820         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48821         * sysdeps/powerpc/sysdep.h: Likewise.
48822         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48823         * sysdeps/s390/s390-64/sub_n.S: Likewise.
48824         * sysdeps/sh/dl-trampoline.S: Likewise.
48825         * sysdeps/sh/memset.S: Likewise.
48826         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48827         * sysdeps/sh/strlen.S: Likewise.
48828         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48829         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48830         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48831         * sysdeps/sparc/sparc32/rem.S: Likewise.
48832         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48833         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48834         * sysdeps/sparc/sparc32/strchr.S: Likewise.
48835         * sysdeps/sparc/sparc32/udiv.S: Likewise.
48836         * sysdeps/sparc/sparc32/urem.S: Likewise.
48837         * sysdeps/sparc/sparc64/add_n.S: Likewise.
48838         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48839         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48840         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48841         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48842         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48843         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48844         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48845         * sysdeps/unix/bsd/times.c: Likewise.
48846         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48847         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48851         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48852         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48853         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48854         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48855         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48856         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48857         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48858         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48859         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48860         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48861         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48862         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48863         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48864         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48865         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48866         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48867         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48868         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48869         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48870         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48871         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48872         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48873         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48874         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48875         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48876         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48877         * sysdeps/x86_64/strcspn.S: Likewise.
48879 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48881         * locale/C-translit.h: Revert #include <stdint.h> because this is a
48882         generated file.  Regenerate properly from gen-translit.pl.
48883         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
48884         locale/C-translit.h.
48886 2013-06-05  Andreas Schwab  <schwab@suse.de>
48888         [BZ #15100]
48889         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48890         week as 6 instead of -1.
48891         * time/tst-strptime.c (day_tests): Add test case.
48893 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48895         * sysdeps/generic/math_private.h
48896         (libc_feholdexcept_setround_53bit): Replace with
48897         libc_feholdsetround_53bit.
48898         (libc_feupdateenv_53bit): Replace with
48899         libc_feresetround_53bit.
48900         (SET_RESTORE_ROUND_53BIT): Adjust.
48902 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48904         * string/test-strchrnul.c: Add copyright header.
48906         * posix/tst-getaddrinfo4.c: Increase test timeout.
48908 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
48910         [BZ #15536]
48911         * math/libm-test.inc (MAX_EXP): Remove
48912         (MIN_EXP): Define.
48913         (ulp): Use MIN_EXP - MANT_DIG.
48914         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48916 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
48918         * po/be.po: Revert last change.
48919         * po/zh_CN.po: Likewise.
48920         * po/header.pot: Likewise.
48922 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
48924         * Makefile ($(common-objpfx)linkobj/libc.so): Define
48925         link-libc-deps to empty as target-specific variable.
48926         * Makerules (link-libc-args): New variable.
48927         (libc-for-link): Likewise.
48928         (link-libc-deps): Likewise.
48929         (lib%.so): Depend on $(link-libc-deps).  Link with
48930         $(link-libc-args).
48931         (build-module): Link with $(link-libc-args).
48932         (build-module-asneeded): Likewise.
48933         (build-module-helper-objlist): Filter out $(link-libc-deps) from
48934         list of objects.
48935         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48936         target-specific variable.
48937         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48938         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48939         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48940         libc.
48941         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48942         libc and ld.so.
48943         ($(objpfx)libpcprofile.so): Likewise.
48944         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48945         libc_nonshared.a.
48946         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48947         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48948         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48949         $(link-libc-deps).
48950         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48951         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48952         * login/Makefile ($(objpfx)libutil.so): Likewise.
48953         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48954         * math/Makefile ($(objpfx)libm.so): Likewise.
48955         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48956         $(objpfx)libnsl.so): Define libc-for-link as target-specific
48957         variable instead of depending directly on libc.
48958         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48959         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48960         $(link-libc-deps).
48961         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48962         libc.
48963         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48964         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48965         ($(objpfx)libanl.so): Likewise.
48966         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48967         ld.so.
48968         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48969         $(link-libc-deps).
48970         * sysdeps/i386/fpu/Makefile: Remove file.
48971         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48972         ($(objpfx)libm.so): Remove dependency on ld.so.
48974 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
48976         [BZ # 15553]
48977         * nis/yp_xdr.c (XDRMAXNAME): Define.
48978         (XDRMAXRECORD): Define.
48979         (xdr_domainname): Use XDRMAXNAME.
48980         (xdr_mapname): Likewise.
48981         (xdr_peername): Likewise.
48982         (xdr_keydat): Use XDRMAXRECORD.
48983         (xdr_valdat): Likewise.
48985 2013-05-30  Jeff Law  <law@redhat.com>
48987         [BZ #14256]
48988         * manual/errno.texi (ESTALE): Update to account for more than
48989         just NFS file systems.
48990         * sysdeps/gnu/errlist.c: Regenerated.
48992 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48994         [BZ #15465]
48995         * elf/Makefile (tests): Add tst-null-argv.
48996         (modules-names):  Add tst-null-argv-lib.
48997         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
48998         (tst-null-argv-ENV): Set environment for tst-null-argv.
48999         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49000         (RTLD_PROGNAME): New macro.
49001         * elf/tst-null-argv.c: New test case.
49002         * elf/tst-null-argv-lib.c: Library for test case.
49003         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49004         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49005         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49006         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49007         * elf/dl-init.c (call_init): Likewise.
49008         (_dl_init): Likewise.
49009         * elf/dl-load.c (print_search_path): Likewise.
49010         (_dl_map_object): Likewise.
49011         * elf/dl-lookup.c (do_lookup_x): Likewise.
49012         (add_dependency): Likewise.
49013         (_dl_lookup_symbol_x): Likewise.
49014         (_dl_debug_bindings): Likewise.
49015         * elf/dl-open.c (_dl_show_scope): Likewise.
49016         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49017         * elf/dl-version.c (match_symbol): Likewise.
49018         (_dl_check_map_versions): Likewise.
49019         * elf/rtld.c (dl_main): Likewise.
49020         (print_unresolved): Use RTLD_PROGNAME.
49021         (print_missing_version): Likewise.
49022         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49023         (elf_machine_rela): Likewise.
49024         * sysdeps/powerpc/powerpc32/dl-machine.c
49025         (__process_machine_rela): Likewise.
49026         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49027         Likewise.
49028         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49029         Likewise.
49030         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49031         Likewise.
49032         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49033         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49034         Likewise.
49035         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49036         Likewise.
49037         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49039 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49041         * po/be.po: Add descriptive title.
49042         * po/zh_CN.po: Likewise.
49043         * po/header.pot: Likewise.
49045 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49047         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49048         error message.
49049         (enlarge_archive): Likewise.
49051 2013-05-28  Ben North  <ben@redfrontdoor.org>
49053         * manual/arith.texi (frexp): It is the magnitude of the return
49054         value which lies in [0.5, 1), not the return value itself.
49056 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49060 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49062         * stdio-common/bug26.c (main): Correct fscanf template.
49064         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49065         declare _dl_skip_args.
49067         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49068         Don't declare.
49070         * manual/platform.texi: Add missing @end deftypefun.
49072 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49074         [BZ #15529]
49075         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49076         bit of mantissa of 2^16382.
49077         * math/libm-test.inc (hypot_test_data): Add more tests.
49079         * math/libm-test.inc: Add drem and pow10 to list of tested
49080         functions.
49081         (pow10_test): New function.
49082         (drem_test): Likewise.
49083         (drem_test_tonearest): Likewise.
49084         (drem_test_towardzero): Likewise.
49085         (drem_test_downward): Likewise.
49086         (drem_test_upward): Likewise.
49087         (main): Call the new functions.
49089         * math/libm-test.inc (finite_test_data): Remove.
49090         (finite_test): Run tests from isfinite_test_data.
49091         (gamma_test_data): Remove.
49092         (gamma_test): Run tests from lgamma_test_data.
49093         * sysdeps/i386/fpu/libm-test-ulps: Update.
49094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49096 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49098         * manual/platform.texi: Add PowerPC PPR function set documentation.
49099         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49100         implementation.
49102 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49104         * math/libm-test.inc (MAX_EXP): Define.
49105         (ULPDIFF): Define.
49106         (ulp): New function.
49107         (check_float_internal): Use ULPDIFF.
49108         (cpow_test): Disable failing test.
49109         (check_ulp): Test ulp() implemetnation.
49110         (main): Call check_ulp before starting tests.
49112 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49114         * math/gen-libm-test.pl (generate_testfile): Do not handle
49115         START_DATA and END_DATA.
49116         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49117         END_DATA.
49118         (acos_tonearest_test_data): Likewise.
49119         (acos_towardzero_test_data): Likewise.
49120         (acos_downward_test_data): Likewise.
49121         (acos_upward_test_data): Likewise.
49122         (acosh_test_data): Likewise.
49123         (asin_test_data): Likewise.
49124         (asin_tonearest_test_data): Likewise.
49125         (asin_towardzero_test_data): Likewise.
49126         (asin_downward_test_data): Likewise.
49127         (asin_upward_test_data): Likewise.
49128         (asinh_test_data): Likewise.
49129         (atan_test_data): Likewise.
49130         (atanh_test_data): Likewise.
49131         (atan2_test_data): Likewise.
49132         (cabs_test_data): Likewise.
49133         (cacos_test_data): Likewise.
49134         (cacosh_test_data): Likewise.
49135         (carg_test_data): Likewise.
49136         (casin_test_data): Likewise.
49137         (casinh_test_data): Likewise.
49138         (catan_test_data): Likewise.
49139         (catanh_test_data): Likewise.
49140         (cbrt_test_data): Likewise.
49141         (ccos_test_data): Likewise.
49142         (ccosh_test_data): Likewise.
49143         (ceil_test_data): Likewise.
49144         (cexp_test_data): Likewise.
49145         (cimag_test_data): Likewise.
49146         (clog_test_data): Likewise.
49147         (clog10_test_data): Likewise.
49148         (conj_test_data): Likewise.
49149         (copysign_test_data): Likewise.
49150         (cos_test_data): Likewise.
49151         (cos_tonearest_test_data): Likewise.
49152         (cos_towardzero_test_data): Likewise.
49153         (cos_downward_test_data): Likewise.
49154         (cos_upward_test_data): Likewise.
49155         (cosh_test_data): Likewise.
49156         (cosh_tonearest_test_data): Likewise.
49157         (cosh_towardzero_test_data): Likewise.
49158         (cosh_downward_test_data): Likewise.
49159         (cosh_upward_test_data): Likewise.
49160         (cpow_test_data): Likewise.
49161         (cproj_test_data): Likewise.
49162         (creal_test_data): Likewise.
49163         (csin_test_data): Likewise.
49164         (csinh_test_data): Likewise.
49165         (csqrt_test_data): Likewise.
49166         (ctan_test_data): Likewise.
49167         (ctan_tonearest_test_data): Likewise.
49168         (ctan_towardzero_test_data): Likewise.
49169         (ctan_downward_test_data): Likewise.
49170         (ctan_upward_test_data): Likewise.
49171         (ctanh_test_data): Likewise.
49172         (ctanh_tonearest_test_data): Likewise.
49173         (ctanh_towardzero_test_data): Likewise.
49174         (ctanh_downward_test_data): Likewise.
49175         (ctanh_upward_test_data): Likewise.
49176         (erf_test_data): Likewise.
49177         (erfc_test_data): Likewise.
49178         (exp_test_data): Likewise.
49179         (exp_tonearest_test_data): Likewise.
49180         (exp_towardzero_test_data): Likewise.
49181         (exp_downward_test_data): Likewise.
49182         (exp_upward_test_data): Likewise.
49183         (exp10_test_data): Likewise.
49184         (exp2_test_data): Likewise.
49185         (expm1_test_data): Likewise.
49186         (fabs_test_data): Likewise.
49187         (fdim_test_data): Likewise.
49188         (finite_test_data): Likewise.
49189         (floor_test_data): Likewise.
49190         (fma_test_data): Likewise.
49191         (fma_towardzero_test_data): Likewise.
49192         (fma_downward_test_data): Likewise.
49193         (fma_upward_test_data): Likewise.
49194         (fmax_test_data): Likewise.
49195         (fmin_test_data): Likewise.
49196         (fmod_test_data): Likewise.
49197         (fpclassify_test_data): Likewise.
49198         (frexp_test_data): Likewise.
49199         (gamma_test_data): Likewise.
49200         (hypot_test_data): Likewise.
49201         (ilogb_test_data): Likewise.
49202         (isfinite_test_data): Likewise.
49203         (isgreater_test_data): Likewise.
49204         (isgreaterequal_test_data): Likewise.
49205         (isinf_test_data): Likewise.
49206         (isless_test_data): Likewise.
49207         (islessequal_test_data): Likewise.
49208         (islessgreater_test_data): Likewise.
49209         (isnan_test_data): Likewise.
49210         (isnormal_test_data): Likewise.
49211         (issignaling_test_data): Likewise.
49212         (isunordered_test_data): Likewise.
49213         (j0_test_data): Likewise.
49214         (j1_test_data): Likewise.
49215         (jn_test_data): Likewise.
49216         (ldexp_test_data): Likewise.
49217         (lgamma_test_data): Likewise.
49218         (lrint_test_data): Likewise.
49219         (lrint_tonearest_test_data): Likewise.
49220         (lrint_towardzero_test_data): Likewise.
49221         (lrint_downward_test_data): Likewise.
49222         (lrint_upward_test_data): Likewise.
49223         (llrint_test_data): Likewise.
49224         (llrint_tonearest_test_data): Likewise.
49225         (llrint_towardzero_test_data): Likewise.
49226         (llrint_downward_test_data): Likewise.
49227         (llrint_upward_test_data): Likewise.
49228         (log_test_data): Likewise.
49229         (log10_test_data): Likewise.
49230         (log1p_test_data): Likewise.
49231         (log2_test_data): Likewise.
49232         (logb_test_data): Likewise.
49233         (logb_downward_test_data): Likewise.
49234         (lround_test_data): Likewise.
49235         (llround_test_data): Likewise.
49236         (modf_test_data): Likewise.
49237         (nearbyint_test_data): Likewise.
49238         (nextafter_test_data): Likewise.
49239         (nexttoward_test_data): Likewise.
49240         (pow_test_data): Likewise.
49241         (pow_tonearest_test_data): Likewise.
49242         (pow_towardzero_test_data): Likewise.
49243         (pow_downward_test_data): Likewise.
49244         (pow_upward_test_data): Likewise.
49245         (remainder_test_data): Likewise.
49246         (remainder_tonearest_test_data): Likewise.
49247         (remainder_towardzero_test_data): Likewise.
49248         (remainder_downward_test_data): Likewise.
49249         (remainder_upward_test_data): Likewise.
49250         (remquo_test_data): Likewise.
49251         (rint_test_data): Likewise.
49252         (rint_tonearest_test_data): Likewise.
49253         (rint_towardzero_test_data): Likewise.
49254         (rint_downward_test_data): Likewise.
49255         (rint_upward_test_data): Likewise.
49256         (round_test_data): Likewise.
49257         (scalb_test_data): Likewise.
49258         (scalbn_test_data): Likewise.
49259         (scalbln_test_data): Likewise.
49260         (signbit_test_data): Likewise.
49261         (sin_test_data): Likewise.
49262         (sin_tonearest_test_data): Likewise.
49263         (sin_towardzero_test_data): Likewise.
49264         (sin_downward_test_data): Likewise.
49265         (sin_upward_test_data): Likewise.
49266         (sincos_test_data): Likewise.
49267         (sinh_test_data): Likewise.
49268         (sinh_tonearest_test_data): Likewise.
49269         (sinh_towardzero_test_data): Likewise.
49270         (sinh_downward_test_data): Likewise.
49271         (sinh_upward_test_data): Likewise.
49272         (sqrt_test_data): Likewise.
49273         (tan_test_data): Likewise.
49274         (tan_tonearest_test_data): Likewise.
49275         (tan_towardzero_test_data): Likewise.
49276         (tan_downward_test_data): Likewise.
49277         (tan_upward_test_data): Likewise.
49278         (tanh_test_data): Likewise.
49279         (tgamma_test_data): Likewise.
49280         (trunc_test_data): Likewise.
49281         (y0_test_data): Likewise.
49282         (y1_test_data): Likewise.
49283         (yn_test_data): Likewise.
49284         (significand_test_data): Likewise.
49286         * math/gen-libm-test.pl (@functions): Remove variable.
49287         (generate_testfile): Don't handle START and END lines.
49288         * math/libm-test.inc (START): New macro.
49289         (END): Likewise.
49290         (END_COMPLEX): Likewise.
49291         (acos_test): Use END macro without arguments.
49292         (acos_test_tonearest): Likewise.
49293         (acos_test_towardzero): Likewise.
49294         (acos_test_downward): Likewise.
49295         (acos_test_upward): Likewise.
49296         (acosh_test): Likewise.
49297         (asin_test): Likewise.
49298         (asin_test_tonearest): Likewise.
49299         (asin_test_towardzero): Likewise.
49300         (asin_test_downward): Likewise.
49301         (asin_test_upward): Likewise.
49302         (asinh_test): Likewise.
49303         (atan_test): Likewise.
49304         (atanh_test): Likewise.
49305         (atan2_test): Likewise.
49306         (cabs_test): Likewise.
49307         (cacos_test): Use END_COMPLEX macro without arguments.
49308         (cacosh_test): Likewise.
49309         (carg_test): Use END macro without arguments.
49310         (casin_test): Use END_COMPLEX macro without arguments.
49311         (casinh_test): Likewise.
49312         (catan_test): Likewise.
49313         (catanh_test): Likewise.
49314         (cbrt_test): Use END macro without arguments.
49315         (ccos_test): Use END_COMPLEX macro without arguments.
49316         (ccosh_test): Likewise.
49317         (ceil_test): Use END macro without arguments.
49318         (cexp_test): Use END_COMPLEX macro without arguments.
49319         (cimag_test): Use END macro without arguments.
49320         (clog_test): Use END_COMPLEX macro without arguments.
49321         (clog10_test): Likewise.
49322         (conj_test): Likewise.
49323         (copysign_test): Use END macro without arguments.
49324         (cos_test): Likewise.
49325         (cos_test_tonearest): Likewise.
49326         (cos_test_towardzero): Likewise.
49327         (cos_test_downward): Likewise.
49328         (cos_test_upward): Likewise.
49329         (cosh_test): Likewise.
49330         (cosh_test_tonearest): Likewise.
49331         (cosh_test_towardzero): Likewise.
49332         (cosh_test_downward): Likewise.
49333         (cosh_test_upward): Likewise.
49334         (cpow_test): Use END_COMPLEX macro without arguments.
49335         (cproj_test): Likewise.
49336         (creal_test): Use END macro without arguments.
49337         (csin_test): Use END_COMPLEX macro without arguments.
49338         (csinh_test): Likewise.
49339         (csqrt_test): Likewise.
49340         (ctan_test): Likewise.
49341         (ctan_test_tonearest): Likewise.
49342         (ctan_test_towardzero): Likewise.
49343         (ctan_test_downward): Likewise.
49344         (ctan_test_upward): Likewise.
49345         (ctanh_test): Likewise.
49346         (ctanh_test_tonearest): Likewise.
49347         (ctanh_test_towardzero): Likewise.
49348         (ctanh_test_downward): Likewise.
49349         (ctanh_test_upward): Likewise.
49350         (erf_test): Use END macro without arguments.
49351         (erfc_test): Likewise.
49352         (exp_test): Likewise.
49353         (exp_test_tonearest): Likewise.
49354         (exp_test_towardzero): Likewise.
49355         (exp_test_downward): Likewise.
49356         (exp_test_upward): Likewise.
49357         (exp10_test): Likewise.
49358         (exp2_test): Likewise.
49359         (expm1_test): Likewise.
49360         (fabs_test): Likewise.
49361         (fdim_test): Likewise.
49362         (finite_test): Likewise.
49363         (floor_test): Likewise.
49364         (fma_test): Likewise.
49365         (fma_test_towardzero): Likewise.
49366         (fma_test_downward): Likewise.
49367         (fma_test_upward): Likewise.
49368         (fmax_test): Likewise.
49369         (fmin_test): Likewise.
49370         (fmod_test): Likewise.
49371         (fpclassify_test): Likewise.
49372         (frexp_test): Likewise.
49373         (gamma_test): Likewise.
49374         (hypot_test): Likewise.
49375         (ilogb_test): Likewise.
49376         (isfinite_test): Likewise.
49377         (isgreater_test): Likewise.
49378         (isgreaterequal_test): Likewise.
49379         (isinf_test): Likewise.
49380         (isless_test): Likewise.
49381         (islessequal_test): Likewise.
49382         (islessgreater_test): Likewise.
49383         (isnan_test): Likewise.
49384         (isnormal_test): Likewise.
49385         (issignaling_test): Likewise.
49386         (isunordered_test): Likewise.
49387         (j0_test): Likewise.
49388         (j1_test): Likewise.
49389         (jn_test): Likewise.
49390         (ldexp_test): Likewise.
49391         (lgamma_test): Likewise.
49392         (lrint_test): Likewise.
49393         (lrint_test_tonearest): Likewise.
49394         (lrint_test_towardzero): Likewise.
49395         (lrint_test_downward): Likewise.
49396         (lrint_test_upward): Likewise.
49397         (llrint_test): Likewise.
49398         (llrint_test_tonearest): Likewise.
49399         (llrint_test_towardzero): Likewise.
49400         (llrint_test_downward): Likewise.
49401         (llrint_test_upward): Likewise.
49402         (log_test): Likewise.
49403         (log10_test): Likewise.
49404         (log1p_test): Likewise.
49405         (log2_test): Likewise.
49406         (logb_test): Likewise.
49407         (logb_test_downward): Likewise.
49408         (lround_test): Likewise.
49409         (llround_test): Likewise.
49410         (modf_test): Likewise.
49411         (nearbyint_test): Likewise.
49412         (nextafter_test): Likewise.
49413         (nexttoward_test): Likewise.
49414         (pow_test): Likewise.
49415         (pow_test_tonearest): Likewise.
49416         (pow_test_towardzero): Likewise.
49417         (pow_test_downward): Likewise.
49418         (pow_test_upward): Likewise.
49419         (remainder_test): Likewise.
49420         (remainder_test_tonearest): Likewise.
49421         (remainder_test_towardzero): Likewise.
49422         (remainder_test_downward): Likewise.
49423         (remainder_test_upward): Likewise.
49424         (remquo_test): Likewise.
49425         (rint_test): Likewise.
49426         (rint_test_tonearest): Likewise.
49427         (rint_test_towardzero): Likewise.
49428         (rint_test_downward): Likewise.
49429         (rint_test_upward): Likewise.
49430         (round_test): Likewise.
49431         (scalb_test): Likewise.
49432         (scalbn_test): Likewise.
49433         (scalbln_test): Likewise.
49434         (signbit_test): Likewise.
49435         (sin_test): Likewise.
49436         (sin_test_tonearest): Likewise.
49437         (sin_test_towardzero): Likewise.
49438         (sin_test_downward): Likewise.
49439         (sin_test_upward): Likewise.
49440         (sincos_test): Likewise.
49441         (sinh_test): Likewise.
49442         (sinh_test_tonearest): Likewise.
49443         (sinh_test_towardzero): Likewise.
49444         (sinh_test_downward): Likewise.
49445         (sinh_test_upward): Likewise.
49446         (sqrt_test): Likewise.
49447         (tan_test): Likewise.
49448         (tan_test_tonearest): Likewise.
49449         (tan_test_towardzero): Likewise.
49450         (tan_test_downward): Likewise.
49451         (tan_test_upward): Likewise.
49452         (tanh_test): Likewise.
49453         (tgamma_test): Likewise.
49454         (trunc_test): Likewise.
49455         (y0_test): Likewise.
49456         (y1_test): Likewise.
49457         (yn_test): Likewise.
49458         (significand_test): Likewise.
49460 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49462         [BZ #15381]
49463         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49465 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49467         [BZ #14894]
49468         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49469         __ppc_mdoio and __ppc_mdoom.
49470         * manual/platform.texi: Document new functions __ppc_yield,
49471         __ppc_mdoio and __ppc_mdoom.
49473 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49475         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49476         (main): Mention "tls" pseudo-hwcap is legacy.
49477         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49479 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49481         * math/gen-libm-test.pl (parse_args): Output only string of
49482         arguments as text for test name, not full call or descriptions of
49483         tests for extra outputs.
49484         (generate_testfile): Do not pass function name to parse_args.
49485         Generate this_func variable from START.
49486         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49487         field to arg_str.
49488         (struct test_ff_f_data): Likewise.
49489         (test_ff_f_data_nexttoward): Likewise.
49490         (struct test_fi_f_data): Likewise.
49491         (struct test_fl_f_data): Likewise.
49492         (struct test_if_f_data): Likewise.
49493         (struct test_fff_f_data): Likewise.
49494         (struct test_c_f_data): Likewise.
49495         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49496         (struct test_fF_f1_data): Likewise.
49497         (struct test_ffI_f1_data): Likewise.
49498         (struct test_c_c_data): Rename test_name field to arg_str.
49499         (struct test_cc_c_data): Likewise.
49500         (struct test_f_i_data): Likewise.
49501         (struct test_ff_i_data): Likewise.
49502         (struct test_f_l_data): Likewise.
49503         (struct test_f_L_data): Likewise.
49504         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49505         and extra2_name.
49506         (COMMON_TEST_SETUP): New macro.
49507         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49508         (COMMON_TEST_CLEANUP): Likewise.
49509         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49510         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49511         macros.
49512         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49513         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
49514         macros.
49515         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49516         (RUN_TEST_fff_f): Take argument string.  Call new setup and
49517         cleanup macros.
49518         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49519         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
49520         macros.
49521         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49522         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
49523         macros.
49524         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49525         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
49526         cleanup macros.
49527         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49528         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
49529         cleanup macros.
49530         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49531         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
49532         cleanup macros.
49533         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49534         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
49535         macros.
49536         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49537         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
49538         macros.
49539         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49540         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49541         macros.
49542         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49543         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49544         cleanup macros.
49545         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49546         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49547         cleanup macros.
49548         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49549         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49550         macros.
49551         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49552         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49553         cleanup macros.
49554         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49555         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49556         macros.
49557         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49558         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49559         macros.
49560         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49561         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49562         cleanup macros.
49563         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49565 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49567         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49568         to _sifields.sigfault.
49569         (si_addr_lsb): Define new macro.
49570         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49571         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49572         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49574 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49576         [BZ #15441]
49577         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49578         returns -1.
49579         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49580         null return -1.
49581         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49582         loading the domain.
49584 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49586         * math/gen-libm-test.pl (parse_args): Do not include expected
49587         result in test name.
49588         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49589         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49590         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49591         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49592         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49595 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49597         * benchtests/Makefile: Sort function entries.
49599         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49600         tanh, asinh, acosh, atanh.
49601         * benchtests/acos-inputs: New file.
49602         * benchtests/acosh-inputs: New file.
49603         * benchtests/asin-inputs: New file.
49604         * benchtests/asinh-inputs: New file.
49605         * benchtests/atanh-inputs: New file.
49606         * benchtests/cosh-inputs: New file.
49607         * benchtests/log-inputs: New file.
49608         * benchtests/sinh-inputs: New file.
49609         * benchtests/tanh-inputs: New file.
49611 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
49613         [BZ #15339]
49614         * posix/tst-getaddrinfo4.c: New test.
49615         * posix/Makefile (tests): Add it.
49617 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49619         [BZ #15339]
49620         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49621         when no services were used.
49622         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49623         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49625 2013-05-21  Andreas Schwab  <schwab@suse.de>
49627         [BZ #15014]
49628         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49629         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49630         successful.
49631         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49632         redundant variable declarations and reallocation of buffer when
49633         parsing as IPv6 address.  Always set NSS status when called from
49634         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
49635         buffer too small.  Correct computation of needed size.
49636         * nss/Makefile (tests): Add test-digits-dots.
49637         * nss/test-digits-dots.c: New test.
49639 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49641         * benchtests/Makefile: Remove instructions for adding
49642         benchmark tests.
49643         * benchtests/README: New file to explain how to execute and
49644         enhance the benchmark tests.
49646 2013-05-21  Andreas Schwab  <schwab@suse.de>
49648         [BZ #15493]
49649         * setjmp/Makefile (tests): Add tst-sigsetjmp.
49650         * setjmp/tst-sigsetjmp.c: New test.
49652 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49654         * sysdeps/x86_64/memset.S (memset): New implementation.
49655         (__bzero): Likewise.
49656         (__memset_tail): New function.
49658 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49660         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49661         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49662         __memcpy_sse2_unaligned ifunc selection.
49663         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49664         Add memcpy-sse2-unaligned.S.
49665         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49666         Add: __memcpy_sse2_unaligned.
49668 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
49670         [BZ #15490]
49671         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49672         math_force_eval before restoring floating-point envrionment.
49673         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49674         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49675         Likewise.
49676         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49677         <math_private.h>.
49678         (__nearbyintl): Use math_force_eval before restoring
49679         floating-point environment.
49680         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49682         * math/gen-libm-test.pl (special_functions): Remove.
49683         (parse_args): Don't handle TEST_extra.  Handle functions with no
49684         return value.
49685         * math/libm-test.inc (struct test_sincos_data): Replace with
49686         struct test_fFF_11_data.
49687         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49688         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49689         (sincos_test_data): Change element type to struct
49690         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
49691         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49692         RUN_TEST_LOOP_sincos.
49693         * math/README.libm-test: Don't mention special handling of
49694         individual functions.
49695         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49696         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49697         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49698         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49699         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49702         * math/gen-libm-test.pl (get_variable): Remove function.
49703         (parse_args): Don't show pointer parameters to call in test
49704         names.  Use "extra output N" in test names for extra outputs
49705         rather than naming variables.
49707 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
49709         [BZ #15488]
49710         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49711         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49712         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49713         double tests.
49714         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49715         disable.
49716         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49717         check_long_double.
49719         * math/gen-libm-test.pl (@tests): Remove variable.
49720         ($count): Likewise.
49721         (new_test): Remove function.
49722         (show_exceptions): New function.
49723         (special_functions): Use show_exceptions instead of new_test.
49724         (parse_args): Likewise.
49725         (generate_testfile): Pass only function name in generated call to
49726         print_max_error or print_complex_max_error.
49727         (get_ulps): Do not handle complex tests specially.
49728         (output_test): Rename to ...
49729         (get_all_ulps_for_test): ... this.  Return a string rather than
49730         printing to a file.  Require ulps to be present.
49731         (output_ulps): Generate arrays rather than #defines.
49732         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49733         (struct ulp_data): New type.
49734         (BUILD_COMPLEX_ULP): Remove macro.
49735         (compare_ulp_data): New function.
49736         (find_ulps): Likewise.
49737         (find_test_ulps): Likewise.
49738         (find_function_ulps): Likewise.
49739         (find_complex_function_ulps): Likewise.
49740         (print_max_error): Determine allowed ulps using
49741         find_function_ulps.
49742         (print_complex_max_error): Determine allowed ulps using
49743         find_complex_function_ulps.
49744         (check_float_internal): Determine max ulps using find_test_ulps.
49745         (check_float): Do not take max_ulp parameter.  Update call to
49746         check_float_internal.
49747         (check_complex): Likewise.
49748         (check_int): Do not take max_ulp parameter.
49749         (check_long): Likewise.
49750         (check_bool): Likewise.
49751         (check_longlong): Likewise.
49752         (struct test_f_f_data): Remove max_ulp field.
49753         (struct test_ff_f_data): Likewise.
49754         (struct test_ff_f_data_nexttoward): Likewise.
49755         (struct test_fi_f_data): Likewise.
49756         (struct test_fl_f_data): Likewise.
49757         (struct test_if_f_data): Likewise.
49758         (struct test_fff_f_data): Likewise.
49759         (struct test_c_f_data): Likewise.
49760         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49761         (struct test_fF_f1_data): Likewise.
49762         (struct test_ffI_f1_data): Likewise.
49763         (struct test_c_c_data): Remove max_ulp field.
49764         (struct test_cc_c_data): Likewise.
49765         (struct test_f_i_data): Likewise.
49766         (struct test_ff_i_data): Likewise.
49767         (struct test_f_l_data): Likewise.
49768         (struct test_f_L_data): Likewise.
49769         (struct test_sincos_data): Likewise.
49770         (RUN_TEST_f_f): Do not handle ulps.
49771         (RUN_TEST_LOOP_f_f): Likewise.
49772         (RUN_TEST_2_f): Likewise.
49773         (RUN_TEST_LOOP_2_f): Likewise.
49774         (RUN_TEST_fff_f): Likewise.
49775         (RUN_TEST_LOOP_fff_f): Likewise.
49776         (RUN_TEST_c_f): Likewise.
49777         (RUN_TEST_LOOP_c_f): Likewise.
49778         (RUN_TEST_f_f1): Likewise.
49779         (RUN_TEST_LOOP_f_f1): Likewise.
49780         (RUN_TEST_fF_f1): Likewise.
49781         (RUN_TEST_LOOP_fF_f1): Likewise.
49782         (RUN_TEST_fI_f1): Likewise.
49783         (RUN_TEST_LOOP_fI_f1): Likewise.
49784         (RUN_TEST_ffI_f1): Likewise.
49785         (RUN_TEST_LOOP_ffI_f1): Likewise.
49786         (RUN_TEST_c_c): Likewise.
49787         (RUN_TEST_LOOP_c_c): Likewise.
49788         (RUN_TEST_cc_c): Likewise.
49789         (RUN_TEST_LOOP_cc_c): Likewise.
49790         (RUN_TEST_f_i): Likewise.
49791         (RUN_TEST_LOOP_f_i): Likewise.
49792         (RUN_TEST_f_i_tg): Likewise.
49793         (RUN_TEST_LOOP_f_i_tg): Likewise.
49794         (RUN_TEST_ff_i_tg): Likewise.
49795         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49796         (RUN_TEST_f_b): Likewise.
49797         (RUN_TEST_LOOP_f_b): Likewise.
49798         (RUN_TEST_f_b_tg): Likewise.
49799         (RUN_TEST_LOOP_f_b_tg): Likewise.
49800         (RUN_TEST_f_l): Likewise.
49801         (RUN_TEST_LOOP_f_l): Likewise.
49802         (RUN_TEST_f_L): Likewise.
49803         (RUN_TEST_LOOP_f_L): Likewise.
49804         (RUN_TEST_sincos): Likewise.
49805         (RUN_TEST_LOOP_sincos): Likewise.
49807 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
49809         [BZ #15480]
49810         [BZ #15485]
49811         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
49812         main case of finite arguments, set rounding mode to FE_TONEAREST
49813         and discard exceptions.
49814         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49815         exceptions.
49816         (remainder_tonearest_test_data): New variable.
49817         (remainder_test_tonearest): New function.
49818         (remainder_towardzero_test_data): New variable.
49819         (remainder_test_towardzero): New function.
49820         (remainder_downward_test_data): New variable.
49821         (remainder_test_downward): New function.
49822         (remainder_upward_test_data): New variable.
49823         (remainder_test_upward): New function.
49824         (main): Call the new test functions.
49826         * math/libm-test.inc (struct test_f_f1_data): Remove field
49827         extra_init.
49828         (struct test_fF_f1_data): Likewise.
49829         (struct test_ffI_f1_data): Likewise.
49830         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
49831         based on value of EXTRA_EXPECTED.
49832         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49833         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
49834         EXTRA_VAR based on value of EXTRA_EXPECTED.
49835         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49836         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
49837         EXTRA_VAR based on value of EXTRA_EXPECTED.
49838         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49839         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
49840         EXTRA_VAR based on value of EXTRA_EXPECTED.
49841         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49842         * math/gen-libm-test.pl (parse_args): Don't output initializers
49843         for extra output values.
49845         * math/libm-test.inc (check_int): Expect result to be exactly
49846         equal to expected value and do not handle ulps.
49847         (check_long): Likewise.
49848         (check_longlong): Likewise.
49850         * math/libm-test.inc (ceil_test_data): Test for "inexact"
49851         exceptions.
49852         (cimag_test_data): Likewise.
49853         (conj_test_data): Likewise.
49854         (copysign_test_data): Likewise.
49855         (cproj_test_data): Likewise.
49856         (creal_test_data): Likewise.
49857         (fabs_test_data): Likewise.
49858         (fdim_test_data): Likewise.
49859         (finite_test_data): Likewise.
49860         (floor_test_data): Likewise.
49861         (fmax_test_data): Likewise.
49862         (fmin_test_data): Likewise.
49863         (fmod_test_data): Likewise.
49864         (fpclassify_test_data): Likewise.
49865         (frexp_test_data): Likewise.
49866         (ilogb_test_data): Likewise.
49867         (isfinite_test_data): Likewise.
49868         (isgreater_test_data): Likewise.
49869         (isgreaterequal_test_data): Likewise.
49870         (isinf_test_data): Likewise.
49871         (isless_test_data): Likewise.
49872         (islessequal_test_data): Likewise.
49873         (islessgreater_test_data): Likewise.
49874         (isnan_test_data): Likewise.
49875         (isnormal_test_data): Likewise.
49876         (issignaling_test_data): Likewise.
49877         (isunordered_test_data): Likewise.
49878         (ldexp_test_data): Likewise.
49879         (lrint_test_data): Likewise.
49880         (lrint_test_data) [TEST_FLOAT]: Disable one test.
49881         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49882         (lrint_tonearest_test_data): Test for "inexact" exceptions.
49883         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49884         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49885         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49886         test input.
49887         (lrint_towardzero_test_data): Test for "inexact" exceptions.
49888         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49889         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49890         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49891         that test input.
49892         (lrint_downward_test_data): Test for "inexact" exceptions.
49893         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49894         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49895         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49896         test input.
49897         (lrint_upward_test_data): Test for "inexact" exceptions.
49898         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49899         test input.
49900         (llrint_test_data): Test for "inexact" exceptions.
49901         (llrint_test_data) [TEST_FLOAT]: Disable one test.
49902         (llrint_tonearest_test_data): Test for "inexact" exceptions.
49903         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49904         (llrint_towardzero_test_data): Test for "inexact" exceptions.
49905         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49906         (llrint_downward_test_data): Test for "inexact" exceptions.
49907         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49908         (llrint_upward_test_data): Test for "inexact" exceptions.
49909         (logb_test_data): Likewise.
49910         (logb_downward_test_data): Likewise.
49911         (nextafter_test_data): Likewise.
49912         (nexttoward_test_data): Likewise.
49913         (remainder_test_data): Likewise.
49914         (remquo_test_data): Likewise.
49915         (scalbn_test_data): Likewise.
49916         (scalbln_test_data): Likewise.
49917         (signbit_test_data): Likewise.
49918         (sqrt_test_data): Likewise.
49919         (significand_test_data): Likewise.
49921 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49923         [BZ #15424]
49924         * benchtests/bench-modf.c (struct args): Mark arg0 as
49925         volatile.
49926         * scripts/bench.pl: Mark members of struct args as volatile.
49928 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49930         [BZ # 15497]
49931         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49932         negative infinity on POWER6 or lower.
49933         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49935 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49937         [BZ #15442]
49938         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49939         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49940         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49941         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49942         (_FP_SETQNAN): New macro.
49943         (_FP_SETQNAN_SEMIRAW): Likewise.
49944         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49945         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49946         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49947         (FP_EXTEND): Use _FP_FRAC_SNANP.
49948         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49949         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49950         into account.
49951         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49952         New macro.
49953         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49954         Likewise.
49956 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49958         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49959         with DIVIDE_BY_ZERO_EXCEPTION.
49960         (gamma_test_data): Likewise.
49961         (lgamma_test_data): Likewise.
49962         (log_test_data): Likewise.
49963         (log10_test_data): Likewise.
49964         (log2_test_data): Likewise.
49965         (tgamma_test_data): Likewise.
49967         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49968         (acos_test_tonearest): Likewise.
49969         (acos_test_towardzero): Likewise.
49970         (acos_test_downward): Likewise.
49971         (acos_test_upward): Likewise.
49972         (acosh_test): Likewise.
49973         (asin_test): Likewise.
49974         (asin_test_tonearest): Likewise.
49975         (asin_test_towardzero): Likewise.
49976         (asin_test_downward): Likewise.
49977         (asin_test_upward): Likewise.
49978         (asinh_test): Likewise.
49979         (atan_test): Likewise.
49980         (atanh_test): Likewise.
49981         (atan2_test): Likewise.
49982         (cabs_test): Likewise.
49983         (cacos_test): Likewise.
49984         (cacosh_test): Likewise.
49985         (casin_test): Likewise.
49986         (casinh_test): Likewise.
49987         (catan_test): Likewise.
49988         (catanh_test): Likewise.
49989         (cbrt_test): Likewise.
49990         (ccos_test): Likewise.
49991         (ccosh_test): Likewise.
49992         (cexp_test): Likewise.
49993         (clog_test): Likewise.
49994         (clog10_test): Likewise.
49995         (cos_test): Likewise.
49996         (cos_test_tonearest): Likewise.
49997         (cos_test_towardzero): Likewise.
49998         (cos_test_downward): Likewise.
49999         (cos_test_upward): Likewise.
50000         (cosh_test): Likewise.
50001         (cosh_test_tonearest): Likewise.
50002         (cosh_test_towardzero): Likewise.
50003         (cosh_test_downward): Likewise.
50004         (cosh_test_upward): Likewise.
50005         (cpow_test): Likewise.
50006         (csin_test): Likewise.
50007         (csinh_test): Likewise.
50008         (csqrt_test): Likewise.
50009         (ctan_test): Likewise.
50010         (ctan_test_tonearest): Likewise.
50011         (ctan_test_towardzero): Likewise.
50012         (ctan_test_downward): Likewise.
50013         (ctan_test_upward): Likewise.
50014         (ctanh_test): Likewise.
50015         (ctanh_test_tonearest): Likewise.
50016         (ctanh_test_towardzero): Likewise.
50017         (ctanh_test_downward): Likewise.
50018         (ctanh_test_upward): Likewise.
50019         (erf_test): Likewise.
50020         (erfc_test): Likewise.
50021         (exp_test): Likewise.
50022         (exp_test_tonearest): Likewise.
50023         (exp_test_towardzero): Likewise.
50024         (exp_test_downward): Likewise.
50025         (exp_test_upward): Likewise.
50026         (exp10_test): Likewise.
50027         (exp2_test): Likewise.
50028         (expm1_test): Likewise.
50029         (fmod_test): Likewise.
50030         (gamma_test): Likewise.
50031         (hypot_test): Likewise.
50032         (j0_test): Likewise.
50033         (j1_test): Likewise.
50034         (jn_test): Likewise.
50035         (lgamma_test): Likewise.
50036         (log_test): Likewise.
50037         (log10_test): Likewise.
50038         (log1p_test): Likewise.
50039         (log2_test): Likewise.
50040         (logb_test_downward): Likewise.
50041         (pow_test): Likewise.
50042         (pow_test_tonearest): Likewise.
50043         (pow_test_towardzero): Likewise.
50044         (pow_test_downward): Likewise.
50045         (pow_test_upward): Likewise.
50046         (remainder_test): Likewise.
50047         (remquo_test): Likewise.
50048         (sin_test): Likewise.
50049         (sin_test_tonearest): Likewise.
50050         (sin_test_towardzero): Likewise.
50051         (sin_test_downward): Likewise.
50052         (sin_test_upward): Likewise.
50053         (sincos_test): Likewise.
50054         (sinh_test): Likewise.
50055         (sinh_test_tonearest): Likewise.
50056         (sinh_test_towardzero): Likewise.
50057         (sinh_test_downward): Likewise.
50058         (sinh_test_upward): Likewise.
50059         (sqrt_test): Likewise.
50060         (tan_test): Likewise.
50061         (tan_test_tonearest): Likewise.
50062         (tan_test_towardzero): Likewise.
50063         (tan_test_downward): Likewise.
50064         (tan_test_upward): Likewise.
50065         (tanh_test): Likewise.
50066         (tgamma_test): Likewise.
50067         (y0_test): Likewise.
50068         (y1_test): Likewise.
50069         (yn_test): Likewise.
50071         * math/gen-libm-test.pl (adjust_arg): Remove function.
50072         (special_function): Remove argument $in_func.  Only handle
50073         generating output for tables of tests, not inside functions.
50074         (parse_args): Likewise.
50075         (generate_testfile): Remove variable $in_func.  Update call to
50076         parse_args.
50077         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50078         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50079         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50080         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50081         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50082         (MAX_VALUE_INIT): Rename macro to max_value.
50083         (MIN_VALUE_INIT): Rename macro to min_value.
50084         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50085         (plus_zero): Remove variable.
50086         (minus_zero): Likewise.
50087         (plus_infty): Likewise.
50088         (minus_infty): Likewise.
50089         (qnan_value): Likewise.
50090         (max_value): Likewise.
50091         (min_value): Likewise.
50092         (min_subnorm_value): Likewise.
50094 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50096         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50097         uint64_t or uint32_t usage.
50098         * crypt/sha256-block.c: Likewise.
50099         * crypt/sha256-crypt.c: Likewise.
50100         * crypt/sha256.c: Likewise.
50101         * crypt/sha512-block.c: Likewise.
50102         * crypt/sha512-crypt.c: Likewise.
50103         * crypt/sha512.c: Likewise.
50104         * debug/backtrace-tst.c: Likewise.
50105         * debug/pcprofiledump.c: Likewise.
50106         * elf/cache.c: Likewise.
50107         * elf/dl-cache.c: Likewise.
50108         * elf/dl-misc.c: Likewise.
50109         * elf/dl-profile.c: Likewise.
50110         * elf/dl-support.c: Likewise.
50111         * elf/ldconfig.c: Likewise.
50112         * elf/sprof.c: Likewise.
50113         * iconv/dummy-repertoire.c: Likewise.
50114         * iconv/iconv_charmap.c: Likewise.
50115         * iconv/skeleton.c: Likewise.
50116         * iconvdata/8bit-generic.c: Likewise.
50117         * iconvdata/cp737.h: Likewise.
50118         * iconvdata/cp775.h: Likewise.
50119         * iconvdata/ibm1008.h: Likewise.
50120         * iconvdata/ibm1025.h: Likewise.
50121         * iconvdata/ibm1046.h: Likewise.
50122         * iconvdata/ibm1097.h: Likewise.
50123         * iconvdata/ibm1112.h: Likewise.
50124         * iconvdata/ibm1122.h: Likewise.
50125         * iconvdata/ibm1123.h: Likewise.
50126         * iconvdata/ibm1124.h: Likewise.
50127         * iconvdata/ibm1129.h: Likewise.
50128         * iconvdata/ibm1130.h: Likewise.
50129         * iconvdata/ibm1132.h: Likewise.
50130         * iconvdata/ibm1133.h: Likewise.
50131         * iconvdata/ibm1137.h: Likewise.
50132         * iconvdata/ibm1140.h: Likewise.
50133         * iconvdata/ibm1141.h: Likewise.
50134         * iconvdata/ibm1142.h: Likewise.
50135         * iconvdata/ibm1143.h: Likewise.
50136         * iconvdata/ibm1144.h: Likewise.
50137         * iconvdata/ibm1145.h: Likewise.
50138         * iconvdata/ibm1146.h: Likewise.
50139         * iconvdata/ibm1147.h: Likewise.
50140         * iconvdata/ibm1148.h: Likewise.
50141         * iconvdata/ibm1149.h: Likewise.
50142         * iconvdata/ibm1153.h: Likewise.
50143         * iconvdata/ibm1154.h: Likewise.
50144         * iconvdata/ibm1155.h: Likewise.
50145         * iconvdata/ibm1156.h: Likewise.
50146         * iconvdata/ibm1157.h: Likewise.
50147         * iconvdata/ibm1158.h: Likewise.
50148         * iconvdata/ibm1160.h: Likewise.
50149         * iconvdata/ibm1161.h: Likewise.
50150         * iconvdata/ibm1162.h: Likewise.
50151         * iconvdata/ibm1163.h: Likewise.
50152         * iconvdata/ibm1164.h: Likewise.
50153         * iconvdata/ibm1166.h: Likewise.
50154         * iconvdata/ibm1167.h: Likewise.
50155         * iconvdata/ibm12712.h: Likewise.
50156         * iconvdata/ibm1390.h: Likewise.
50157         * iconvdata/ibm1399.h: Likewise.
50158         * iconvdata/ibm16804.h: Likewise.
50159         * iconvdata/ibm4517.h: Likewise.
50160         * iconvdata/ibm4899.h: Likewise.
50161         * iconvdata/ibm4909.h: Likewise.
50162         * iconvdata/ibm4971.h: Likewise.
50163         * iconvdata/ibm5347.h: Likewise.
50164         * iconvdata/ibm803.h: Likewise.
50165         * iconvdata/ibm856.h: Likewise.
50166         * iconvdata/ibm901.h: Likewise.
50167         * iconvdata/ibm902.h: Likewise.
50168         * iconvdata/ibm9030.h: Likewise.
50169         * iconvdata/ibm9066.h: Likewise.
50170         * iconvdata/ibm921.h: Likewise.
50171         * iconvdata/ibm922.h: Likewise.
50172         * iconvdata/ibm9448.h: Likewise.
50173         * iconvdata/isiri-3342.h: Likewise.
50174         * iconvdata/jis0201.h: Likewise.
50175         * include/link.h: Likewise.
50176         * include/netdb.h: Likewise.
50177         * inet/check_native.c: Likewise.
50178         * inet/check_pf.c: Likewise.
50179         * inet/getipv4sourcefilter.c: Likewise.
50180         * inet/getnameinfo.c: Likewise.
50181         * inet/getsourcefilter.c: Likewise.
50182         * inet/htonl.c: Likewise.
50183         * inet/setipv4sourcefilter.c: Likewise.
50184         * inet/setsourcefilter.c: Likewise.
50185         * inet/test-inet6_opt.c: Likewise.
50186         * inet/tst-network.c: Likewise.
50187         * locale/C-collate.c: Likewise.
50188         * locale/C-ctype.c: Likewise.
50189         * locale/C-time.c: Likewise.
50190         * locale/C-translit.h: Likewise.
50191         * locale/loadarchive.c: Likewise.
50192         * locale/programs/3level.h: Likewise.
50193         * locale/programs/charmap.c: Likewise.
50194         * locale/programs/charmap.h: Likewise.
50195         * locale/programs/ld-address.c: Likewise.
50196         * locale/programs/ld-collate.c: Likewise.
50197         * locale/programs/ld-ctype.c: Likewise.
50198         * locale/programs/ld-identification.c: Likewise.
50199         * locale/programs/ld-measurement.c: Likewise.
50200         * locale/programs/ld-messages.c: Likewise.
50201         * locale/programs/ld-monetary.c: Likewise.
50202         * locale/programs/ld-name.c: Likewise.
50203         * locale/programs/ld-numeric.c: Likewise.
50204         * locale/programs/ld-paper.c: Likewise.
50205         * locale/programs/ld-telephone.c: Likewise.
50206         * locale/programs/ld-time.c: Likewise.
50207         * locale/programs/linereader.c: Likewise.
50208         * locale/programs/locale.c: Likewise.
50209         * locale/programs/locarchive.c: Likewise.
50210         * locale/programs/locfile.h: Likewise.
50211         * locale/programs/repertoire.c: Likewise.
50212         * locale/programs/simple-hash.c: Likewise.
50213         * locale/programs/simple-hash.h: Likewise.
50214         * malloc/memusage.c: Likewise.
50215         * malloc/memusagestat.c: Likewise.
50216         * nis/nis_defaults.c: Likewise.
50217         * nis/nis_hash.c: Likewise.
50218         * nis/nis_print.c: Likewise.
50219         * nis/nis_xdr.c: Likewise.
50220         * nscd/connections.c: Likewise.
50221         * nscd/hstcache.c: Likewise.
50222         * nscd/nscd_gethst_r.c: Likewise.
50223         * nscd/nscd_getserv_r.c: Likewise.
50224         * nscd/nscd_helper.c: Likewise.
50225         * nscd/servicescache.c: Likewise.
50226         * nss/makedb.c: Likewise.
50227         * nss/nss_db/db-XXX.c: Likewise.
50228         * nss/nss_db/db-initgroups.c: Likewise.
50229         * nss/nss_db/db-netgrp.c: Likewise.
50230         * nss/nss_files/files-network.c: Likewise.
50231         * nss/nss_files/files-parse.c: Likewise.
50232         * posix/bug-regex5.c: Likewise.
50233         * posix/fnmatch_loop.c: Likewise.
50234         * posix/regcomp.c: Likewise.
50235         * posix/regexec.c: Likewise.
50236         * posix/tst-rfc3484-2.c: Likewise.
50237         * posix/tst-rfc3484-3.c: Likewise.
50238         * posix/tst-rfc3484.c: Likewise.
50239         * resolv/nss_dns/dns-canon.c: Likewise.
50240         * resolv/nss_dns/dns-network.c: Likewise.
50241         * resolv/res_init.c: Likewise.
50242         * resolv/res_mkquery.c: Likewise.
50243         * resolv/tst-aton.c: Likewise.
50244         * stdlib/cxa_atexit.c: Likewise.
50245         * stdlib/cxa_finalize.c: Likewise.
50246         * stdlib/gen-fpioconst.c: Likewise.
50247         * stdlib/strtol_l.c: Likewise.
50248         * string/tst-endian.c: Likewise.
50249         * sunrpc/auth_des.c: Likewise.
50250         * sunrpc/clnt_udp.c: Likewise.
50251         * sunrpc/rtime.c: Likewise.
50252         * sunrpc/svcauth_des.c: Likewise.
50253         * sunrpc/xdr.c: Likewise.
50254         * sunrpc/xdr_intXX_t.c: Likewise.
50255         * sunrpc/xdr_rec.c: Likewise.
50256         * sysdeps/generic/ldconfig.h: Likewise.
50257         * sysdeps/generic/ldsodefs.h: Likewise.
50258         * sysdeps/generic/memusage.h: Likewise.
50259         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50260         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50261         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50262         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50263         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50264         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50265         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50266         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50267         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50268         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50269         * sysdeps/posix/getaddrinfo.c: Likewise.
50270         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50271         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50272         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50273         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50274         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50275         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50276         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50277         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50278         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50279         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50280         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50281         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50282         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50283         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50284         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50285         * sysdeps/x86_64/dl-tls.h: Likewise.
50286         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50287         * time/alt_digit.c: Likewise.
50288         * time/era.c: Likewise.
50289         * wcsmbs/tst-c16c32-1.c: Likewise.
50291 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50293         * math/libm-test.inc (struct test_sincos_data): New type.
50294         (RUN_TEST_LOOP_sincos): New macro.
50295         (sincos_test_data): New variable.
50296         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50298 2013-05-16  Richard Henderson  <rth@redhat.com>
50300         * math/atest-exp2.c (LIMB64): New macro.
50301         (CONSTSZ): New macro.
50302         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50303         (hexdig): Move ...
50304         (print_mpn_fp): ... to function scope.
50305         (read_mpn_hex): Remove.
50306         (get_log2): Remove.
50307         (exp2_mpn): Use mp_log2.
50308         (main): Use mp_exp1.
50310 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50312         * math/libm-test.inc: Remove comment about not testing "inexact"
50313         exceptions.
50314         (INEXACT_EXCEPTION): New macro.
50315         (NO_INEXACT_EXCEPTION): Likewise.
50316         (INVALID_EXCEPTION_OK): Update value.
50317         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50318         (OVERFLOW_EXCEPTION_OK): Likewise.
50319         (UNDERFLOW_EXCEPTION_OK): Likewise.
50320         (IGNORE_ZERO_INF_SIGN): Likewise.
50321         (ERRNO_UNCHANGED): Likewise.
50322         (ERRNO_EDOM): Likewise.
50323         (ERRNO_ERANGE): Likewise.
50324         (test_exceptions): Handle testing "inexact" exceptions.
50325         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50326         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50327         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50328         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50329         INEXACT_EXCEPTION.
50330         (rint_towardzero_test_data): Likewise.
50331         (rint_downward_test_data): Likewise.
50332         (rint_upward_test_data): Likewise.
50334         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50335         with OVERFLOW_EXCEPTION.
50336         (exp10_test_data): Likewise.
50337         (exp2_test_data): Likewise.
50338         (expm1_test_data): Likewise.
50339         (lgamma_test_data): Likewise.
50340         (pow_test_data): Likewise.
50341         (tgamma_test_data): Likewise.
50342         (yn_test_data): Remove duplicate test of overflow.
50344         * math/libm-test.inc (struct test_cc_c_data): New type.
50345         (RUN_TEST_LOOP_cc_c): New macro.
50346         (cpow_test_data): New variable.
50347         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50349         * math/libm-test.inc (struct test_f_L_data): New type.
50350         (RUN_TEST_LOOP_f_L): New macro.
50351         (llrint_test_data): New variable.
50352         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50353         (llrint_tonearest_test_data): New variable.
50354         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50355         (llrint_towardzero_test_data): New variable.
50356         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50357         (llrint_downward_test_data): New variable.
50358         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50359         (llrint_upward_test_data): New variable.
50360         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50361         (llround_test_data): New variable.
50362         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50364 2013-05-13  Peter Collingbourne  <pcc@google.com>
50366         * math/atest-exp2.c (get_log2): Remove const attribute.
50368 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50370         * math/libm-test.inc (struct test_f_l_data): New type.
50371         (RUN_TEST_LOOP_f_l): New macro.
50372         (lrint_test_data): New variable.
50373         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50374         (lrint_tonearest_test_data): New variable.
50375         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50376         (lrint_towardzero_test_data): New variable.
50377         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50378         (lrint_downward_test_data): New variable.
50379         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50380         (lrint_upward_test_data): New variable.
50381         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50382         (lround_test_data): New variable.
50383         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50385 2013-05-15  Peter Collingbourne  <pcc@google.com>
50387         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50388         (EXTRACT_WORDS64) Use where appropriate.
50389         (INSERT_WORDS64) Likewise.
50391         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50392         constraints with x constraints.
50393         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50395         * malloc/obstack.c (_obstack_compat): Add initializer.
50397 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50399         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50400         si_trapno and add si_addr_lsb to _sifields.sigfault.
50401         (si_trapno): Remove macro.
50402         (si_addr_lsb): Define new macro.
50403         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50405 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50407         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50408         instead of TEST_f_l.
50409         (llrint_test_tonearest): Likewise.
50410         (llrint_test_towardzero): Likewise.
50411         (llrint_test_downward): Likewise.
50412         (llrint_test_upward): Likewise.
50413         (llround_test): Likewise.
50415         * math/libm-test.inc (struct test_f_i_data): Add comment.
50416         (RUN_TEST_LOOP_f_b): New macro.
50417         (RUN_TEST_LOOP_f_b_tg): Likewise.
50418         (finite_test_data): New variable.
50419         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50420         (isfinite_test_data): New variable.
50421         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50422         (isinf_test_data): New variable.
50423         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50424         (isnan_test_data): New variable.
50425         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50426         (isnormal_test_data): New variable.
50427         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50428         (issignaling_test_data): New variable.
50429         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50430         (signbit_test_data): New variable.
50431         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50433         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50434         with INVALID_EXCEPTION.
50435         (acosh_test_data): Likewise.
50436         (asin_test_data): Likewise.
50437         (atanh_test_data): Likewise.
50438         (fmod_test_data): Likewise.
50439         (log_test_data): Likewise.
50440         (log10_test_data): Likewise.
50441         (log2_test_data): Likewise.
50442         (pow_test_data): Likewise.
50443         (sqrt_test_data): Likewise.
50444         (y0_test_data): Likewise.
50445         (y1_test_data): Likewise.
50446         (yn_test_data): Likewise.
50448         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50449         function contents.
50451         * math/libm-test.inc (struct test_ff_i_data): New type.
50452         (RUN_TEST_LOOP_ff_i_tg): New macro.
50453         (isgreater_test_data): New variable.
50454         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50455         (isgreaterequal_test_data): New variable.
50456         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50457         (isless_test_data): New variable.
50458         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50459         (islessequal_test_data): New variable.
50460         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50461         (islessgreater_test_data): New variable.
50462         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50463         (isunordered_test_data): New variable.
50464         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50466 2013-05-14  David S. Miller  <davem@davemloft.net>
50468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50470 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50472         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50474         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50475         extra_test to int.
50476         (struct test_f_i_data): Change type of max_ulp to int.
50478         * math/libm-test.inc (test_ffI_f1_data): New type.
50479         (RUN_TEST_LOOP_ffI_f1): New macro.
50480         (remquo_test_data): New variable.
50481         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50483         * setjmp/tst-setjmp-fp.c: New file.
50484         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50485         (link-libm): New variable.
50486         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50488         * math/libm-test.inc (struct test_f_i_data): New type.
50489         (RUN_TEST_LOOP_f_i): New macro.
50490         (RUN_TEST_LOOP_f_i_tg): Likewise.
50491         (fpclassify_test_data): New variable.
50492         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50493         (ilogb_test_data): New variable.
50494         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50496         * math/libm-test.inc (scalbln_test): Correct function name in END
50497         call.
50499         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50500         (RUN_TEST_LOOP_fI_f1): New macro.
50501         (frexp_test_data): New variable.
50502         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50504         * math/libm-test.inc (struct test_fF_f1_data): New type.
50505         (RUN_TEST_LOOP_fF_f1): New macro.
50506         (modf_test_data): New variable.
50507         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50509         * math/libm-test.inc (struct test_f_f1_data): New type.
50510         (RUN_TEST_LOOP_f_f1): New macro.
50511         (gamma_test_data): New variable.
50512         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50513         (lgamma_test_data): New variable.
50514         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50516 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
50518         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50519         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50520         (main): Comment "tls" pseudo-hwcap.
50522 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
50524         * math/libm-test.inc (struct test_fl_f_data): New type.
50525         (RUN_TEST_LOOP_fl_f): New variable.
50526         (scalbln_test_data): New variable.
50527         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50529         * math/libm-test.inc (struct test_fi_f_data): New type.
50530         (RUN_TEST_LOOP_fi_f): New macro.
50531         (ldexp_test_data): New variable.
50532         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50533         (scalbn_test_data): New variable.
50534         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50536         * math/libm-test.inc (struct test_c_f_data): New type.
50537         (RUN_TEST_LOOP_c_f): New macro.
50538         (cabs_test_data): New variable.
50539         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50540         (carg_test_data): New variable.
50541         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50542         (cimag_test_data): New variable.
50543         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50544         (creal_test_data): New variable.
50545         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50547         * math/libm-test.inc (struct test_if_f_data): New type.
50548         (RUN_TEST_LOOP_if_f): New macro.
50549         (jn_test_data): New variable.
50550         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50551         (yn_test_data): New variable.
50552         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50554         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50556 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50558         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50559         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50561 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50563         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50564         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50565         (bench-deps): Add bench-timing.h.
50566         * benchtests-bench-skeleton.c: Include bench-timing.h.
50567         (main): Use TIMING_* macros instead of clock_gettime.
50568         * benchtests/bench-timing.h: New file.
50570         [BZ #14582]
50571         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50572         Renamed from _LIB_VERSION.
50573         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50575 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50577         * math/libm-test.inc (struct test_fff_f_data): New type.
50578         (RUN_TEST_LOOP_fff_f): New macro.
50579         (fma_test_data): New variable.
50580         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50581         (fma_towardzero_test_data): New variable.
50582         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50583         (fma_downward_test_data): New variable.
50584         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50585         (fma_upward_test_data): New variable.
50586         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50588         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50589         (struct test_c_c_data): New type.
50590         (RUN_TEST_LOOP_c_c): New macro.
50591         (cacos_test_data): New variable.
50592         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50593         (cacosh_test_data): New variable.
50594         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50595         (casin_test_data): New variable.
50596         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50597         (casinh_test_data): New variable.
50598         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50599         (catan_test_data): New variable.
50600         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50601         (catanh_test_data): New variable.
50602         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50603         (ccos_test_data): New variable.
50604         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50605         (ccosh_test_data): New variable.
50606         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50607         (cexp_test_data): New variable.
50608         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50609         (clog_test_data): New variable.
50610         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50611         (clog10_test_data): New variable.
50612         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50613         (conj_test_data): New variable.
50614         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50615         (cproj_test_data): New variable.
50616         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50617         (csin_test_data): New variable.
50618         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50619         (csinh_test_data): New variable.
50620         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50621         (csqrt_test_data): New variable.
50622         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50623         (ctan_test_data): New variable.
50624         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50625         (ctan_tonearest_test_data): New variable.
50626         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50627         (ctan_towardzero_test_data): New variable.
50628         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50629         (ctan_downward_test_data): New variable.
50630         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50631         (ctan_upward_test_data): New variable.
50632         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50633         (ctanh_test_data): New variable.
50634         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50635         (ctanh_tonearest_test_data): New variable.
50636         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50637         (ctanh_towardzero_test_data): New variable.
50638         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50639         (ctanh_downward_test_data): New variable.
50640         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50641         (ctanh_upward_test_data): New variable.
50642         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50643         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50644         of BUILD_COMPLEX.
50646         * math/libm-test.inc (struct test_ff_f_data): New type.
50647         (struct test_ff_f_data_nexttoward): Likewise.
50648         (RUN_TEST_LOOP_2_f): New macro.
50649         (RUN_TEST_LOOP_ff_f): Likewise.
50650         (atan2_test_data): New variable.
50651         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50652         (copysign_test_data): New variable.
50653         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50654         (fdim_test_data): New variable.
50655         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50656         (fmax_test_data): New variable.
50657         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50658         (fmin_test_data): New variable.
50659         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50660         (fmod_test_data): New variable.
50661         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50662         (hypot_test_data): New variable.
50663         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50664         (nextafter_test_data): New variable.
50665         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50666         (nexttoward_test_data): New variable.
50667         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50668         (pow_test_data): New variable.
50669         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50670         (pow_tonearest_test_data): New variable.
50671         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50672         (pow_towardzero_test_data): New variable.
50673         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50674         (pow_downward_test_data): New variable.
50675         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50676         (pow_upward_test_data): New variable.
50677         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50678         (remainder_test_data): New variable.
50679         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50680         (scalb_test_data): New variable.
50681         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50682         * sysdeps/i386/fpu/libm-test-ulps: Update.
50684 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
50686         * math/libm-test.inc (fma_test): Use max_value instead of local
50687         variable fltmax.
50688         (nextafter_test): Likewise.
50690         * math/libm-test.inc (acos_towardzero_test_data): New variable.
50691         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50692         (acos_downward_test_data): New variable.
50693         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50694         (acos_upward_test_data): New variable.
50695         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50696         (acosh_test_data): New variable.
50697         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50698         (asin_test_data): New variable.
50699         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50700         (asin_tonearest_test_data): New variable.
50701         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50702         (asin_towardzero_test_data): New variable.
50703         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50704         (asin_downward_test_data): New variable.
50705         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50706         (asin_upward_test_data): New variable.
50707         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50708         (asinh_test_data): New variable.
50709         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50710         (atan_test_data): New variable.
50711         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50712         (atanh_test_data): New variable.
50713         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50714         (cbrt_test_data): New variable.
50715         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50716         (ceil_test_data): New variable.
50717         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50718         (cos_test_data): New variable.
50719         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50720         (cos_tonearest_test_data): New variable.
50721         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50722         (cos_towardzero_test_data): New variable.
50723         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50724         (cos_downward_test_data): New variable.
50725         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50726         (cos_upward_test_data): New variable.
50727         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50728         (cosh_test_data): New variable.
50729         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50730         (cosh_tonearest_test_data): New variable.
50731         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50732         (cosh_towardzero_test_data): New variable.
50733         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50734         (cosh_downward_test_data): New variable.
50735         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50736         (cosh_upward_test_data): New variable.
50737         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50738         (erf_test_data): New variable.
50739         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50740         (erfc_test_data): New variable.
50741         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50742         (exp_test_data): New variable.
50743         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50744         (exp_tonearest_test_data): New variable.
50745         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50746         (exp_towardzero_test_data): New variable.
50747         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50748         (exp_downward_test_data): New variable.
50749         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50750         (exp_upward_test_data): New variable.
50751         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50752         (exp10_test_data): New variable.
50753         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50754         (exp2_test_data): New variable.
50755         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50756         (expm1_test_data): New variable.
50757         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50758         (fabs_test_data): New variable.
50759         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50760         (floor_test_data): New variable.
50761         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50762         (j0_test_data): New variable.
50763         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50764         (j1_test_data): New variable.
50765         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50766         (log_test_data): New variable.
50767         (log_test): Run tests with RUN_TEST_LOOP_f_f.
50768         (log10_test_data): New variable.
50769         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50770         (log1p_test_data): New variable.
50771         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50772         (log2_test_data): New variable.
50773         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50774         (logb_test_data): New variable.
50775         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50776         (logb_downward_test_data): New variable.
50777         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50778         (nearbyint_test_data): New variable.
50779         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50780         (rint_test_data): New variable.
50781         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50782         (rint_tonearest_test_data): New variable.
50783         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50784         (rint_towardzero_test_data): New variable.
50785         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50786         (rint_downward_test_data): New variable.
50787         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50788         (rint_upward_test_data): New variable.
50789         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50790         (round_test_data): New variable.
50791         (round_test): Run tests with RUN_TEST_LOOP_f_f.
50792         (sin_test_data): New variable.
50793         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50794         (sin_tonearest_test_data): New variable.
50795         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50796         (sin_towardzero_test_data): New variable.
50797         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50798         (sin_downward_test_data): New variable.
50799         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50800         (sin_upward_test_data): New variable.
50801         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50802         (sinh_test_data): New variable.
50803         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
50804         (sinh_tonearest_test_data): New variable.
50805         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50806         (sinh_towardzero_test_data): New variable.
50807         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50808         (sinh_downward_test_data): New variable.
50809         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50810         (sinh_upward_test_data): New variable.
50811         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50812         (sqrt_test_data): New variable.
50813         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50814         (tan_test_data): New variable.
50815         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50816         (tan_tonearest_test_data): New variable.
50817         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50818         (tan_towardzero_test_data): New variable.
50819         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50820         (tan_downward_test_data): New variable.
50821         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50822         (tan_upward_test_data): New variable.
50823         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50824         (tanh_test_data): New variable.
50825         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50826         (tgamma_test_data): New variable.
50827         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50828         (trunc_test_data): New variable.
50829         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50830         (y0_test_data): New variable.
50831         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50832         (y1_test_data): New variable.
50833         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50834         (significand_test_data): New variable.
50835         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50837 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
50839         [BZ #12387]
50840         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50842 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50844         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50846 2013-05-10  Andreas Jaeger  <aj@suse.de>
50848         [BZ #15448]
50849         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50850         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50852 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50854         * math/gen-libm-test.pl (adjust_arg): New function.
50855         (special_functions): Handle generating output in both functions
50856         and arrays.
50857         (parse_args): Likewise.
50858         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
50859         $in_func argument to parse_args.
50860         * math/libm-test.inc (struct test_f_f_data): New type.
50861         (IF_ROUND_INIT_): New macro.
50862         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50863         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50864         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50865         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50866         (ROUND_RESTORE_): Likewise.
50867         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50868         (ROUND_RESTORE_FE_TONEAREST): Likewise.
50869         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50870         (ROUND_RESTORE_FE_UPWARD): Likewise.
50871         (RUN_TEST_LOOP_f_f): New macro.
50872         (acos_test_data): New variable.
50873         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50874         (acos_tonearest_test_data): New variable.
50875         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50877 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50879         * benchtests/bench-skeleton.c (startup): Fix coding style.
50881 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50883         [BZ #6809]
50884         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50885         negative infinity argument.
50886         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50887         negative infinity argument.
50888         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50889         negative infinity argument.
50890         * math/libm-test.inc (tgamma_test): Expect errno to be set for
50891         domain errors.
50893 2013-05-10  Florian Weimer  <fweimer@redhat.com>
50895         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50896         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50897         * iconv/iconv_prog.c (main): Likewise.
50898         * locale/programs/charmap-dir.c (charmap_readdir)
50899         (fopen_uncompressed): Likewise.
50900         * locale/programs/locfile.c (siblings_uncached)
50901         (write_locale_data): Use lstat64 instead of lstat.
50902         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50903         stat.
50905 2013-05-10  Andreas Jaeger  <aj@suse.de>
50907         [BZ #15395]
50908         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50909         localization.
50910         Include <locale.h>.
50912 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
50914         * elf/dl-close.c (_dl_close_worker): Add comments.
50916 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
50918         [BZ #15359]
50919         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50920         high part of pi/2.
50921         (__ieee754_rem_pio2l): Update comments.
50923         [BZ #15429]
50924         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50925         high part of pi/2.
50926         (__ieee754_rem_pio2l): Update comments.
50928         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50929         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50931         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50932         M_PI_4l.
50934         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50935         (M_PI_34_LOG10El): Likewise.
50936         (M_PI2_LOG10El): Likewise.
50937         (M_PI4_LOG10El): Likewise.
50938         (M_PI_LOG10El): Likewise.
50940 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50944 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
50946         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50947         (MINUS_ZERO_INIT): Likewise.
50948         (PLUS_INFTY_INIT): Likewise.
50949         (MINUS_INFTY_INIT): Likewise.
50950         (QNAN_VALUE_INIT): Likewise.
50951         (MAX_VALUE_INIT): Likewise.
50952         (MIN_VALUE_INIT): Likewise.
50953         (MIN_SUBNORM_VALUE_INIT): Likewise.
50954         (plus_zero): Initialize with PLUS_ZERO_INIT.
50955         (minus_zero): Initialize with MINUS_ZERO_INIT.
50956         (plus_infty): Initialize with PLUS_INFTY_INIT.
50957         (minus_infty): Initialize with MINUS_INFTY_INIT.
50958         (qnan_value): Initialize with QNAN_VALUE_INIT.
50959         (max_value): Initialize with MAX_VALUE_INIT.
50960         (min_value): Initialize with MIN_VALUE_INIT.
50961         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50963         * math/libm-test.inc (RUN_TEST_if_f): New macro.
50964         (jn_test): Use TEST_if_f instead of TEST_ff_f.
50965         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50966         (yn_test): Use TEST_if_f instead of TEST_ff_f.
50968         * math/libm-test.inc (RUN_TEST_f_f): New macro.
50969         (RUN_TEST_2_f): Likewise.
50970         (RUN_TEST_ff_f): Likewise.
50971         (RUN_TEST_fi_f): Likewise.
50972         (RUN_TEST_fl_f): Likewise.
50973         (RUN_TEST_fff_f): Likewise.
50974         (RUN_TEST_c_f): Likewise.
50975         (RUN_TEST_f_f1): Likewise.
50976         (RUN_TEST_fF_f1): Likewise.
50977         (RUN_TEST_fI_f1): Likewise.
50978         (RUN_TEST_ffI_f1): Likewise.
50979         (RUN_TEST_c_c): Likewise.
50980         (RUN_TEST_cc_c): Likewise.
50981         (RUN_TEST_f_i): Likewise.
50982         (RUN_TEST_f_i_tg): Likewise.
50983         (RUN_TEST_ff_i_tg): Likewise.
50984         (RUN_TEST_f_b): Likewise.
50985         (RUN_TEST_f_b_tg): Likewise.
50986         (RUN_TEST_f_l): Likewise.
50987         (RUN_TEST_f_L): Likewise.
50988         (RUN_TEST_sincos): Likewise.
50989         * math/gen-libm-test.pl (new_test): Take new argument to indicate
50990         whether to show exceptions.  Do not include ");\n" in return
50991         value.
50992         (special_functions): Output call to RUN_TEST_sincos instead of
50993         check_float calls.  Update calls to new_test.
50994         (parse_args): Output call to single RUN_TEST_* macro instead of
50995         check_* calls and other assignments.  Update calls to new_test.
50997         [BZ #2546]
50998         [BZ #2560]
50999         [BZ #5159]
51000         [BZ #15426]
51001         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51002         input to result for tgamma overflow.
51003         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51004         (gamma_coeff): New variable.
51005         (NCOEFF): New macro.
51006         (gamma_positive): New function.
51007         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51008         underflow here.  Use gamma_positive instead of exp (lgamma) for
51009         other arguments.
51010         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51011         (gamma_coeff): New variable.
51012         (NCOEFF): New macro.
51013         (gammaf_positive): New function.
51014         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51015         underflow here.  Use gamma_positive instead of exp (lgamma) for
51016         other arguments.
51017         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51018         (gamma_coeff): New variable.
51019         (NCOEFF): New macro.
51020         (gammal_positive): New function.
51021         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51022         underflow here.  Use gamma_positive instead of exp (lgamma) for
51023         other arguments.
51024         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51025         (gamma_coeff): New variable.
51026         (NCOEFF): New macro.
51027         (gammal_positive): New function.
51028         (__ieee754_gammal_r): Handle positive infinity, overflow and
51029         underflow here.  Handle NaN the same as positive infinity.  Remove
51030         check x < 0xffffffff for negative integers.  Use gamma_positive
51031         instead of exp (lgamma) for other arguments.
51032         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51033         (gamma_coeff): New variable.
51034         (NCOEFF): New macro.
51035         (gammal_positive): New function.
51036         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51037         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51038         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51039         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51040         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51041         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51042         * sysdeps/generic/math_private.h (__gamma_productf): New
51043         prototype.
51044         (__gamma_product): Likewise.
51045         (__gamma_productl): Likewise.
51046         * math/Makefile (libm-calls): Add gamma_product.
51047         * math/libm-test.inc (tgamma_test): Add more tests.
51048         * sysdeps/i386/fpu/libm-test-ulps: Update.
51049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51051 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51053         * benchtests/bench-skeleton.c (main): Preheat CPU.
51055 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51057         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51059 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51061         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51062         and _dl_skip_args_internal.
51064 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51066         * manual/message.texi (Message Translation): Talk about users.
51067         Message to key mapping impacts design.
51069 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51071         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51073         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51075         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51076         * sysdeps/wordsize-64/glob64.c: ... here.
51078         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51079         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51080         New macros.
51082         * debug/getlogin_r_chk.c: Moved to ...
51083         * login/getlogin_r_chk.c: ... here.
51084         * debug/Makefile (routines): Move getlogin_r_chk to ...
51085         * login/Makefile (routines): ... here.
51086         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51087         * login/Versions (libc: GLIBC_2.4): ... here.
51089         * io/poll.c (__poll): Renamed from poll.
51090         Add libc_hidden_def.
51091         (poll): Define as weak alias.
51093         * debug/ptsname_r_chk.c: Moved to ...
51094         * login/ptsname_r_chk.c: ... here.
51095         * debug/Makefile (routines): Move ptsname_r_chk to ...
51096         * login/Makefile (routines): ... here.
51097         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51098         * login/Versions (libc: GLIBC_2.4): ... here.
51100         * posix/getlogin.c: Moved to ...
51101         * login/getlogin.c: ... here.
51102         * posix/getlogin_r.c: Moved to ...
51103         * login/getlogin_r.c: ... here.
51104         * posix/getlogin_r.c: Moved to ...
51105         * login/getlogin_r.c: ... here.
51106         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51107         * login/Makefile (routines): ... here.
51108         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51109         * login/Versions (libc: GLIBC_2.0): ... here.
51111         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51112         (setrlimit): Define as weak alias.
51114         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51115         Call __ names for open, ftruncate, and close.
51116         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51117         (truncate): Define as weak alias.
51119 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51121         * math/gen-libm-test.pl (parse_args): Initialize x before each
51122         test of frexp, modf and remquo.
51124         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51125         test signgam value.
51127 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51129         [BZ #15418]
51130         [BZ #15419]
51131         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51132         internal tests.
51133         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51135 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51137         * elf/dl-writev.h: New file.
51138         * elf/dl-misc.c: Include it.
51139         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51140         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51142 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51144         * math/libm-test.inc (noXFails): Remove variable.
51145         (noXPasses): Likewise.
51146         (BUILD_COMPLEX_INT): Remove macro.
51147         (print_screen): Remove xfail argument.
51148         (print_screen_max_error): Likewise.
51149         (update_stats): Likewise.
51150         (print_max_error): Likewise.  Update calls to other affected
51151         functions.
51152         (print_complex_max_error): Likewise.
51153         (test_single_exception): Update calls to print_screen.
51154         (test_single_errno): Likewise.
51155         (check_float_internal): Remove xfail argument.  Update calls to
51156         other affected functions.
51157         (check_float): Likewise.
51158         (check_complex): Likewise.
51159         (check_int): Likewise.
51160         (check_long): Likewise.
51161         (check_bool): Likewise.
51162         (check_longlong): Likewise.
51163         (main): Don't print noXFails and noXPasses.
51164         * math/gen-libm-test.pl (top level): Don't mention expected
51165         failure handling in comment.
51166         (new_test): Don't handle expected failures.
51167         (parse_args): Don't mention expected failure handling in comment.
51168         (generate_testfile): Don't handle expected failures.
51169         (parse_ulps): Likewise.
51170         (print_ulps_file): Likewise.
51171         (get_failure): Remove function.
51172         (output_test): Don't handle expected failures.
51173         * make/README.libm-test: Don't mention expected failure handling.
51175         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51176         (minus_zero): Likewise.
51177         (plus_infty): Likewise.
51178         (minus_infty): Likewise.
51179         (qnan_value): Likewise.
51180         (max_value): Likewise.
51181         (min_value): Likewise.
51182         (min_subnorm_value): Likewise.
51183         (initialize): Do not initialize those variables dynamically.
51185 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51187         * io/open.c (__open_2): Moved to ...
51188         * io/open_2.c: ... this new file.
51189         * io/open64.c (__open64_2): Moved to ...
51190         * io/open64_2.c: ... this new file.
51191         * io/openat.c (__openat_2): Moved to ...
51192         * io/openat_2.c: ... this new file.
51193         * io/openat64.c (__openat64_2): Moved to ...
51194         * io/openat64_2.c: ... this new file.
51195         * io/Makefile (routines): Add them.
51196         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51197         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51198         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51199         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51200         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51201         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51202         (__openat64): Add hidden_ver.
51203         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51204         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51206         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51207         Separately conditionalize setting of GLRO(dl_sysinfo) so
51208         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51209         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51211 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51213         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51214         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51215         definition.
51216         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51217         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51218         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51219         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51220         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51222 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51224         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51225         test signgam value.
51227         * math/libm-test.inc (hypot_test): Do not use
51228         IGNORE_ZERO_INF_SIGN.
51230 2013-05-03  Andreas Jaeger  <aj@suse.de>
51232         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51233         Linux 3.9.
51234         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51235         (PF_MAX): Adjust for VSOCK change.
51237 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51241 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51243         [BZ #15264]
51244         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51245         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51246         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51248 2013-05-02  David S. Miller  <davem@davemloft.net>
51250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51252 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51254         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51256 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51258         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51260 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51262         [BZ #14952]
51263         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51264         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51265         Use __attribute__ ((__gnu_inline__)).
51266         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51267         Don't use __attribute__ ((__gnu_inline__)).
51269 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51271         [BZ #15423]
51272         * math/s_catan.c (__catan): Handle small real or imaginary part of
51273         input specially to avoid spurious underflow.
51274         * math/s_catanf.c (__catanf): Likewise.
51275         * math/s_catanh.c (__catanh): Likewise.
51276         * math/s_catanhf.c (__catanhf): Likewise.
51277         * math/s_catanhl.c (__catanhl): Likewise.
51278         * math/s_catanl.c (__catanl): Likewise.
51279         * math/libm-test.inc (catan_test): Add more tests.
51280         (catanh_test): Likewise.
51281         * sysdeps/i386/fpu/libm-test-ulps: Update.
51282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51284 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51288 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51290         [BZ #15416]
51291         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51292         accurately for denominator in atan2.
51293         * math/s_catanf.c (__catanf): Likewise.
51294         * math/s_catanh.c (__catanh): Likewise.
51295         * math/s_catanhf.c (__catanhf): Likewise.
51296         * math/s_catanhl.c (__catanhl): Likewise.
51297         * math/s_catanl.c (__catanl): Likewise.
51298         * math/libm-test.inc (catan_test): Add more tests.
51299         (catanh_test): Likewise.
51300         * sysdeps/i386/fpu/libm-test-ulps: Update.
51301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51303 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51305         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51307         * benchtests/Makefile (bench): Remove slow benchmarks.
51308         * benchtests/atan-inputs: Add slow benchmark inputs.
51309         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51310         (BENCH_FUNC): Accept variant offset.
51311         (VARIANT): Define.
51312         * benchtests/bench-skeleton.c (main): Run benchmark for each
51313         variant.
51314         * benchtests/cos-inputs: Add slow benchmark inputs.
51315         * benchtests/exp-inputs: Likewise.
51316         * benchtests/pow-inputs: Likewise.
51317         * benchtests/sin-inputs: Likewise.
51318         * benchtests/slowatan-inputs: Remove.
51319         * benchtests/slowatan.c: Remove.
51320         * benchtests/slowcos-inputs: Remove.
51321         * benchtests/slowcos.c: Remove.
51322         * benchtests/slowexp-inputs: Remove.
51323         * benchtests/slowexp.c: Remove.
51324         * benchtests/slowpow-inputs: Remove.
51325         * benchtests/slowpow.c: Remove.
51326         * benchtests/slowsin-inputs: Remove.
51327         * benchtests/slowsin.c: Remove.
51328         * benchtests/slowtan-inputs: Remove.
51329         * benchtests/slowtan.c: Remove.
51330         * benchtests/tan-inputs: Add slow benchmark inputs.
51331         * scripts/bench.pl: Parse comments and directives.
51333         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51334         in CPPFLAGS.
51335         ($(objpfx)bench-%.c): Remove *-ITER.
51336         * benchtests/bench-modf.c: Remove definition of ITER.
51337         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51338         (main): Loop for DURATION seconds instead of fixed number of
51339         iterations.
51340         * scripts/bench.pl: Don't expect iterations in parameters.
51342 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51344         * io/fchdir.c (__fchdir): Renamed from fchdir.
51345         (fchdir): Define as weak alias.
51347 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51349         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51350         (ERRNO_EDOM): Likewise.
51351         (ERRNO_ERANGE): Likewise.
51352         (noErrnoTests): New variable.
51353         (init_max_error): Set errno to 0.
51354         (test_single_errno): New function.
51355         (test_errno): Likewise.
51356         (check_float_internal): Call test_errno.  Set errno to 0.
51357         (check_complex): Refer to errno tests in comment.
51358         (check_int): Call test_errno.  Set errno to 0.
51359         (check_long): Likewise.
51360         (check_bool): Likewise.
51361         (check_longlong): Likewise.
51362         (cos_test): Use ERRNO_* flags for errno tests instead of
51363         check_int.
51364         (expm1_test): Likewise.
51365         (fmod_test): Likewise.
51366         (ilogb_test): Likewise.
51367         (lgamma_test): Likewise.
51368         (pow_test): Likewise.
51369         (remainder_test): Likewise.
51370         (sin_test): Likewise.
51371         (tan_test): Likewise.
51372         (yn_test): Likewise.
51373         (initialize): Set errno to 0.
51374         (main): Print number of errno tests.
51375         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51377 2013-04-29  Andreas Jaeger  <aj@suse.de>
51379         [BZ #15084]
51380         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51381         and RES_USEVC.
51383         [BZ #15085]
51384         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51385         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51386         unimplemented.
51388         [BZ #15380]
51389         * stdlib/random.c (__initstate): Return NULL if
51390         __initstate fails.
51392         [BZ #15086]
51393         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51394         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51395         RES_SNGLKUPREOP.
51397 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51401 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51403         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51404         of individual tests.
51405         (casin_test): Likewise.
51406         (casinh_test): Likewise.
51408 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51410         [BZ #15409]
51411         * math/s_catan.c (__catan): Handle arguments with large real or
51412         imaginary part separately without squaring.
51413         * math/s_catanf.c (__catanf): Likewise.
51414         * math/s_catanh.c (__catanh): Likewise.
51415         * math/s_catanhf.c (__catanhf): Likewise.
51416         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51417         and redefine.
51418         (__catanhl): Handle arguments with large real or imaginary part
51419         separately without squaring.
51420         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51421         and redefine.
51422         (__catanl): Handle arguments with large real or imaginary part
51423         separately without squaring.
51424         * math/libm-test.inc (catan_test): Add more tests.
51425         (catanh_test): Likewise.
51426         * sysdeps/i386/fpu/libm-test-ulps: Update.
51427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51429 2013-04-27  Andreas Jaeger  <aj@suse.de>
51431         [BZ #15007]
51432         * stdlib/stdlib.h: Update guards for qecvt.
51433         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51434         <stdlib.h>.
51436 2013-04-27  Allan McRae  <allan@archlinux.org>
51438         * sysdeps/i386/fpu/libm-test-ulps: Update.
51440 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51442         [BZ #15406]
51443         * math/s_catan.c: Include <float.h>.
51444         (__catan): Ensure underflow exception occurs for underflowed
51445         result.
51446         * math/s_catanf.c: Include <float.h>.
51447         (__catanf): Ensure underflow exception occurs for underflowed
51448         result.
51449         * math/s_catanh.c: Include <float.h>.
51450         (__catanh): Ensure underflow exception occurs for underflowed
51451         result.
51452         * math/s_catanhf.c: Include <float.h>.
51453         (__catanhf): Ensure underflow exception occurs for underflowed
51454         result.
51455         * math/s_catanhl.c: Include <float.h>.
51456         (__catanhl): Ensure underflow exception occurs for underflowed
51457         result.
51458         * math/s_catanl.c: Include <float.h>.
51459         (__catanl): Ensure underflow exception occurs for underflowed
51460         result.
51461         * math/libm-test.inc (catan_test): Add more tests.
51462         (catanh_test): Likewise.
51464         [BZ #15405]
51465         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51466         underflowed result.
51467         * math/s_ccoshf.c (__ccoshf): Likewise.
51468         * math/s_ccoshl.c (__ccoshl): Likewise.
51469         * math/s_csin.c (__csin): Likewise.
51470         * math/s_csinf.c (__csinf): Likewise.
51471         * math/s_csinh.c (__csinh): Likewise.
51472         * math/s_csinhf.c (__csinhf): Likewise.
51473         * math/s_csinhl.c (__csinhl): Likewise.
51474         * math/s_csinl.c (__csinl): Likewise.
51475         * math/libm-test.inc (ccos_test): Add more tests.
51476         (ccosh_test): Likewise.
51477         (csin_test): Likewise.
51478         (csinh_test): Likewise.
51480 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51482         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51483         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51484         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51485         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51486         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51487         powerpc/power5+/fpu folders.
51488         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51491 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51493         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51495 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51497         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51498         additions to variable.
51499         [$(config-machine) = x86_64] (modules-names): Likewise.
51500         ($(objpfx)tst-audit3): Remove dependency.
51501         ($(objpfx)tst-audit3.out): Likewise.
51502         ($(objpfx)tst-audit4): Likewise.
51503         ($(objpfx)tst-audit4.out): Likewise.
51504         ($(objpfx)tst-audit5): Likewise.
51505         ($(objpfx)tst-audit5.out): Likewise.
51506         ($(objpfx)tst-audit6): Likewise.
51507         ($(objpfx)tst-audit6.out): Likewise.
51508         ($(objpfx)tst-audit7): Likewise.
51509         ($(objpfx)tst-audit7.out): Likewise.
51510         (tst-audit3-ENV): Remove variable.
51511         (tst-audit4-ENV): Likewise.
51512         (tst-audit5-ENV): Likewise.
51513         (tst-audit6-ENV): Likewise.
51514         (tst-audit7-ENV): Likewise.
51515         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51516         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51517         addition to variable.
51518         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51519         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51520         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51521         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51522         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51523         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51524         tst-audit3, tst-audit4 and tst-audit5.
51525         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51526         tst-audit6 and tst-audit7.
51527         [$(subdir) = elf] (modules-names): Add audit modules for those
51528         tests.
51529         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51530         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51531         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51532         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51533         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51534         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51535         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51536         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51537         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51538         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51539         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51540         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51541         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51542         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51543         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51544         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51545         Likewise.
51546         [$(subdir) = elf && $(config-cflags-avx) = yes]
51547         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51548         [$(subdir) = elf && $(config-cflags-avx) = yes]
51549         (CFLAGS-tst-auditmod4a.c): Likewise.
51550         [$(subdir) = elf && $(config-cflags-avx) = yes]
51551         (CFLAGS-tst-auditmod4b.c): Likewise.
51552         [$(subdir) = elf && $(config-cflags-avx) = yes]
51553         (CFLAGS-tst-auditmod6b.c): Likewise.
51554         [$(subdir) = elf && $(config-cflags-avx) = yes]
51555         (CFLAGS-tst-auditmod6c.c): Likewise.
51556         [$(subdir) = elf && $(config-cflags-avx) = yes]
51557         (CFLAGS-tst-auditmod7b.c): Likewise.
51558         * elf/tst-audit3.c: Move to ...
51559         * sysdeps/x86_64/tst-audit3.c: ... here.
51560         * elf/tst-audit4.c: Move to ...
51561         * sysdeps/x86_64/tst-audit4.c: ... here.
51562         * elf/tst-audit5.c: Move to ...
51563         * sysdeps/x86_64/tst-audit5.c: ... here.
51564         * elf/tst-audit6.c: Move to ...
51565         * sysdeps/x86_64/tst-audit6.c: ... here.
51566         * elf/tst-audit7.c: Move to ...
51567         * sysdeps/x86_64/tst-audit7.c: ... here.
51568         * elf/tst-auditmod3a.c: Move to ...
51569         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51570         * elf/tst-auditmod3b.c: Move to ...
51571         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51572         * elf/tst-auditmod4a.c: Move to ...
51573         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51574         * elf/tst-auditmod4b.c: Move to ...
51575         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51576         * elf/tst-auditmod5a.c: Move to ...
51577         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51578         * elf/tst-auditmod5b.c: Move to ...
51579         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51580         * elf/tst-auditmod6a.c: Move to ...
51581         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51582         * elf/tst-auditmod6b.c: Move to ...
51583         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51584         * elf/tst-auditmod6c.c: Move to ...
51585         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51586         * elf/tst-auditmod7a.c: Move to ...
51587         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51588         * elf/tst-auditmod7b.c: Move to ...
51589         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51591 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51593         [BZ #15366]
51594         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51595         define unconditionally.
51596         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51597         define unconditionally.
51598         (INT8_C, INT16_C, etc.): Likewise.
51600 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
51602         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51603         __ehdr_start with hidden visibility.
51605         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51607 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
51609         * math/libm-test.inc (cos_test): Use accurate hex constants.
51610         (sincost_test): Likewise.
51612 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
51614         * math/libm-test.inc (catan_test): Add more tests.
51615         (catanh_test): Likewise.
51617         * math/s_catanf.c (__catanf): Use suffixed floating-point
51618         constants.
51619         * math/s_catanhf.c (__catanhf): Likewise.
51620         * math/s_catanhl.c (__catanhl): Likewise.
51621         * math/s_catanl.c (__catanl): Likewise.
51623         [BZ #15394]
51624         * math/s_catan.c (__catan): Calculate imaginary part of result
51625         with log1p not log unless computing log of number close to 0.
51626         * math/s_catanf.c (__catanf): Likewise.
51627         * math/s_catanl.c (__catanl): Likewise.
51628         * math/s_catanh.c (__catanh): Calculate real part of result with
51629         log1p not log unless computing log of number close to 0.
51630         * math/s_catanhf.c (__catanhf): Likewise.
51631         * math/s_catanhl.c (__catanhl): Likewise.
51632         * math/libm-test.inc (catan_test): Add more tests.
51633         (catanh_test): Likewise.
51634         * sysdeps/i386/fpu/libm-test-ulps: Update.
51635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51637 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51639         * benchtests/Makefile: Mention files in which fast and slow
51640         paths of math functions are implemented.
51642 2013-04-23  Roland McGrath  <roland@hack.frob.com>
51644         * sysdeps/posix/timespec_get.c: New file.
51646 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51648         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51649         POWER.
51650         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51651         for POWER.
51652         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51653         powerpc/power5/fpu folders.
51654         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51655         * benchtests/Makefile: Add modf testcase.
51656         * benchtests/bench-modf.c: New file: Benchmark test for mo
51658 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51660         [BZ #14888]
51661         * time/Makefile (tests): Add tst-strptime-whitespace.
51662         * time/strptime_l.c (get_number): Use ISSPACE.
51663         (__strptime_internal): Likewise.
51664         * time/tst-strptime-whitespace.c: New test case.
51666 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
51668         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51669         member.
51670         (_nss_files_init): Set it here.
51672 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
51674         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51675         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51676         unsigned.
51678 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
51680         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51682 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51684         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51685         size just once.
51687 2013-04-21  David S. Miller  <davem@davemloft.net>
51689         * po/ru.po: Update Russion translation from translation project.
51691 2013-04-17  Adam Conrad  <adconrad@0c3.net>
51693         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51694         and setfsgid.
51696 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
51698         * configure.in: Remove i386 configure warning. Remove i386 case.
51699         * configure: Regenerate.
51700         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51701         Add example to error message.
51702         * sysdeps/i386/configure: Regenerate.
51704 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51706         * benchtests/Makefile (bench): Add cos, tan, slowcos and
51707         slowtan.
51708         * benchtests/cos-inputs: New file.
51709         * benchtests/slowcos-inputs: New file.
51710         * benchtests/slowcos.c: New file.
51711         * benchtests/slowtan-inputs: New file.
51712         * benchtests/slowtan.c: New file.
51713         * benchtests/tan-inputs: New file.
51715 2013-04-16  Roland McGrath  <roland@hack.frob.com>
51717         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51718         considered kosher.
51720 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51722         * benchtests/Makefile: Include cppflags-iterator.mk to add
51723         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51725         * Makefile.in (bench-clean): New target.
51726         * benchtests/Makefile (bench-clean): Likewise.
51728 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
51730         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51732 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
51734         * stdio-common/tstdiomisc.c: Fix coding-style violation.
51736 2013-04-15  Andreas Schwab  <schwab@suse.de>
51738         * nscd/grpcache.c (cache_addgr): Properly check for short write.
51739         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51740         * nscd/pwdcache.c (cache_addpw): Likewise.
51741         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
51742         more than recsize.
51744 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51746         * benchtests/Makefile (bench): Write all output to
51747         bench-out.tmp together.
51749 2013-04-15  Andreas Schwab  <schwab@suse.de>
51751         * nscd/nscd.c (main): Don't fork again after closing files.
51753 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51755         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51757         * benchtests/Rules (bench-deps): Collect dependencies into a
51758         single variable.  Add Makefile to dependencies.
51759         ($(objpfx)bench-%.c): Depend on bench-deps.
51761 2013-04-12  Roland McGrath  <roland@hack.frob.com>
51762             Xavier Roche  <roche+kml2@exalead.com>
51764         [BZ #15361]
51765         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51766         just that it's a file descriptor.
51767         * manual/llio.texi (Synchronizing AIO Operations): Update description
51768         for EBADF error from aio_fsync.
51770 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51772         * Rules (bench): Move target definition...
51773         * benchtests/Makefile: ... here.
51775 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
51777         * math/libm-test.inc (cos_test): Fix PI/2 test.
51778         (sincos_test): Likewise.
51779         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51780         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51782 2013-04-11  Andreas Schwab  <schwab@suse.de>
51784         [BZ #13988]
51785         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51786         accept exponent character only when digits were seen.
51787         * stdio-common/Makefile (tests): Add bug26.
51788         * stdio-common/bug26.c: New file.
51790         [BZ #14293]
51791         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51792         non-freeable.
51794 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51796         * Makeconfig (rtld-prefix): Define built linker prefix.
51797         * Rules (run-bench): Use it.
51798         * math/Makefile (run-regen-ulps): Likewise.
51800         * Rules (bench): Remove eval.
51802 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51803             Roland McGrath  <roland@hack.frob.com>
51804             Ondrej Bilka  <neleai@seznam.cz>
51806         [BZ #15346]
51807         * time/getdate.c: Include ctype.h and alloca.h.
51808         (__getdate_r): Trim leading and trailing spaces of input.
51809         * time/tst-getdate.c (tests): Add tests with leading and
51810         trailing spaces.
51812 2013-04-08  Roland McGrath  <roland@hack.frob.com>
51814         [BZ #14280]
51815         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51816         when computing value.
51818 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51820         * math/README.libm-test (How can I generate "libm-test-ulps"?):
51821         Use testrun.sh to run libm tests.
51823         [BZ #15309]
51824         * elf/dl-open.c (dl_open_worker): memset all of seen array.
51826 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
51828         [BZ #15264]
51829         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51831 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51833         * Makefile.in (regen-ulps): New target.
51834         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51835         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51836         [ifneq (no,$(PERL)] (regen-ulps): New target.
51837         [ifeq (no,$(PERL)] (regen-ulps): New target.
51838         * math/libm-test.inc (ulps_file_name): Define.
51839         (output_dir): New variable.
51840         (options): Add "output-dir" option.
51841         (parse_opt): Handle 'o' case.
51842         (main): If output_dir is non-NULL use it as a prefix
51843         otherwise use "".
51844         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51846 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51848         [BZ #10060, #10062]
51849         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51850         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51851         fail configure if __sync_val_compare_and_swap is not inlined.
51852         * sysdeps/i386/configure: Regenerate.
51853         * configure.in: Build for i686 when configured for i386.
51854         * configure: Regenerate.
51855         * README: Remove i386 reference.
51857 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51859         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51860         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51862 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51864         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51865         (lmsnanval): New variables.
51866         (F): Add conversion tests.
51867         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51868         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51870         * stdio-common/tstdiomisc.c (F): Properly collect individual
51871         tests' results.
51873         [BZ #14686, #15336]
51874         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51875         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51876         Instead, use input NaN values or generate a qNaN by arithmetic
51877         operation.  Also fix bugs to comply with the standard.
51878         * math/libm-test.inc (remainder_test): Add more tests.
51880         [BZ #15335, #15342]
51881         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51882         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51883         input NaN values or generate a qNaN by arithmetic operation.
51885         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51886         unreachable code.
51888         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51889         definitions.
51891 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
51893         [BZ #14478]
51894         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51895         underflowed result.
51896         * math/s_cexpf.c (__cexpf): Likewise.
51897         * math/s_cexpl.c (__cexpl): Likewise.
51898         * math/libm-test.inc (cexp_test): Add more tests.
51900 2013-04-03  Andreas Schwab  <schwab@suse.de>
51902         [BZ #15330]
51903         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51904         order arrays from heap if bigger than alloca cutoff.
51906 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
51908         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51909         (SNAN_TESTS_double): Refer to GCC PR56831.
51910         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51911         GCC PR56828.
51913 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51915         * Rules (bench): Move bench.out after the run is complete.
51917         * Rules (bench): Echo currently running benchmark.
51919         * benchtests/Makefile (bench): Add atan and slowatan.
51920         * benchtests/atan-inputs: New file.
51921         * benchtests/slowatan-inputs: New file.
51922         * benchtests/slowatan.c: New file.
51924         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51925         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51926         its value.
51928         [BZ #15305]
51929         * sysdeps/unix/sysv/linux/kernel-features.h
51930         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51931         __ASSUME_XFS_RESTRICTED_CHOWN.
51932         * sysdeps/unix/sysv/linux/pathconf.c
51933         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51934         Save and restore errno.
51936 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
51938         [BZ #15327]
51939         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51940         arguments using __kernel_casinh.
51941         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51942         arguments using __kernel_casinhf.
51943         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51944         arguments using __kernel_casinhl.
51945         * math/libm-test.inc (cacosh_test): Add more tests.
51946         * sysdeps/i386/fpu/libm-test-ulps: Update.
51947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51949 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51951         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51952         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51954         * bench/Makefile (bench): Add sin and slowsin.
51955         * benchtests/sin-inputs: New file.
51956         * benchtests/slowsin-inputs: New file.
51957         * benchtests/slowsin.c: New file.
51959         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51960         (bench): Add slowexp and slowpow.
51961         (exp-ITER): Increase iterations.
51962         (pow-ITER): Likewise.
51963         * benchtests/exp-inputs: Change input.
51964         * benchtests/pow-inputs: Likewise.
51965         * benchtests/slowexp-inputs: New file.
51966         * benchtests/slowexp.c: New file.
51967         * benchtests/slowpow-inputs: New file.
51968         * benchtests/slowpow.c: New file.
51970 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51972         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51973         instructions.
51974         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51975         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
51976         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51977         * benchtests/Makefile: Add rint benchtest.
51978         * benchtests/rint-inputs: Input for rint benchtest.
51980 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51982         * Versions.def (libm): Add GLIBC_2.18.
51983         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
51984         hidden libm prototypes.
51985         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
51986         * math/Makefile (libm-calls): Add s_issignaling.
51987         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
51988         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
51989         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
51990         declaration.
51991         * math/math.h [__USE_GNU] (issignaling): New macro.
51992         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
51993         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
51994         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
51995         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
51996         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
51997         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
51998         * manual/arith.texi (issignaling): New section.
51999         * manual/libm-err-tab.pl (@all_functions): Update comment.
52000         * math/gen-libm-test.pl (parse_args): Apply special handling for
52001         issignaling.
52002         * math/libm-test.inc (print_float, issignaling_test): New
52003         functions.
52004         (check_float_internal): Add issignaling checks.
52005         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52006         default definition.
52007         * sysdeps/powerpc/math-tests.h: New file.
52008         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52009         tests.
52010         * math/test-snan.c (TEST_FUNC): Likewise.
52012 2013-03-30  David S. Miller  <davem@davemloft.net>
52014         * po/de.po: Update from translation team.
52016 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52018         [BZ #10357]
52019         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52020         imaginary part less than 1.0 and real part less than 0.5
52021         specially.
52022         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52023         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52024         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52025         (cacos_test): Add more tests.
52026         (casin_test): Likewise.
52027         (casinh_test): Likewise.
52028         * sysdeps/i386/fpu/libm-test-ulps: Update.
52029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52031 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52033         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52034         ONE with its value.
52036         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52037         (__pow_mp): Replace ONE and MONE with their values.
52038         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52039         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52040         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52041         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52042         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52043         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52045         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52047         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52048         (__pow_mp): Replace ZERO and MZERO with their values.
52049         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52050         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52051         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52052         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52053         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52054         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52055         (__sqr): Likewise.
52057         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52059         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52061 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52063         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52064         Declare with __attribute__ ((weak)).
52065         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52066         Call __call_tls_dtors only if it's not NULL.
52068 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52070         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52071         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52072         magic __ehdr_start linker symbol if it's defined.
52073         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52074         them up here if it was already done.
52076         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52077         (_dl_aux_init): Use const in cast when setting it.
52078         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52079         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52080         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52082         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52083         Declare them here.
52084         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52085         * csu/libc-tls.c: Nor here.
52086         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52088         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52089         (__libc_message): Never call vsyslog.
52091 2013-03-28  Alan Modra  <amodra@gmail.com>
52093         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52094         Define as empty.
52095         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52096         Likewise.
52098 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52100         [BZ #15214]
52101         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52102         underflow.
52103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52105 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52107         [BZ #15304]
52108         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52109         Don't add gid passed as argument.
52111         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52113 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52115         [BZ #15307]
52116         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52117         imaginary part between 1.0 and 1.5 and real part less than 0.5
52118         specially.
52119         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52120         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52121         * math/libm-test.inc (cacos_test): Add more tests.
52122         (casin_test): Likewise.
52123         (casinh_test): Likewise.
52124         * sysdeps/i386/fpu/libm-test-ulps: Update.
52125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52127 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52129         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52130         constants.
52131         (norm): Likewise.
52132         (denorm): Likewise.
52133         (__dbl_mp): Likewise.
52134         (add_magnitudes): Likewise.
52135         (sub_magnitudes): Likewise.
52136         (__add): Likewise.
52137         (__sub): Likewise.
52138         (__mul): Likewise.
52139         (__sqr): Likewise.
52140         (__inv): Likewise.
52141         (__dvd): Likewise.
52143         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52144         commented code.
52145         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52146         (__dubcos): Likewise.
52147         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52148         (__ieee754_acos): Likewise.
52149         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52150         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52151         (__exp1): Likewise.
52152         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52153         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52154         (log1): Likewise.
52155         (my_log2): Likewise.
52156         (checkint): Likewise.
52157         * sysdeps/ieee754/dbl-64/e_remainder.c
52158         (__ieee754_remainder): Likewise.
52159         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52160         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52161         (bsloww): Likewise.
52162         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52164         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52165         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52166         MANTISSA_STORE_T to store computations on mantissa.  Use
52167         macros for rounding and division.
52168         (denorm): Likewise.
52169         (__dbl_mp): Likewise.
52170         (add_magnitudes): Likewise.
52171         (sub_magnitudes): Likewise.
52172         (__mul): Likewise.
52173         (__sqr): Likewise.
52174         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52175         powers of two in terms of TWOPOW macro.
52176         (mp_no): Make type of mantissa as MANTISSA_T.
52177         [!RADIXI]: Define RADIXI.
52178         [!TWO52]: Define TWO52.
52179         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52181 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52183         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52184         llroundl symbol when building for PPC32.
52186 2013-03-24  Mark H Weaver  <mhw@netris.org>
52188         * manual/arith.texi (Normalization Functions): Fix prototypes for
52189         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52191 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52193         [BZ #13889]
52194         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52195         high value to check if expl overflow.
52196         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52197         to check for underflow and overflow.
52198         * math/libm-test.inc: Add exp test.
52200 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52202         [BZ #11120]
52203         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52204         with NOT_IN_libc.
52206 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52208         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52209         symbol.
52211 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52213         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52214         wrap blocks consisting of several statements.
52216         * sysdeps/generic/math-tests.h: New file.
52217         * sysdeps/i386/fpu/math-tests.h: Likewise.
52218         * math/test-snan.c: Include it.
52219         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52221 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52223         [BZ #15285]
52224         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52225         (__ieee754_j0l): Do not improve calculations using cos of twice
52226         input for inputs above LDBL_MAX / 2.0L.
52227         (__ieee754_y0l): Likewise.
52228         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52229         (__ieee754_j1l): Do not improve calculations using cos of twice
52230         input for inputs above LDBL_MAX / 2.0L.
52231         (__ieee754_y1l): Likewise.
52232         * math/libm-test.inc (j0_test): Add another test.
52233         (j1_test): Likewise.
52234         (y0_test): Likewise.
52235         (y1_test): Likewise.
52236         * sysdeps/i386/fpu/libm-test-ulps: Update.
52238 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52240         * Rules ($(objpfx)bench-%.c): Include code from a C source
52241         file.
52243 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52245         [BZ #15287]
52246         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52247         imaginary part 1.0 and real part less than 0.5 specially.
52248         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52249         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52250         * math/libm-test.inc (cacos_test): Add more tests.
52251         (casin_test): Likewise.
52252         (casinh_test): Likewise.
52253         * sysdeps/i386/fpu/libm-test-ulps: Update.
52254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52256 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52258         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52259         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52261 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52263         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52264         * config.make.in (config-cflags-sse4): Remove variable.
52265         (config-cflags-avx): Likewise.
52266         (config-cflags-sse2avx): Likewise.
52267         (config-cflags-novzeroupper): Likewise.
52268         (config-asflags-i686): Likewise.
52269         (have-mfma4): Likewise.
52270         (have-as-vis3): Likewise.
52271         (MIG): Likewise.
52272         * configure.in (MIG): Do not AC_SUBST.
52273         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52274         (libc_cv_cc_sse4): Do not AC_SUBST.
52275         (libc_cv_cc_avx): Likewise.
52276         (libc_cv_cc_sse2avx): Likewise.
52277         (libc_cv_cc_novzeroupper): Likewise.
52278         (libc_cv_cc_fma4): Likewise.
52279         (libc_cv_as_i686): Likewise.
52280         (libc_cv_sparc_as_vis3): Likewise.
52281         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52282         LIBC_CONFIG_VAR.
52283         (config-asflags-i686): Likewise.
52284         (config-cflags-avx): Likewise.
52285         (config-cflags-sse2avx): Likewise.
52286         (have-mfma4): Likewise.
52287         (config-cflags-novzeroupper): Likewise.
52288         * sysdeps/mach/configure.in (MIG): Likewise.
52289         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52290         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52291         LIBC_CONFIG_VAR.
52292         (config-cflags-avx): Likewise.
52293         (config-cflags-sse2avx): Likewise.
52294         (have-mfma4): Likewise.
52295         (config-cflags-novzeroupper): Likewise.
52296         * configure: Regenerated.
52297         * sysdeps/i386/configure: Likewise.
52298         * sysdeps/mach/configure: Likewise.
52299         * sysdeps/sparc/configure: Likewise.
52300         * sysdeps/x86_64/configure: Likewise.
52302 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52304         [BZ #14812]
52305         * locale/programs/localedef.c (options): Put N_ translation marker
52306         on argument names, not just descriptions.
52308 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52310         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52312 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52314         [BZ #14176]
52315         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52317 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52319         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52320         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52321         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52322         [!BEFORE_ABORT] (before_abort): New function.
52323         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52324         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52325         (writev_for_fatal): New function.
52326         (WRITEV_FOR_FATAL): New macro; call that.
52327         (backtrace_and_maps): New function.
52328         (BEFORE_ABORT): New macro; call that.
52329         (struct str_list): Type removed.
52330         (__libc_message, __libc_fatal): Functions removed.
52331         Include <sysdeps/posix/libc_fatal.c> instead.
52333 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52335         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52336         constants.
52337         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52338         double constants.
52340 2013-03-19  Andreas Schwab  <schwab@suse.de>
52342         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52343         * sysdeps/gnu/configure: Regenerate.
52345         * configure.in: Substitute libc_cv_rtlddir.
52346         * configure: Regenerate.
52347         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52348         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52349         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52350         * elf/Makefile (install-others, CFLAGS-interp.c)
52351         (ldso_install, common-ldd-rewrite): Likewise.
52352         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52353         $(inst_slibdir)/$(rtld-installed-name).
52354         * scripts/rellns-sh: Add -p option.
52355         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52356         for source.
52358 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52360         * manual/nptl.texi: Renamed to ...
52361         * manual/threads.texi: ... this.
52362         * manual/Makefile (chapters): Update.
52364 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52366         [BZ #14812]
52367         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52368         on argument names, not just descriptions.
52369         * malloc/memusagestat.c (options): Likewise.
52370         * nss/getent.c (options): Likewise.
52372 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52374         [BZ #14812]
52375         * iconv/iconv_prog.c (options): Put N_ translation marker
52376         on argument names, not just descriptions.
52377         * iconv/iconvconfig.c (options): Likewise.
52379 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52381         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52382         implementation which is faster on all x86_64 architectures.
52383         Tested on AMD, Intel Nehalem, SNB, IVB.
52384         * sysdeps/x86_64/strnlen.S: Likewise.
52386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52387         Remove all multiarch strlen and strnlen versions.
52388         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52389         Remove strlen and strnlen related parts.
52391         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52392         Inline strlen part.
52393         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52395         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52396         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52397         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52398         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52399         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52400         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52402 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52404         * manual/memory.texi (Malloc Tunable Parameters):
52405         Sort parameters alphabetically. Add comments for missing entries.
52407 2013-03-17  David S. Miller  <davem@davemloft.net>
52409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52411 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52413         [BZ #15283]
52414         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52415         for arguments at most half maximum finite value.
52416         * math/libm-test.inc (j0_test): Add more tests.
52417         (j1_test): Likewise.
52418         (y0_test): Likewise.
52419         (y1_test): Likewise.
52420         * sysdeps/i386/fpu/libm-test-ulps: Update.
52421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52423         [BZ #14155]
52424         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52425         1 / x and functions P and Q for arguments above 0x1p256L.
52426         (__ieee754_y0l): Likewise.
52427         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52428         (__ieee754_y1l): Likewise.
52429         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52430         (j1_test): Likewise.
52431         (y0_test): Likewise.
52432         (y1_test): Likewise.
52434 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52436         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52437         variable.
52439 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52441         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52442         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52443         zero since it's initialized to EXEC_PAGESIZE.
52445         * sysdeps/unix/sysv/linux/ldsodefs.h
52446         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52447         * sysdeps/generic/ldsodefs.h: ... here.
52449 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52451         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52453         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52454         math/test-snan.c.
52455         * math/test-snan.c: Renamed from
52456         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52457         * math/Makefile (tests): Add test-snan.
52458         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52459         test-powerpc-snan.
52461         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52462         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52463         functions.
52464         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52465         __builtin_nan family of functions.
52466         * math/libm-test.inc (initialize): Initialize qnan_value with
52467         __builtin_nan family of functions.
52468         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52469         Remove variables.
52470         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52471         Remove functions.
52472         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52473         storage class.  Initialize qNaN_var and sNaN_var with
52474         __builtin_nan and __builtin_nans families of functions,
52475         respectively.
52477         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52478         (sqrt_test): Remove duplicate test with qNaN input.
52479         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52480         (round_test, signbit_test, significand_test): Note missing +/-Inf
52481         as well as qNaN tests.
52483         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52484         qNaN_var.  Fix a few strings, too.
52485         * math/libm-test.inc (nan_value): Rename to qnan_value.
52486         * math/gen-libm-test.pl (%beautify): Adjust to that.
52487         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52488         * math/test-misc.c (main): Likewise.
52489         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52490         to __qnan_bytes, and __qnan_union, respectively.
52491         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52492         Likewise.
52493         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52494         and lqnanval, respectively.
52495         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52496         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52497         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52498         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52500         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52501         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52502         doubles.
52504         * math/test-misc.c (main): Fix copy'n'pastos.
52505         * misc/tst-efgcvt.c (special): Likewise.
52507         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52508         Remove declarations.
52510 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52512         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52513         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52514         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52515         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52517 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52519         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52520         macro to return vdso values correctly in IFUNC implementations.
52521         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52522         Optimization by using IFUNC.
52524 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52525             Richard Henderson  <rth@redhat.com>
52526             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52528         * Makefile.in (bench): New target.
52529         * NEWS: Mention the benchmark framework.
52530         * Rules (bench): Likewise.
52531         (binaries-bench): Generate binaries for functions to
52532         benchmark.
52533         * benchtests/Makefile: New makefile for benchmark tests.
52534         * benchtests/bench-skeleton.c: New skeleton file for benchmark
52535         programs.
52536         * benchtests/exp-inputs: New input file for EXP function.
52537         * benchtests/pow-inputs: New input file for POW function.
52538         * scripts/bench.pl: New script to generate source files for
52539         benchmark programs.
52541 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52543         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52544         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52545         computations on mantissa.  Use macros for rounding and
52546         division.
52547         (denorm): Likewise.
52548         (__dbl_mp): Likewise.
52549         (add_magnitudes): Likewise.
52550         (sub_magnitudes): Likewise.
52551         (__mul): Likewise.
52552         (__sqr): Likewise.
52553         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52554         powers of two in terms of TWOPOW macro.
52555         (mp_no): Make type of mantissa as MANTISSA_T.
52556         [!RADIXI]: Define RADIXI.
52557         [!TWO52]: Define TWO52.
52558         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52560         * manual/nptl.texi (cindex): Modify threads to pthreads.
52562 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52564         * sysdeps/x86_64/preconfigure: Regenerated.
52566 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52568         [BZ #14155]
52569         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52570         0x1p28 and above.
52571         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52572         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52573         0x1p28 and above.
52574         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52575         * math/libm-test.inc (j0_test): Do not allow one spurious
52576         underflow exception.
52577         (y1_test): Likewise.
52579 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52581         * manual/Makefile (chapters): Add nptl.
52582         * manual/debug.texi (Debugging Support): Add link to Threads
52583         chapter.
52584         * manual/nptl.texi: New file.
52586         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52588 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52590         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52591         for non-NULL pointer before the memory validity test. Pointed
52592         out by Holger Brunck <holger.brunck@keymile.com>.
52594 2013-03-13  Andreas Schwab  <schwab@suse.de>
52596         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52597         instead of .os.
52599 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
52601         * timezone/zic.c: Update from tzcode 2013b.
52603 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
52605         * manual/install.texi (Configuring and compiling):
52606         Mention i686 and i586.
52607         * INSTALL: Regenerate.
52609 2013-03-12  Roland McGrath  <roland@hack.frob.com>
52611         * sysdeps/init_array/elf-init.c: New file.
52612         * csu/elf-init.c
52613         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52614         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52616         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52617         __gmon_start__ as global, but as static with a .preinit_array pointer.
52618         * sysdeps/init_array/gmon-start.c: New file.  Use that.
52619         * sysdeps/init_array/crti.S: New file, empty except for comments.
52620         * sysdeps/init_array/crtn.S: Likewise.
52622 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
52624         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52625         definining bcopy.
52626         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52627         Remove Prefer_SSE_for_memop.
52628         * sysdeps/x86_64/multiarch/init-arch.h: Remove
52629         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52630         HAS_PREFER_SSE_FOR_MEMOP.
52631         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52632         memset-x86-64.
52633         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52634         Remove bzero, memset ifunc support.
52635         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52636         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52637         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52638         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52640 2013-03-11  Andreas Schwab  <schwab@suse.de>
52642         [BZ #15234]
52643         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52644         by SHLIB_COMPAT.
52645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52646         (GLIBC_2.16): Remove pthread_atfork.
52648 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
52650         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52651         (ptestcases.h): Likewise.
52653 2013-03-08  Roland McGrath  <roland@hack.frob.com>
52655         * Makeconfig ($(common-objpfx)config.status): Depend on
52656         sysdeps/*/preconfigure{,.in} too.
52658 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
52660         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52661         (__free_hook): Use void * instead of __malloc_ptr_t.
52662         (__malloc_hook): Likewise.
52663         (__realloc_hook): Likewise.
52664         (__memalign_hook): Likewise.
52665         (__after_morecore_hook): Likewise.
52666         * malloc/arena.c (save_malloc_hook): Likewise.
52667         (save_free_hook): Likewise.
52668         * malloc/hooks.c (malloc_hook_ini): Likewise.
52669         (realloc_hook_ini): Likewise.
52670         (memalign_hook_ini): Likewise.
52671         * malloc/malloc.c (malloc_hook_ini): Likewise.
52672         (realloc_hook_ini): Likewise.
52673         (memalign_hook_ini): Likewise.
52674         (__free_hook): Likewise.
52675         (__malloc_hook): Likewise.
52676         (__realloc_hook): Likewise.
52677         (__memalign_hook): Likewise.
52678         (__libc_malloc): Likewise.
52679         (__libc_free): Likewise.
52680         (__libc_realloc): Likewise.
52681         (__libc_memalign): Likewise.
52682         (__libc_valloc): Likewise.
52683         (__libc_pvalloc): Likewise.
52684         (__libc_calloc): Likewise.
52685         (__posix_memalign): Likewise.
52686         * malloc/morecore.c (__sbrk): Likewise.
52687         (__default_morecore): Likewise.
52689         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52691         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52692         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52693         __malloc_ptrdiff_t.
52695         * malloc/malloc.h (__malloc_size_t): Remove macro.
52696         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52697         __malloc_size_t.
52698         (old_memalign_hook): Likewise.
52699         (old_realloc_hook): Likewise.
52700         (struct hdr): Likewise.
52701         (flood): Likewise.
52702         (mallochook): Likewise.
52703         (memalignhook): Likewise.
52704         (reallochook): Likewise.
52705         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52706         (tr_old_realloc_hook): Likewise.
52707         (tr_old_memalign_hook): Likewise.
52708         (tr_mallochook): Likewise.
52709         (tr_reallochook): Likewise.
52710         (tr_memalignhook): Likewise.
52712 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52714         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52715         default_ldbl_pack and using as default implementation.
52716         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52717         implementation.
52718         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52719         redundant definition.
52720         (ldbl_insert_mantissa): Likewise.
52721         (ldbl_canonicalize): Likewise.
52722         (ldbl_nearbyint): Likewise.
52723         (ldbl_pack): Rename to ldbl_pack_ppc.
52724         (ldbl_unpack): Rename to ldbl_unpack_ppc.
52725         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52726         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52728 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52730         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52731         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52732         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52733         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52735         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52736         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52737         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52739 2013-03-07  Andreas Jaeger  <aj@suse.de>
52741         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52742         bits/mman-linux.h.
52744 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52746         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52747         Include mpa.h and declare __MPEXP.
52748         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52749         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52750         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52751         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52752         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52753         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52754         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52756         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52757         (__slowpow): Use long double EXPL and LOGL functions to
52758         compute POW.
52759         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52760         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52761         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52762         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52763         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52764         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52766         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52767         intermediate variable to calculate exponent.
52768         (__sqr): Likewise.
52769         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52770         Likewise.
52771         (__sqr): Likewise.
52773         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52774         [!NO__SQR]: Define __sqr.
52775         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52776         and NO__SQR.  Remove all code except __mul and __sqr.  Include
52777         sysdeps/ieee754/dbl-64/mpa.c.
52778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52780         [BZ #12723]
52781         * posix/Makefile (tests): Add tst-pathconf.
52782         * posix/tst-pathconf.c: New test case.
52783         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52784         _PC_PIPE_BUF.
52785         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52787 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
52789         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52791 2013-03-06  Andreas Jaeger  <aj@suse.de>
52793         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52794         definition via __MAP_ANONYMOUS.
52796         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52797         it's not part of Linux headers.
52799         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52800         (MAP_HUGE_MASK): Define.
52802         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52803         Define.
52804         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52805         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52806         Define.
52807         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52808         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52809         Define.
52810         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52811         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
52812         Define.
52813         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52815         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52816         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52817         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52818         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52819         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52820         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52822         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52823         Handle f2fs.
52825         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52826         Handle f2fs and efivarfs.
52828         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52829         f2fs.
52831         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52832         (EFIVARFS_MAGIC): Add.
52833         (F2FS_LINK_MAX): Add.
52835 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52837         * stdio-common/vfprintf.c: Replace __builtin_expect with
52838         __glibc_unlikely.
52840 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
52842         [BZ #13550]
52843         * sysdeps/generic/bp-sym.h: Remove file.
52844         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52845         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52846         <bp-sym.h> and <bp-asm.h>.
52847         (__longjmp): Don't use BP_SYM.
52848         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52849         and <bp-asm.h>.
52850         (memcpy): Don't use BP_SYM.
52851         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52852         <bp-sym.h> and <bp-asm.h>.
52853         (memcpy): Don't use BP_SYM.
52854         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52855         <bp-asm.h>.
52856         (memcpy): Don't use BP_SYM.
52857         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52858         <bp-asm.h>.
52859         (memset): Don't use BP_SYM.
52860         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52861         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52862         (__bzero): Don't use BP_SYM.
52863         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52864         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52865         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52866         <bp-sym.h> and <bp-asm.h>.
52867         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52868         pointers.
52869         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52870         <bp-sym.h> and <bp-asm.h>.
52871         (memcpy): Don't use BP_SYM.
52872         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52873         <bp-sym.h> and <bp-asm.h>.
52874         (memset): Don't use BP_SYM.
52875         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52876         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52877         (__bzero): Don't use BP_SYM.
52878         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52879         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52880         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52881         <bp-sym.h> and <bp-asm.h>.
52882         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52883         pointers.
52884         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52885         <bp-sym.h> and <bp-asm.h>.
52886         (memcpy): Don't use BP_SYM.
52887         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52888         <bp-sym.h> and <bp-asm.h>.
52889         (memset): Don't use BP_SYM.
52890         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52891         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52892         (__bzero): Don't use BP_SYM.
52893         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52894         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52895         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52896         <bp-sym.h> and <bp-asm.h>.
52897         (__memchr): Don't use BP_SYM.
52898         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52899         <bp-sym.h> and <bp-asm.h>.
52900         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52901         pointers.
52902         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52903         <bp-sym.h> and <bp-asm.h>.
52904         (memcpy): Don't use BP_SYM.
52905         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52906         <bp-sym.h> and <bp-asm.h>.
52907         (__mempcpy): Don't use BP_SYM.
52908         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52909         <bp-sym.h> and <bp-asm.h>.
52910         (__memrchr): Don't use BP_SYM.
52911         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52912         <bp-sym.h> and <bp-asm.h>.
52913         (memset): Don't use BP_SYM.
52914         (__bzero): Likewise.
52915         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52916         <bp-sym.h> and <bp-asm.h>.
52917         (__rawmemchr): Don't use BP_SYM.
52918         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52919         <bp-sym.h> and <bp-asm.h>.
52920         (__STRCMP): Don't use BP_SYM.
52921         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52922         <bp-sym.h> and <bp-asm.h>.
52923         (strchr): Don't use BP_SYM.
52924         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52925         <bp-sym.h> and <bp-asm.h>.
52926         (__strchrnul): Don't use BP_SYM.
52927         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52928         <bp-sym.h> and <bp-asm.h>.
52929         (strlen): Don't use BP_SYM.
52930         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52931         <bp-sym.h> and <bp-asm.h>.
52932         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52933         pointers.
52934         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52935         <bp-sym.h> and <bp-asm.h>.
52936         (__strnlen): Don't use BP_SYM.
52937         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52938         <bp-sym.h> and <bp-asm.h>.
52939         (__GI__setjmp): Don't use BP_SYM.
52940         (_setjmp): Likewise.
52941         (__sigsetjmp): Likewise.
52942         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52943         (L(start_addresses)): Don't use BP_SYM.
52944         (_start): Likewise.
52945         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52946         <bp-asm.h>.
52947         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52948         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52949         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52950         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52951         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52952         <bp-asm.h>.
52953         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52954         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
52955         about bounded pointers.
52956         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52957         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52958         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52959         <bp-asm.h>.
52960         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52961         about bounded pointers.  Remove GKM FIXME comments.
52962         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52963         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52964         <bp-asm.h>.
52965         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52966         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
52967         Remove GKM FIXME comments.
52968         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52969         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52970         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52971         <bp-asm.h>.
52972         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52973         about bounded pointers.  Remove GKM FIXME comment.
52974         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52975         and <bp-asm.h>.
52976         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52977         pointers.
52978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
52979         <bp-sym.h> and <bp-asm.h>.
52980         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
52982         <bp-sym.h> and <bp-asm.h>.
52983         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52984         comment.
52986 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52988         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
52989         call free(NULL).
52991 2013-03-05  David S. Miller  <davem@davemloft.net>
52993         * po/es.po: Update from translation team.
52995 2013-03-05  Andreas Jaeger  <aj@suse.de>
52997         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
52998         <bits/mman-linux.h>.
52999         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53000         is fine.
53001         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53002         <bits/mman-linux.h> to end of file.
53003         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53004         is fine.
53005         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53006         <bits/mman-linux.h> to end of file.
53007         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53008         is fine.
53009         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53010         <bits/mman-linux.h> to end of file.
53012         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53013         (MCL_CURRENT, MCL_FUTURE): Define here.
53015 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53017         [BZ #15232]
53018         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53019         attribute_hidden.
53020         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53022 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53024         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53025         fourth parameter needed for rt_sigprocmask syscall.
53026         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53027         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53028         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53029         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53030         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53031         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53033 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53035         [BZ #13550]
53036         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53037         comment about bounded pointers.
53038         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53039         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53041 2013-03-04  Andreas Jaeger  <aj@suse.de>
53043         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53044         common definitions.
53046         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53047         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53048         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53049         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53050         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53051         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53053 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53055         [BZ #15055]
53056         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53057         __ieee754_sqrl instead of __sqrl.
53059 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53061         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53062         * sysdeps/powerpc/fpu_control.h: ... here.
53063         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53064         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53065         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53066         * sysdeps/powerpc/bits/mathinline.h: ... here.
53068 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53070         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53071         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53072         to just [NEED_DL_SYSINFO_DSO].
53073         * elf/dl-support.c: Likewise.
53074         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53075         * elf/rtld.c (dl_main): Likewise.
53076         * elf/setup-vdso.h (setup_vdso): Likewise.
53077         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53078         * sysdeps/unix/sysv/linux/dl-sysdep.c
53079         (_dl_discover_osversion): Likewise.
53081 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53083         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53084         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53086 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53088         * NEWS: Mention libm performance improvements and non-x86 PI
53089         futex support.
53091         * csu/libc-start.c (__pthread_initialize_minimal): Change
53092         function arguments.
53093         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53095 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53097         [BZ #13550]
53098         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53099         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53100         <bp-sym.h> and <bp-asm.h>.
53101         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53102         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53103         and <bp-asm.h>.
53104         (memcpy): Don't use BP_SYM.
53105         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53106         <bp-asm.h>.
53107         (__mpn_add_n): Don't use BP_SYM.
53108         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53109         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53110         and <bp-asm.h>.
53111         (__mpn_addmul_1): Don't use BP_SYM.
53112         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53113         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53114         <bp-sym.h>.
53115         (_setjmp): Don't use BP_SYM.
53116         (__novmx_setjmp): Likewise.
53117         (__GI__setjmp): Likewise.
53118         (__vmx_setjmp): Likewise.
53119         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53120         <bp-sym.h>.
53121         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53122         (__bzero): Don't use BP_SYM.
53123         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53124         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53125         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53126         <bp-sym.h> and <bp-asm.h>.
53127         (memcpy): Don't use BP_SYM.
53128         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53129         <bp-sym.h> and <bp-asm.h>.
53130         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53131         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53132         <bp-sym.h> and <bp-asm.h>.
53133         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53134         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53135         <bp-asm.h>.
53136         (__mpn_lshift): Don't use BP_SYM.
53137         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53138         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53139         <bp-asm.h>.
53140         (memset): Don't use BP_SYM.
53141         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53142         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53143         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53144         <bp-asm.h>.
53145         (__mpn_mul_1): Don't use BP_SYM.
53146         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53147         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53148         <bp-sym.h> and <bp-asm.h>.
53149         (memcmp): Don't use BP_SYM.
53150         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53151         <bp-sym.h> and <bp-asm.h>.
53152         (memcpy): Don't use BP_SYM.
53153         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53154         <bp-sym.h> and <bp-asm.h>.
53155         (memset): Don't use BP_SYM.
53156         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53157         <bp-sym.h> and <bp-asm.h>.
53158         (strncmp): Don't use BP_SYM.
53159         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53160         <bp-sym.h> and <bp-asm.h>.
53161         (memcpy): Don't use BP_SYM.
53162         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53163         <bp-sym.h> and <bp-asm.h>.
53164         (memset): Don't use BP_SYM.
53165         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53166         <bp-sym.h> and <bp-asm.h>.
53167         (__memchr): Don't use BP_SYM.
53168         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53169         <bp-sym.h> and <bp-asm.h>.
53170         (memcmp): Don't use BP_SYM.
53171         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53172         <bp-sym.h> and <bp-asm.h>.
53173         (memcpy): Don't use BP_SYM.
53174         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53175         <bp-sym.h> and <bp-asm.h>.
53176         (__mempcpy): Don't use BP_SYM.
53177         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53178         <bp-sym.h> and <bp-asm.h>.
53179         (__memrchr): Don't use BP_SYM.
53180         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53181         <bp-sym.h> and <bp-asm.h>.
53182         (memset): Don't use BP_SYM.
53183         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53184         <bp-sym.h> and <bp-asm.h>.
53185         (__rawmemchr): Don't use BP_SYM.
53186         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53187         <bp-sym.h> and <bp-asm.h>.
53188         (__STRCMP): Don't use BP_SYM.
53189         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53190         <bp-sym.h> and <bp-asm.h>.
53191         (strchr): Don't use BP_SYM.
53192         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53193         <bp-sym.h> and <bp-asm.h>.
53194         (__strchrnul): Don't use BP_SYM.
53195         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53196         <bp-sym.h> and <bp-asm.h>.
53197         (strlen): Don't use BP_SYM.
53198         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53199         <bp-sym.h> and <bp-asm.h>.
53200         (strncmp): Don't use BP_SYM.
53201         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53202         <bp-sym.h> and <bp-asm.h>.
53203         (__strnlen): Don't use BP_SYM.
53204         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53205         <bp-asm.h>.
53206         (__mpn_rshift): Don't use BP_SYM.
53207         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53208         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53209         <bp-sym.h> and <bp-asm.h>.
53210         (__sigsetjmp): Don't use BP_SYM.
53211         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53212         (L(start_addresses)): Don't use BP_SYM.
53213         (_start): Likewise.
53214         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53215         <bp-asm.h>.
53216         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53217         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53218         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53219         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53220         <bp-asm.h>.
53221         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53222         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53223         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53224         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53225         <bp-asm.h>.
53226         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53227         comments.
53228         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53229         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53230         <bp-asm.h>.
53231         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53232         FIXME comments.
53233         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53234         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53235         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53236         <bp-asm.h>.
53237         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53238         comment.
53239         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53240         and <bp-asm.h>.
53241         (strncmp): Don't use BP_SYM,
53242         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53243         <bp-asm.h>.
53244         (__mpn_sub_n): Don't use BP_SYM.
53245         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53246         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53247         and <bp-asm.h>.
53248         (__mpn_submul_1): Don't use BP_SYM.
53249         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53251         <bp-sym.h> and <bp-asm.h>.
53252         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53254         <bp-sym.h> and <bp-asm.h>.
53255         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53256         comment.
53258 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53260         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53261         Use ZK to minimize writes to Z.
53262         (sub_magnitudes): Simplify code a bit.
53263         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53264         Use ZK to minimize writes to Z.
53265         (sub_magnitudes): Simplify code a bit.
53267 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53269         * csu/gmon-start.c: Add special exception to license text.
53271 2013-02-27  Richard Henderson  <rth@redhat.com>
53273         * scripts/config.guess: Update from config.git.
53274         * scripts/config.sub: Likewise.
53276 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53278         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53280         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53282         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53284         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53286         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53288 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53290         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53291         [$(build-shared = yes].
53293 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53295         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53296         (__mul): Reduce iterations for calculating mantissa.
53298         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53299         MPTWO.
53300         (__mpranred): Likewise.
53302         [BZ #15160]
53303         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53304         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53306 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53308         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53309         Define __attribute__.
53311 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53313         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53314         unused.
53315         * posix/regex_internal.h (__attribute): Remove.
53316         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53317         (re_string_context_at): Likewise.
53318         (bitset_not): Use __attribute__ and mark function as possibly
53319         unused.
53320         (bitset_merge): Likewise.
53321         (bitset_mask): Likewise.
53322         (re_string_char_size_at): Likewise.
53323         (re_string_wchar_at): Likewise.
53324         (re_string_elem_size_at): Likewise.
53326 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53328         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53329         code.
53330         (cc32): Likewise.
53332         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53333         (__acr): Likewise.
53334         (__cpy): Likewise.
53335         (norm): Likewise.
53336         (denorm): Likewise.
53337         (__dbl_mp): Likewise.
53338         (add_magnitudes): Likewise.
53339         (sub_magnitudes): Likewise.
53340         (__mul): Likewise.
53341         (__inv): Likewise.
53343         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53344         style.
53346         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53347         style.
53349         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53350         code.
53352         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53353         up changes with default code.
53354         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53355         Likewise.
53357 2013-02-24  Allan McRae  <allan@archlinux.org>
53359         * manual/socket.texi (The Internet Namespace): Order menu items
53360         to match that in the file.
53362         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53363         node listing of the info page menu.
53365 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53367         [BZ #13550]
53368         * sysdeps/i386/bp-asm.h: Remove file.
53369         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53370         (PARMS): Do not use macros from bp-asm.h.
53371         (S1): Likewise.
53372         (S2): Likewise.
53373         (SIZE): Likewise.
53374         (__mpn_add_n): Do not use BP_SYM
53375         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53376         "bp-asm.h".
53377         (PARMS): Do not use macros from bp-asm.h.
53378         (S1): Likewise.
53379         (SIZE): Likewise.
53380         (__mpn_addmul_1): Do not use BP_SYM
53381         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53382         "bp-asm.h".
53383         (PARMS): Do not use macros from bp-asm.h.
53384         (SIGMSK): Likewise.
53385         (_setjmp): Likewise.  Do not use BP_SYM.
53386         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53387         "bp-asm.h".
53388         (PARMS): Do not use macros from bp-asm.h.
53389         (SIGMSK): Likewise.
53390         (setjmp): Likewise.  Do not use BP_SYM.
53391         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53392         "bp-asm.h".
53393         (PARMS): Do not use macros from bp-asm.h.
53394         (__frexp): Do not use BP_SYM.
53395         (frexp): Likewise.
53396         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53397         "bp-asm.h".
53398         (PARMS): Do not use macros from bp-asm.h.
53399         (__frexpf): Do not use BP_SYM.
53400         (frexpf): Likewise.
53401         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53402         "bp-asm.h".
53403         (PARMS): Do not use macros from bp-asm.h.
53404         (__frexpl): Do not use BP_SYM.
53405         (frexpl): Likewise.
53406         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53407         "bp-asm.h".
53408         (PARMS): Do not use macros from bp-asm.h.
53409         (__remquo): Do not use BP_SYM.
53410         (remquo): Likewise.
53411         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53412         "bp-asm.h".
53413         (PARMS): Do not use macros from bp-asm.h.
53414         (__remquof): Do not use BP_SYM.
53415         (remquof): Likewise.
53416         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53417         "bp-asm.h".
53418         (PARMS): Do not use macros from bp-asm.h.
53419         (__remquol): Do not use BP_SYM.
53420         (remquol): Likewise.
53421         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53422         "bp-asm.h".
53423         (PARMS): Do not use macros from bp-asm.h.
53424         (DEST): Likewise.
53425         (SRC): Likewise.
53426         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53427         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53428         "bp-asm.h".
53429         (PARMS): Do not use macros from bp-asm.h.
53430         (strlen): Do not use BP_SYM.
53431         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53432         "bp-asm.h".
53433         (PARMS): Do not use macros from bp-asm.h.
53434         (S1): Likewise.
53435         (S2): Likewise.
53436         (SIZE): Likewise.
53437         (__mpn_add_n): Do not use BP_SYM.
53438         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53439         "bp-asm.h".
53440         (PARMS): Do not use macros from bp-asm.h.
53441         (S1): Likewise.
53442         (SIZE): Likewise.
53443         (__mpn_addmul_1): Do not use BP_SYM.
53444         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53445         weak_alias.
53446         (bzero): Likewise.
53447         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53448         "bp-asm.h".
53449         (PARMS): Do not use macros from bp-asm.h.
53450         (S): Likewise.
53451         (SIZE): Likewise.
53452         (__mpn_lshift): Do not use BP_SYM.
53453         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53454         "bp-asm.h".
53455         (PARMS): Do not use macros from bp-asm.h.
53456         (DEST): Likewise.
53457         (SRC): Likewise.
53458         (LEN): Likewise.
53459         (memcpy): Likewise.  Do not use BP_SYM.
53460         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53461         libc_hidden_def and weak_alias.
53462         (mempcpy): Do not use BP_SYM in weak_alias.
53463         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53464         "bp-asm.h".
53465         (PARMS): Do not use macros from bp-asm.h.
53466         (DEST): Likewise.
53467         (LEN): Likewise.
53468         [!BZERO_P] (CHR): Likewise.
53469         (memset): Likewise.  Do not use BP_SYM.
53470         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53471         "bp-asm.h".
53472         (PARMS): Do not use macros from bp-asm.h.
53473         (S1): Likewise.
53474         (SIZE): Likewise.
53475         (__mpn_mul_1): Do not use BP_SYM.
53476         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53477         "bp-asm.h".
53478         (PARMS): Do not use macros from bp-asm.h.
53479         (S): Likewise.
53480         (SIZE): Likewise.
53481         (__mpn_rshift): Do not use BP_SYM.
53482         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53483         "bp-asm.h".
53484         (PARMS): Do not use macros from bp-asm.h.
53485         (STR): Likewise.
53486         (CHR): Likewise.
53487         (strchr): Likewise.  Do not use BP_SYM.
53488         (index): Do not use BP_SYM in weak_alias.
53489         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53490         "bp-asm.h".
53491         (PARMS): Do not use macros from bp-asm.h.
53492         (DEST): Likewise.
53493         (SRC): Likewise.
53494         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53495         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53496         "bp-asm.h".
53497         (PARMS): Do not use macros from bp-asm.h.
53498         (strlen): Do not use BP_SYM.
53499         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53500         "bp-asm.h".
53501         (PARMS): Do not use macros from bp-asm.h.
53502         (S1): Likewise.
53503         (S2): Likewise.
53504         (SIZE): Likewise.
53505         (__mpn_sub_n): Do not use BP_SYM.
53506         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53507         "bp-asm.h".
53508         (PARMS): Do not use macros from bp-asm.h.
53509         (S1): Likewise.
53510         (SIZE): Likewise.
53511         (__mpn_submul_1): Do not use BP_SYM.
53512         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53513         "bp-asm.h".
53514         (PARMS): Do not use macros from bp-asm.h.
53515         (S1): Likewise.
53516         (S2): Likewise.
53517         (SIZE): Likewise.
53518         (__mpn_add_n): Do not use BP_SYM.
53519         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53520         weak_alias.
53521         (bzero): Likewise.
53522         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53523         "bp-asm.h".
53524         (PARMS): Do not use macros from bp-asm.h.
53525         (BLK2): Likewise.
53526         (LEN): Likewise.
53527         (memcmp): Do not use BP_SYM.
53528         (bcmp): Do not use BP_SYM in weak_alias.
53529         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53530         "bp-asm.h".
53531         (PARMS): Do not use macros from bp-asm.h.
53532         (DEST): Likewise.
53533         (SRC): Likewise.
53534         (LEN): Likewise.
53535         (memcpy): Likewise.  Do not use BP_SYM.
53536         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
53537         "bp-asm.h".
53538         (PARMS): Do not use macros from bp-asm.h.
53539         (DEST): Likewise.
53540         (SRC): Likewise.
53541         (LEN): Likewise.
53542         (memmove): Likewise.  Do not use BP_SYM.
53543         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53544         "bp-asm.h".
53545         (PARMS): Do not use macros from bp-asm.h.
53546         (DEST): Likewise.
53547         (SRC): Likewise.
53548         (LEN): Likewise.
53549         (__mempcpy): Likewise.  Do not use BP_SYM.
53550         (mempcpy): Do not use BP_SYM in weak_alias.
53551         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53552         "bp-asm.h".
53553         (PARMS): Do not use macros from bp-asm.h.
53554         (DEST): Likewise.
53555         (LEN): Likewise.
53556         [!BZERO_P] (CHR): Likewise.
53557         (memset): Likewise.  Do not use BP_SYM.
53558         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53559         "bp-asm.h".
53560         (PARMS): Do not use macros from bp-asm.h.
53561         (STR2): Likewise.
53562         (strcmp): Do not use BP_SYM.
53563         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53564         "bp-asm.h".
53565         (PARMS): Do not use macros from bp-asm.h.
53566         (STR): Likewise.
53567         (DELIM): Likewise.
53568         [USE_AS_STRTOK_R] (SAVE): Likewise.
53569         (FUNCTION): Likewise.  Do not use BP_SYM.
53570         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53571         aliases.
53572         (strtok_r): Likewise.
53573         (__GI___strtok_r): Likewise.
53574         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53575         (PARMS): Do not use macros from bp-asm.h.
53576         (S): Likewise.
53577         (SIZE): Likewise.
53578         (__mpn_lshift): Do not use BP_SYM.
53579         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53580         (PARMS): Do not use macros from bp-asm.h.
53581         (STR): Likewise.
53582         (CHR): Likewise.
53583         (__memchr): Do not use BP_SYM.
53584         (memchr): Do not use BP_SYM in weak_alias.
53585         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53586         (PARMS): Do not use macros from bp-asm.h.
53587         (BLK2): Likewise.
53588         (LEN): Likewise.
53589         (memcmp): Do not use BP_SYM.
53590         (bcmp): Do not use BP_SYM in weak_alias.
53591         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53592         (PARMS): Do not use macros from bp-asm.h.
53593         (S1): Likewise.
53594         (SIZE): Likewise.
53595         (__mpn_mul_1): Do not use BP_SYM.
53596         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53597         "bp-asm.h".
53598         (PARMS): Do not use macros from bp-asm.h.
53599         (STR): Likewise.
53600         (CHR): Likewise.
53601         (__rawmemchr): Do not use BP_SYM.
53602         (rawmemchr): Do not use BP_SYM in weak_alias.
53603         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53604         (PARMS): Do not use macros from bp-asm.h.
53605         (S): Likewise.
53606         (SIZE): Likewise.
53607         (__mpn_rshift): Do not use BP_SYM.
53608         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53609         (PARMS): Do not use macros from bp-asm.h.
53610         (SIGMSK): Likewise.
53611         (__sigsetjmp): Likewise.  Do not use BP_SYM.
53612         * sysdeps/i386/start.S: Do not include "bp-sym.h".
53613         (_start): Do not use BP_SYM.
53614         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53615         (PARMS): Do not use macros from bp-asm.h.
53616         (DEST): Likewise.
53617         (SRC): Likewise.
53618         (__stpcpy): Likewise.  Do not use BP_SYM.
53619         (stpcpy): Do not use BP_SYM in weak_alias.
53620         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53621         "bp-asm.h".
53622         (PARMS): Do not use macros from bp-asm.h.
53623         (DEST): Likewise.
53624         (SRC): Likewise.
53625         (LEN): Likewise.
53626         (__stpncpy): Likewise.  Do not use BP_SYM.
53627         (stpncpy): Do not use BP_SYM in weak_alias.
53628         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53629         (PARMS): Do not use macros from bp-asm.h.
53630         (STR): Likewise.
53631         (CHR): Likewise.
53632         (strchr): Likewise.  Do not use BP_SYM.
53633         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53634         "bp-asm.h".
53635         (PARMS): Do not use macros from bp-asm.h.
53636         (STR): Likewise.
53637         (CHR): Likewise.
53638         (__strchrnul): Likewise.  Do not use BP_SYM.
53639         (strchrnul): Do not use BP_SYM in weak_alias.
53640         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53641         "bp-asm.h".
53642         (PARMS): Do not use macros from bp-asm.h.
53643         (STOP): Likewise.
53644         (strcspn): Do not use BP_SYM.
53645         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53646         "bp-asm.h".
53647         (PARMS): Do not use macros from bp-asm.h.
53648         (STR): Likewise.
53649         (STOP): Likewise.
53650         (strpbrk): Likewise.  Do not use BP_SYM.
53651         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53652         "bp-asm.h".
53653         (PARMS): Do not use macros from bp-asm.h.
53654         (STR): Likewise.
53655         (CHR): Likewise.
53656         (strrchr): Likewise.  Do not use BP_SYM.
53657         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53658         (PARMS): Do not use macros from bp-asm.h.
53659         (SKIP): Likewise.
53660         (strspn): Do not use BP_SYM.
53661         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53662         (PARMS): Do not use macros from bp-asm.h.
53663         (STR): Likewise.
53664         (DELIM): Likewise.
53665         (SAVE): Likewise.
53666         (FUNCTION): Likewise.  Do not use BP_SYM.
53667         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53668         aliases.
53669         (strtok_r): Likewise.
53670         (__GI___strtok_r): Likewise.
53671         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53672         (PARMS): Do not use macros from bp-asm.h.
53673         (S1): Likewise.
53674         (S2): Likewise.
53675         (SIZE): Likewise.
53676         (__mpn_sub_n): Do not use BP_SYM.
53677         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53678         "bp-asm.h".
53679         (PARMS): Do not use macros from bp-asm.h.
53680         (S1): Likewise.
53681         (SIZE): Likewise.
53682         (__mpn_submul_1): Do not use BP_SYM.
53683         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53684         <bp-sym.h>.
53685         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53686         and <bp-asm.h>.
53687         (PARMS): Do not use macros from bp-asm.h.
53688         (FLAGS): Likewise.
53689         (PTID): Likewise.
53690         (TLS): Likewise.
53691         (CTID): Likewise.
53692         (__clone): Do not use BP_SYM.
53693         (clone): Do not use BP_SYM in weak_alias.
53694         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53695         and <bp-asm.h>.
53696         (PARMS): Do not use macros from bp-asm.h.
53697         (LEN): Likewise.
53698         (__mmap64): Do not use BP_SYM.
53699         (mmap64): Do not use BP_SYM in weak_alias.
53700         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53701         <bp-sym.h> and <bp-asm.h>.
53702         (PARMS): Do not use macros from bp-asm.h.
53703         (__posix_fadvise64_l64): Do not use BP_SYM.
53704         * sysdeps/unix/sysv/linux/i386/semtimedop.S
53705         (PARMS): Do not use macros from bp-asm.h.
53706         (NSOPS): Likewise.
53707         (semtimedop): Do not use BP_SYM.
53708         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53709         and <bp-asm.h>.
53711 2013-02-21  Allan McRae  <allan@archlinux.org>
53713         * manual/message.texi (Charset conversion in gettext):
53714         Move @end statement to beginning of line.
53716 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53718         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53719         static.
53720         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53721         Likewise.
53723         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53724         (denorm): Likewise.
53725         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53726         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53728 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53730         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53731         tail-call to the resolved function if pltexit isn't needed.
53733 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53736         or Y being zero as being unlikely.
53737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53738         Likewise.
53740 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
53742         * manual/nss.texi (System Databases and Name Service Switch):
53743         Remove frobnicate @pxref.
53745 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53747         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53748         __attribute__ ((unused)) to __attribute__ ((__unused__)).
53750 2013-02-20  Petr Machata  <pmachata@redhat.com>
53752         * elf/elf.h (R_ARM_TARGET1): New macro.
53753         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53754         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53755         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53756         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53757         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53758         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53759         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53760         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53761         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53762         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53763         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53764         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53765         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53766         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53767         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53768         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53769         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53770         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53771         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53772         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53773         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53774         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53775         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53776         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53777         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53778         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53779         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53780         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53781         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53782         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53783         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53784         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53785         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53786         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53787         (R_ARM_THM_GOT_BREL12): Likewise.
53788         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53789         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53790         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53791         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53792         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53793         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53794         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53795         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53796         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53798 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53800         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53801         __attribute_used__ to __attribute__ ((unused)).
53803 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53805         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
53806         powerpc mpa.c.
53807         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
53808         comment formatting.
53809         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
53811 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
53813         [BZ #13550]
53814         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53815         Remove macro.
53816         (ENTER): Remove both macro definitions.
53817         (LEAVE): Likewise.
53818         (CHECK_BOUNDS_LOW): Likewise.
53819         (CHECK_BOUNDS_HIGH): Likewise.
53820         (CHECK_BOUNDS_BOTH): Likewise.
53821         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53822         (RETURN_BOUNDED_POINTER): Likewise.
53823         (RETURN_NULL_BOUNDED_POINTER): Likewise.
53824         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53825         (POP_ERRNO_LOCATION_RETURN): Likewise.
53826         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53827         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53828         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53829         macros.
53830         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53831         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53832         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53833         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53834         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53835         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53836         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53837         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53838         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53839         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53840         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53841         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53842         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53843         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53844         removed macros.
53845         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53846         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53847         macros.
53848         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53849         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53850         * sysdeps/i386/i586/memset.S (memset): Likewise.
53851         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53852         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53853         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53854         macros.
53855         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53856         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53857         Change uses of L(2) to L(out).
53858         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53859         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53860         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53861         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53862         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53863         removed macros.
53864         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53865         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53866         macros.
53867         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53868         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53869         (RETURN): Do not use macro LEAVE.
53870         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53871         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53872         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53873         * sysdeps/i386/i686/memset.S (memset): Likewise.
53874         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53875         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53876         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53877         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53878         Likewise.
53879         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53880         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
53881         L(1_2) and L(1_3) into L(1).
53882         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53883         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53884         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53885         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53886         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53887         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53888         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53889         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53890         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53891         macros.
53892         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53893         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53894         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53895         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53896         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53897         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53898         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53899         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53900         * sysdeps/i386/strcspn.S (strcspn): Likewise.
53901         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53902         * sysdeps/i386/strrchr.S (strrchr): Likewise.
53903         * sysdeps/i386/strspn.S (strspn): Likewise.
53904         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53905         conditional code.
53906         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53907         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53908         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53909         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
53910         L(1_3) into L(1_1).
53911         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53912         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53913         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53914         macros.
53915         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53917 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
53919         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53920         macro.
53922 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53924         * math/atest-exp.c (exp_mpn): Remove ROUND.
53925         * math/atest-exp2.c (exp_mpn): Likewise.
53926         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53928         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53929         * stdlib/tst-tls-atexit-lib.c: Likewise.
53930         * stdlib/tst-tls-atexit.c: Likewise.
53932 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53934         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53935         and __attribute_alloc_size__.
53937 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53939         * include/programs/xmalloc.h: Change __attribute_alloc_size to
53940         __attribute_alloc_size__.
53941         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53942         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53944 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53946         * include/programs/xmalloc.h: New file.
53947         * catgets/gencat.c: Include it.
53948         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53949         * elf/pldd.c: Likewise.
53950         * iconv/iconv_charmap.c: Likewise.
53951         * iconv/iconvconfig.c: Likewise.
53952         * iconv/strtab.c: Likewise.
53953         * locale/programs/locale.c: Likewise.
53954         * locale/programs/localedef.h: Likewise.
53955         * locale/programs/simple-hash.c: Likewise.
53956         * nscd/nscd.h: Likewise.
53957         * nss/makedb.c: Likewise.
53958         * sysdeps/generic/ldconfig.h: Likewise.
53960 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53962         * Versions.def: Add GLIBC_2.18.
53963         * include/link.h (struct link_map): New member l_tls_dtor_count.
53964         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53965         (__call_tls_dtors): Likewise.
53966         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53967         __cxa_thread_atexit_impl.
53968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53969         Likewise.
53970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53971         Likewise.
53972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53973         Likewise.
53974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53975         Likewise.
53976         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
53978         Likewise.
53979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
53980         Likewise.
53981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53983         Likewise.
53984         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
53985         (tests): Add test case tst-tls-atexit.
53986         (modules-names): Add shared library for tst-tls-atexit.
53987         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
53988         (GLIBC_PRIVATE): Add __call_tls_dtors.
53989         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
53990         for libstdc++.
53991         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
53992         * stdlib/tst-tls-atexit.c: New test case.
53993         * stdlib/tst-tls-atexit-lib.c: New test case.
53995         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
53997         * elf/Versions (ld): Add _dl_find_dso_for_object.
53998         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
53999         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54000         (dl_open_worker): Use _dl_find_dso_for_object.
54001         * elf/dl-sym.c (do_sym): Likewise.
54002         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54004 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54006         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54007         Syntactic changes only.
54008         (_dl_runtime_profile): Do a tail-call to the resolved function.
54010 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54012         [BZ #13550]
54013         * sysdeps/x86_64/bp-asm.h: Remove file.
54014         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54015         <bp-sym.h> and <bp-asm.h>.
54016         (__clone): Do not use BP_SYM.
54017         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54018         <bp-sym.h> and <bp-asm.h>.
54019         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54020         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54021         "bp-asm.h".
54022         (_setjmp): Do not use BP_SYM.
54023         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54024         "bp-asm.h".
54025         (setjmp): Do not use BP_SYM.
54026         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54027         libc_hidden_def.
54028         (mempcpy): Do not use BP_SYM in weak_alias.
54029         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54030         "bp-asm.h".
54031         (strchr): Do not use BP_SYM.
54032         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54033         "bp-asm.h".
54034         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54035         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54036         (_start): Do not use BP_SYM.
54037         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54038         "bp-asm.h".
54039         (strcat): Do not use BP_SYM.
54040         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54041         "bp-asm.h".
54042         (STRCMP): Do not use BP_SYM.
54043         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54044         "bp-asm.h".
54045         (STRCPY): Do not use BP_SYM.
54046         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54047         "bp-asm.h".
54048         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54049         "bp-asm.h".
54050         (FUNCTION): Do not use BP_SYM.
54051         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54052         weak_alias.
54053         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54055 2013-02-17  Andreas Jaeger  <aj@suse.de>
54057         * time/Versions: Sort entries.
54058         * string/Versions: Likewise.
54059         * resolv/Versions: Likewise.
54060         * posix/Versions: Likewise.
54061         * iconv/Versions: Likewise.
54062         * elf/Versions: Likewise.
54063         * wcsmbs/Versions: Likewise.
54065 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54067         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54068         loop termination condition.
54070         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54071         variable to calculate EZ.
54072         (__sqr): Likewise.
54074         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54075         the lower precision input.
54077 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54079         [BZ #13550]
54080         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54081         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54082         (run-via-rtld-prefix): Do not handle %-bp tests.
54083         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54084         (all-object-suffixes): Remove .ob.
54085         (bppfx): Remove variable.
54086         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54087         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54088         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54089         [$(build-bounded) = yes] (libtype.ob): Likewise.
54090         * Makerules (elide-routines.ob): Remove variable.
54091         (do-tests-clean): Do not handle *-bp.out.
54092         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54093         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54094         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54095         (tests): Do not include $(tests-bp.out).
54096         (xtests): Do not include $(xtests-bp.out).
54097         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54098         [$(build-bounded) = yes] ($(addprefix
54099         $(objpfx),$(binaries-bounded))): Remove rule.
54100         ($(objpfx)%-bp.out): Remove rule.
54101         * config.make.in (build-bounded): Remove variable.
54102         * crypt/Makefile [$(build-bounded) = yes]
54103         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54104         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54105         append to variable.
54106         [$(build-bounded) = yes] (install-lib): Likewise.
54107         [$(build-bounded) = yes] (generated): Likewise.
54108         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54109         Remove rule.
54110         * intl/Makefile [$(build-bounded) = yes]
54111         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54112         * math/Makefile [$(build-bounded) = yes]
54113         ($(tests:%=$(objpfx)%-bp): Likewise.
54114         * misc/Makefile [$(build-bounded) = yes]
54115         ($(objpfx)tst-tsearch-bp): Likewise.
54116         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54117         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54118         Remove dependency.
54119         * string/Makefile (o-objects.ob): Remove variable.
54120         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54121         (CFLAGS-.ob): Remove variable.
54122         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54123         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54124         both definitions of variable.
54125         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54126         (ASFLAGS-.ob): Remove variable.
54128 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54130         [BZ #13550]
54131         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54132         Remove __BOUNDED_POINTERS__ from condition.
54133         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54134         * string/bits/string2.h [!__NO_STRING_INLINES &&
54135         !__BOUNDED_POINTERS__]: Likewise.
54136         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54137         Likewise.
54138         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54139         Remove conditional code.
54140         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54141         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54142         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54143         condition.
54145         [BZ #13550]
54146         * csu/libc-start.c: Do not include <bp-sym.h>.
54147         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54148         * elf/dl-open.c: Do not include <bp-sym.h>.
54149         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54150         * math/fegetenv.c: Do not include <bp-sym.h>.
54151         (fegetenv): Do not use BP_SYM in versioned symbols.
54152         * nptl/sysdeps/pthread/bits/libc-lockP.h
54153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54154         <bp-sym.h>.
54155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54156         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54158         (__pthread_mutex_destroy): Likewise.
54159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54160         (__pthread_mutex_lock): Likewise.
54161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54162         (__pthread_mutex_trylock): Likewise.
54163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54164         (__pthread_mutex_unlock): Likewise.
54165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54166         (__pthread_mutexattr_init): Likewise.
54167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54168         (__pthread_mutexattr_destroy): Likewise.
54169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54170         (__pthread_mutexattr_settype): Likewise.
54171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54172         (__pthread_rwlock_init): Likewise.
54173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54174         (__pthread_rwlock_destroy): Likewise.
54175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54176         (__pthread_rwlock_rdlock): Likewise.
54177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54178         (__pthread_rwlock_tryrdlock): Likewise.
54179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54180         (__pthread_rwlock_wrlock): Likewise.
54181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54182         (__pthread_rwlock_trywrlock): Likewise.
54183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54184         (__pthread_rwlock_unlock): Likewise.
54185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54186         (__pthread_key_create): Likewise.
54187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54188         (__pthread_setspecific): Likewise.
54189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54190         (__pthread_getspecific): Likewise.
54191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54192         Likewise.
54193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54194         (_pthread_cleanup_push_defer): Likewise.
54195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54196         (_pthread_cleanup_pop_restore): Likewise.
54197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54198         (pthread_setcancelstate): Likewise.
54199         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54200         <bp-sym.h>.
54201         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54202         (memchr): Do not use BP_SYM in weak_alias.
54203         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54204         (fegetenv): Do not use BP_SYM in versioned symbols.
54205         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54206         (fesetenv): Do not use BP_SYM in versioned symbols.
54207         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54208         (feupdateenv): Do not use BP_SYM in versioned symbols.
54209         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54210         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54211         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54212         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54213         (open64): Do not use BP_SYM in weak_alias.
54214         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54215         (fegetenv): Do not use BP_SYM in versioned symbols.
54216         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54217         (fesetenv): Do not use BP_SYM in versioned symbols.
54218         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54219         (feupdateenv): Do not use BP_SYM in versioned symbols.
54220         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54221         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54222         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54223         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54224         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54225         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54226         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54227         <bp-sym.h>.
54228         (__libc_start_main): Do not use BP_SYM.
54230 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54232         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54233         redundant return line.
54234         (norm): Likewise.
54235         (denorm): Likewise.
54236         (dbl_mp): Likewise.
54237         (sub_magnitudes): Likewise.
54238         (__add): Likewise.
54239         (__sub): Likewise.
54240         (__mul): Likewise.
54241         (__inv): Likewise.
54242         (__dvd): Likewise.
54243         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54244         (norm): Likewise.
54245         (denorm): Likewise.
54246         (dbl_mp): Likewise.
54247         (sub_magnitudes): Likewise.
54248         (__add): Likewise.
54249         (__sub): Likewise.
54250         (__mul): Likewise.
54251         (__inv): Likewise.
54252         (__dvd): Likewise.
54254         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54255         instead of __mul.
54256         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54257         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54258         (cc32): Likewise.
54260         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54261         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54262         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54263         of __mul for squares.
54264         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54265         function
54266         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54267         Likewise.
54268         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54269         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54271 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54273         [BZ #13550]
54274         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54275         code.
54276         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54277         prototype or function definition.  Rename ubp_* variables and
54278         parameters.  Remove argv definitions conditional on
54279         [__BOUNDED_POINTERS__].
54280         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54281         * elf/dl-runtime.c (_dl_fixup): Likewise.
54282         * include/set-hooks.h (RUN_HOOK): Likewise.
54283         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54284         definition.
54285         * string/strcpy.c (strcpy): Do not use __unbounded.
54286         * sysdeps/generic/frame.h (struct layout): Likewise.
54287         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54288         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54289         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54290         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54291         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54292         (__backtrace): Likewise.
54293         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54294         use __ptrvalue.
54295         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54296         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54297         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54298         Likewise.
54299         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54300         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54301         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54302         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54303         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54304         Do not use __unbounded.
54305         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54306         Rename __unboundedrlimits parameter to rlimits in prototype.
54307         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54308         Do not use __unbounded.
54309         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54310         not use __ptrvalue.
54311         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54312         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54313         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54314         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54315         __ptrvalue or __unbounded.
54316         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54317         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54318         use __unbounded.
54319         (__new_msgctl): Do not use __ptrvalue.
54320         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54321         __unbounded.
54322         (__libc_msgrcv): Do not use __ptrvalue.
54323         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54324         startup_info): Do not use __unbounded.
54325         (__libc_start_main): Likewise.  Rename ubp_* variables and
54326         parameters.  Remove argv definitions conditional on
54327         [__BOUNDED_POINTERS__].
54328         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54329         __ptrvalue.
54330         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54331         use __unbounded.
54332         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54333         or __ptrvalue.
54334         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54335         use __unbounded.
54336         (__new_shmctl): Do not use __ptrvalue.
54337         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54338         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54339         Likewise.
54340         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54341         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54342         (__libc_sigaction): Likewise.
54343         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54344         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54345         Likewise.
54346         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54348 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54350         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54352         * string/mempcpy.c: Implement by calling memcpy.
54354 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54356         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54358         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54359         evaluation.
54361         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54362         values in the mantissa.
54364         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54365         minimize writes to Z.
54366         (sub_magnitudes): Simplify code a bit.
54368 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54370         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54371         from the message.  The linker prefixes all warnings with that already.
54373 2013-02-12  Andreas Schwab  <schwab@suse.de>
54375         [BZ #15078]
54376         * posix/regexec.c (extend_buffers): Add parameter min_len.
54377         (check_matching): Pass minimum needed length.
54378         (clean_state_log_if_needed): Likewise.
54379         (get_subexp): Likewise.
54380         * posix/Makefile (tests): Add bug-regex34.
54381         (bug-regex34-ENV): Define.
54382         * posix/bug-regex34.c: New file.
54384         [BZ #11561]
54385         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54386         elements compare against the byte sequence of it, not its name.
54387         * posix/Makefile (tests): Add bug-regex35.
54388         (bug-regex35-ENV): Define.
54389         * posix/bug-regex35.c: New file.
54391 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54393         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54394         comment.
54395         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54396         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54397         (CHECK_EOL): Add undef.
54399 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54401         * bits/stdlib-bsearch.h: New file.
54402         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54403         * stdlib/stdlib.h: Likewise.
54405 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54407         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54408         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54409         declaration.
54410         * manual/search.texi (Array Search Function): Add missing const in
54411         lfind prototype.
54412         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54413         declaration to use rlim_t.
54414         (Basic Scheduling Functions): Remove erroneous const from
54415         sched_getparam prototype.  Remove erroneous * from
54416         sched_get_priority_max and sched_get_priority_min prototypes.
54417         (Resource Usage): Fix summary @comment on vtimes to refer to
54418         sys/vtimes.h rather than vtimes.h.
54419         Add missing *s in vtimes prototype.
54420         (Limits on Resources): Fix ulimit prototype to return long int.
54421         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54422         prototypes to use long int rather than double.
54423         (BSD Random): Fix initstate and setstate to use char *, not void *.
54424         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54425         prototype to make second argument 'struct aiocb64 *const[]'.
54426         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54427         (Status of AIO Operations): Remove erroneous const in aio_return and
54428         aio_return64 prototypes.
54429         (Synchronizing I/O): Fix sync prototype to return void.
54430         * manual/startup.texi (Suboptions): Remove an erroneous const in
54431         getsubopt prototype.
54432         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54433         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54434         use size_t rather than int.
54435         (Scanning All Users): Likewise for getpwent_r.
54436         (Setting Groups): Add missing const to setgroups prototype.
54437         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54438         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54439         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54440         'const void *' rather than 'const char *'.
54441         (Host Address Functions): Likewise for inet_ntop.
54442         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54443         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54444         ssize_t for return value.
54445         (Sending Data): Likewise for send, sendto, sendmsg.
54446         (Socket Option Functions): Add a missing const in setsockopt prototype.
54447         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54448         use wchar_t for the argument.
54449         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54450         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54451         take no arguments.
54452         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54453         double/float/long double for second argument.
54454         Fix return types of significand, significandf, significandl.
54455         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54456         argument in fchmod prototype.
54457         (File Owner): Use uid_t and gid_t in fchown prototype.
54458         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54459         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54460         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54461         use 'const struct dirent **' as argument types to CMP function pointer
54462         argument.
54463         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54464         (File Times): Fix summary magic @comment for struct utimbuf and utime
54465         to refer to utime.h, not time.h.
54466         * manual/string.texi (Argz Functions): Add missing const in
54467         argz_extract and argz_next prototypes.
54468         (Finding Tokens in a String): Likewise for basename.
54469         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54470         (Copying and Concatenation): Fix typo in wmemmove prototype.
54471         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54472         (Signal Stack): Remove erroneous const in sigstack prototype.
54473         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54474         prototype.
54475         (Simple Calendar Time): Likewise for stime.
54476         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54477         prototype.
54478         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54479         say sys/sysctl.h instead.
54480         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54481         and vsyslog prototypes.
54483 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54485         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54486         Remove.
54488 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54490         * misc/sys/mman.h: Fix typo in mremap comment.
54492 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54494         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54495         the '\0' terminator.
54497 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54499         [BZ #13550]
54500         * debug/segfault.c: Don't include <bp-checks.h>.
54501         * sysdeps/generic/bp-checks.h: Remove file.
54502         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54503         (__GETDENTS): Don't use CHECK_N.
54504         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54505         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54506         (__getgroups): Don't use CHECK_N.
54507         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54508         (setgroups): Don't use CHECK_N.
54509         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54510         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54511         (__libc_msgrcv): Don't use CHECK_N.
54512         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54513         (__libc_msgsnd): Don't use CHECK_N.
54514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54515         <bp-checks.h>.
54516         (__libc_pread): Don't use CHECK_N.
54517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54518         include <bp-checks.h>.
54519         (__libc_pread64): Don't use CHECK_N.
54520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54521         include <bp-checks.h>.
54522         (__libc_pwrite): Don't use CHECK_N.
54523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54524         include <bp-checks.h>.
54525         (__libc_pwrite64): Don't use CHECK_N.
54526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54527         <bp-checks.h>.
54528         (__libc_pread): Don't use CHECK_N.
54529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54530         include <bp-checks.h>.
54531         (__libc_pread64): Don't use CHECK_N.
54532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54533         include <bp-checks.h>.
54534         (__libc_pwrite): Don't use CHECK_N.
54535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54536         include <bp-checks.h>.
54537         (__libc_pwrite64): Don't use CHECK_N.
54538         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54539         (do_pread): Don't use CHECK_N.
54540         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54541         (do_pread64): Don't use CHECK_N.
54542         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54543         (do_pwrite): Don't use CHECK_N.
54544         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54545         (do_pwrite64): Don't use CHECK_N.
54546         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54547         (__libc_readv): Don't use CHECK_N.
54548         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54549         (semop): Don't use CHECK_N.
54550         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54551         <bp-checks.h>.
54552         (semtimedop): Don't use CHECK_N.
54553         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54554         (__libc_pread): Don't use CHECK_N.
54555         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54556         <bp-checks.h>.
54557         (__libc_pread64): Don't use CHECK_N.
54558         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54559         <bp-checks.h>.
54560         (__libc_pwrite): Don't use CHECK_N.
54561         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54562         <bp-checks.h>.
54563         (__libc_pwrite64): Don't use CHECK_N.
54564         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54565         <bp-checks.h>.
54566         (__libc_msgrcv): Don't use CHECK_N.
54567         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54568         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54569         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54570         (__libc_writev): Don't use CHECK_N.
54572 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54574         * string/strcpy.c: Removed unused variable.
54576         * Makeconfig (+sysdep-includes): Define with := rather than =.
54577         Use an existing include/ subdir of each sysdeps dir before it.
54579 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54581         * nscd/connection.c (register_traced_file): Comment function.
54582         [HAVE_INOTIFY] (union __inev): Define.
54583         [HAVE_INOTIFY] (inotify_check_files): New function.
54584         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54585         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54586         clear_db_cache.
54587         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54589 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54591         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54592         loaded if not already and that a failure is permanent.
54594 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54596         [BZ #15006]
54597         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54598         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54600 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54602         [BZ #13550]
54603         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54604         (CHECK_1_NULL_OK): Likewise.
54605         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54606         (__fxstat): Do not use CHECK_1.
54607         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54608         <bp-checks.h>.
54609         (___fxstat64): Do not use CHECK_1.
54610         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54611         <bp-checks.h>.
54612         (__fxstatat): Do not use CHECK_1.
54613         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54614         <bp-checks.h>.
54615         (__fxstatat64): Do not use CHECK_1.
54616         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54617         <bp-checks.h>.
54618         (__fxstat): Do not use CHECK_1.
54619         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54620         <bp-checks.h>.
54621         (__fxstatat): Do not use CHECK_1.
54622         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54623         <bp-checks.h>.
54624         (__getresgid): Do not use CHECK_1.
54625         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54626         <bp-checks.h>.
54627         (__getresuid): Do not use CHECK_1.
54628         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54629         <bp-checks.h>.
54630         (__lxstat): Do not use CHECK_1.
54631         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54632         <bp-checks.h>.
54633         (__old_msgctl): Do not use CHECK_1.
54634         (__new_msgctl): Likewise.
54635         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54636         <bp-checks.h>.
54637         (__new_setrlimit): Do not use CHECK_1.
54638         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54639         <bp-checks.h>.
54640         (__old_shmctl): Do not use CHECK_1.
54641         (__new_shmctl): Likewise.
54642         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54643         <bp-checks.h>.
54644         (__xstat): Do not use CHECK_1.
54645         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54646         (__lxstat): Do not use CHECK_1.
54647         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54648         <bp-checks.h>.
54649         (___lxstat64): Do not use CHECK_1.
54650         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54651         (__old_msgctl): Do not use CHECK_1.
54652         (__new_msgctl): Likewise.
54653         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54654         <bp-checks.h>.
54655         (__gettimeofday): Do not use CHECK_1.
54656         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54657         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54658         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54659         <bp-checks.h>.
54660         (__gettimeofday): Do not use CHECK_1.
54661         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54662         (__old_shmctl): Do not use CHECK_1_NULL_OK.
54663         (__new_shmctl): Do not use CHECK_1.
54664         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54665         <bp-checks.h>.
54666         (do_sigtimedwait): Do not use CHECK_1.
54667         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54668         <bp-checks.h>.
54669         (do_sigwaitinfo): Do not use CHECK_1.
54670         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54671         <bp-checks.h>.
54672         (msgctl): Do not use CHECK_1.
54673         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54674         <bp-checks.h>.
54675         (shmctl): Do not use CHECK_1.
54676         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54677         (ustat): Do not use CHECK_1.
54678         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54679         <bp-checks.h>.
54680         (__fxstat): Do not use CHECK_1.
54681         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54682         <bp-checks.h>.
54683         (__fxstatat): Do not use CHECK_1.
54684         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54685         <bp-checks.h>.
54686         (__lxstat): Do not use CHECK_1.
54687         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54688         <bp-checks.h>.
54689         (__xstat): Do not use CHECK_1.
54690         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54691         (__xstat): Do not use CHECK_1.
54692         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54693         (___xstat64): Do not use CHECK_1.
54695         [BZ #13550]
54696         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54697         definitions.
54698         (CHECK_BOUNDS_HIGH): Likewise.
54699         * string/strcpy.c: Do not include <bp-checks.h>.
54700         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54702 2013-02-07  Roland McGrath  <roland@hack.frob.com>
54704         * nscd/nscd-client.h (__nscd_drop_map_ref):
54705         Add __attribute__ ((unused)).
54706         * nis/nss-nisplus.h (niserr2nss): Likewise.
54708         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54709         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54711         * csu/libc-tls.c (init_static_tls, init_slotinfo):
54712         Remove inline keyword.
54713         * include/rounding-mode.h (round_away): Likewise.
54714         * libio/wfileops.c (adjust_wide_data): Likewise.
54715         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54716         (__m128i_strloadu_tolower): Likewise.
54717         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54718         (__m128i_strloadu_tolower): Likewise.
54719         * time/mktime.c (ydhms_diff): Likewise.
54720         * locale/elem-hash.h (elem_hash): Likewise.
54721         * locale/setlocale.c (setdata): Likewise.
54722         * posix/regex_internal.h (re_string_char_size_at): Likewise.
54723         (re_string_wchar_at): Likewise.
54724         (bitset_not, bitset_merge, bitset_mask): Likewise.
54725         [!(__GNUC__ > 3)] (inline): Remove macro.
54726         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54727         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54728         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54729         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54730         * string/memcmp.c (memcmp_bytes): Likewise.
54731         * locale/programs/locarchive.c (compute_hashval): Likewise.
54732         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54733         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54734         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54735         * nss/getent.c (print_rpc, print_protocols): Likewise.
54736         (print_passwd, print_group, print_aliases): Likewise.
54737         * nis/nss-nisplus.h (niserr2nss): Likewise.
54738         * nscd/connections.c (restart_p): Likewise.
54739         Change return type to bool.
54741 2013-02-05  Roland McGrath  <roland@hack.frob.com>
54743         * Makeconfig (all-Depend-files): Add existing
54744         $(sorted-subdirs:=/Depend) files.
54745         (all-subdirs): Remove nss.
54746         * sysdeps/unix/inet/Subdirs: Add it here instead.
54747         * hesiod/Depend: New file.
54749         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54750         instead of calling alloca.
54752         * io/lseek.c (__lseek): Rename to __libc_lseek.
54753         Define __lseek as an alias.
54755         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54757 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
54759         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54760         else clause and remove check for non-standard endianness.
54762 2013-02-04  David S. Miller  <davem@davemloft.net>
54764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54766 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
54768         [BZ #13550]
54769         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54770         (__ubp_memchr): Remove prototype.
54771         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54772         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54773         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54774         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54775         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54776         Remove alias.
54777         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54778         (__ubp_memchr): Likewise.
54779         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54780         (__ubp_memchr): Likewise.
54781         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54782         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54783         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54784         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54785         CHECK_STRING.
54786         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54787         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54788         (__getcwd): Do not use CHECK_STRING.
54789         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54790         <bp-checks.h>.
54791         (__real_chown): Do not use CHECK_STRING.
54792         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54793         <bp-checks.h>.
54794         (fchownat): Do not use CHECK_STRING.
54795         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54796         CHECK_STRING.
54797         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54798         <bp-checks.h>.
54799         (__lchown): Do not use CHECK_STRING.
54800         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54801         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54802         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54803         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
54804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54805         include <bp-checks.h>.
54806         (truncate64): Do not use CHECK_STRING.
54807         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54808         <bp-checks.h>.
54809         (__real_chown): Do not use CHECK_STRING.
54810         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54811         <bp-checks.h>.
54812         (__lchown): Do not use CHECK_STRING.
54813         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54814         <bp-checks.h>.
54815         (__chown): Do not use CHECK_STRING.
54816         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54817         <bp-checks.h>.
54818         (truncate64): Do not use CHECK_STRING.
54819         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54820         Likewise.
54821         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54822         (__xmknod): Do not use CHECK_STRING.
54823         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54824         <bp-checks.h>.
54825         (__xmknodat): Do not use CHECK_STRING.
54826         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54827         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54829 2013-02-04  Andreas Schwab  <schwab@suse.de>
54831         [BZ #14142]
54832         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54833         * include/netdb.h: Likewise for h_errno.
54834         * elf/tst-stackguard1.c: Include <tls.h>.
54836 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
54838         * elf/link.h (struct link_map): Extend the l_addr comment.
54839         * include/link.h (struct link_map): Likewise.
54841 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
54843         [BZ #13550]
54844         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54845         (BOUNDED_1): Remove macro.
54846         * debug/backtrace.c: Don't include <bp-checks.h>.
54847         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54848         (__backtrace): Likewise.
54849         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54850         <bp-checks.h>.
54851         (__backtrace): Don't use BOUNDED_1.
54852         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54853         <bp-checks.h>.
54854         (__backtrace): Don't use BOUNDED_1.
54855         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54856         (__backtrace): Don't use BOUNDED_1.
54857         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54858         (shmat): Don't use BOUNDED_N.
54860 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
54862         [BZ #13550]
54863         * sysdeps/generic/bp-start.h: Remove file.
54864         * csu/libc-start.c: Don't include <bp-start.h>.
54865         (LIBC_START_MAIN): Set up __environ directly instead of using
54866         INIT_ARGV_and_ENVIRON.
54867         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54868         <bp-start.h>.
54870         [BZ #13550]
54871         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54872         definitions.
54873         (CHECK_FCNTL): Likewise.
54874         (CHECK_N_PAGES): Likewise.
54876         [BZ #13550]
54877         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54878         definitions.
54879         (CHECK_SIGSET_NULL_OK): Likewise.
54880         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54881         <bp-checks.h>.
54882         (sigpending): Don't use CHECK_SIGSET.
54883         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54884         <bp-checks.h>.
54885         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54886         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54887         <bp-checks.h>.
54888         (do_sigsuspend): Don't use CHECK_SIGSET.
54889         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54890         use CHECK_SIGSET.
54891         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54892         (do_sigwait): Don't use CHECK_SIGSET.
54893         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54894         use CHECK_SIGSET.
54895         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54896         include <bp-checks.h>.
54897         (sigpending): Don't use CHECK_SIGSET.
54898         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54899         include <bp-checks.h>.
54900         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54901         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54902         <bp-checks.h>.
54903         (sigpending): Don't use CHECK_SIGSET.
54904         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54905         <bp-checks.h>.
54906         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54908         [BZ #13550]
54909         * sysdeps/generic/bp-semctl.h: Remove file.
54910         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54911         <bp-checks.h> and <bp-semctl.h>.
54912         (__old_semctl): Don't use CHECK_SEMCTL.
54913         (__new_semctl): Likewise.
54914         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54915         and <bp-semctl.h>.
54916         (__old_semctl): Don't use CHECK_SEMCTL.
54917         (__new_semctl): Likewise.
54918         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54919         <bp-checks.h> and <bp-semctl.h>.
54920         (__old_semctl): Don't use CHECK_SEMCTL.
54921         (__new_semctl): Likewise.
54922         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54923         <bp-checks.h> and <bp-semctl.h>.
54924         (semctl): Don't use CHECK_SEMCTL.
54926         [BZ #13550]
54927         * Makerules (elide-bp-thunks): Remove variable.
54928         (elide-routines.oS): Don't use $(elide-bp-thunks).
54929         (elide-routines.os): Likewise.
54930         (elide-routines.o): Likewise.
54931         (elide-routines.op): Likewise.
54932         (elide-routines.og): Likewise.
54933         (objects): Don't use $(bp-thunks).
54934         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54935         include.
54936         (common-generated): Do not add s-proto-bp.d.
54937         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54938         (int): Likewise.
54939         (typ): Likewise.
54940         Do not generate makefile rules for bounded-pointer thunks.
54941         * sysdeps/generic/bp-thunks.h: Remove file.
54942         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54943         * sysdeps/unix/s-proto-bp.S: Likewise.
54945         [BZ #15062]
54946         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54947         parts of result separately when argument is not close to line from
54948         -i to i and one part of argument is small.
54949         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54950         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54951         * math/libm-test.inc (cacos_test): Add more tests.
54952         (casin_test): Likewise.
54953         (casinh_test): Likewise.
54954         * sysdeps/i386/fpu/libm-test-ulps: Update.
54955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54957 2013-01-31  David S. Miller  <davem@davemloft.net>
54959         * po/de.po: Update from translation team.
54961 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
54963         * time/tzfile.c: Include stdint.h for SIZE_MAX.
54965 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
54967         * configure.in (_AC_PROG_CC_C89): New definition.
54968         * configure: Regenerate.
54970         * configure.in (AC_PROG_CPP): New definition.
54971         * configure: Regenerate.
54973 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54975         * debug/tst-backtrace.h: New file.
54976         * debug/tst-backtrace2.c: Include tst-backtrace.h.
54977         (ret): Remove variable.
54978         (x): Likewise.
54979         (FAIL): Remove macro.
54980         (NO_INLINE): Likewise.
54981         (fn1): Use match function instead of strstr.
54982         * debug/tst-backtrace3.c: Include tst-backtrace.h.
54983         (ret): Remove variable.
54984         (x): Likewise.
54985         (FAIL): Remove macro.
54986         (NO_INLINE): Likewise.
54987         (fn): Use match function instead of strstr.
54988         * debug/tst-backtrace4.c: Include tst-backtrace.h.
54989         (ret): Remove variable.
54990         (x): Likewise.
54991         (FAIL): Remove macro.
54992         (NO_INLINE): Likewise.
54993         (handle_signal): Use match function instead of strstr.
54994         * debug/tst-backtrace5.c: Include tst-backtrace.h.
54995         (ret): Remove variable.
54996         (x): Likewise.
54997         (FAIL): Remove macro.
54998         (NO_INLINE): Likewise.
54999         (handle_signal): Use match function instead of strstr.
55001 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55003         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55005 2013-01-23  David S. Miller  <davem@davemloft.net>
55007         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55008         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55009         argument of CAS if possible.
55010         * sysdeps/sparc/sparc64/bits/atomic.h
55011         (__arch_compare_and_exchange_val_32_acq): Likewise.
55012         (__arch_compare_and_exchange_val_64_acq): Likewise.
55014 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55016         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55017         * sysdeps/posix/ulimit.c: ... this.
55018         Include <limits.h>.
55019         * sysdeps/unix/bsd/ulimit.c: Remove file.
55021 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55023         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55024         (LDFLAGS-tst-array5): Likewise.
55026 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55028         [BZ #15036]
55029         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55030         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55031         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55032         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55034 2013-01-21  David S. Miller  <davem@davemloft.net>
55036         * sysdeps/sparc/backtrace.c: New file.
55037         * sysdeps/sparc/sparc32/backtrace.h: New file.
55038         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55039         * sysdeps/sparc/sparc64/backtrace.h: New file.
55040         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55041         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55042         -funwind-tables.
55044 2013-01-21  Andreas Schwab  <schwab@suse.de>
55046         [BZ #15020]
55047         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55048         closed its stdout.
55050 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55052         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55053         "mpa2.h".
55054         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55056 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55057             Mark Mitchell  <mark@codesourcery.com>
55058             Tom de Vries  <tom@codesourcery.com>
55059             Paul Pluzhnikov  <ppluzhnikov@google.com>
55061         * debug/tst-backtrace2.c: New file.
55062         * debug/tst-backtrace3.c: Likewise.
55063         * debug/tst-backtrace4.c: Likewise.
55064         * debug/tst-backtrace5.c: Likewise.
55065         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55066         (CFLAGS-tst-backtrace3.c): Likewise.
55067         (CFLAGS-tst-backtrace4.c): Likewise.
55068         (CFLAGS-tst-backtrace5.c): Likewise.
55069         (LDFLAGS-tst-backtrace2): Likewise.
55070         (LDFLAGS-tst-backtrace3): Likewise.
55071         (LDFLAGS-tst-backtrace4): Likewise.
55072         (LDFLAGS-tst-backtrace5): Likewise.
55073         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55074         tst-backtrace4 and tst-backtrace5.
55076 2013-01-18  Anton Blanchard  <anton@samba.org>
55077             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55079         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55080         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55081         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55082         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55084         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55085         "+r" and remove output regs list as redundant.  Add explicit inline
55086         asm to specify register of return val to work around compiler codegen
55087         bug.  Remove (int) cast on return value.  Add return type parameter to
55088         use in macro so that this macro does not truncate return value for
55089         64-bit values.
55090         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55091         pass to INTERNAL_VSYSCALL_NCS.
55092         (INLINE_VSYSCALL): Add 'long int' as return type to
55093         INTERNAL_VSYSCALL_NCS macro invocation.
55094         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55095         INTERNAL_VSYSCALL_NCS macro invocation.
55096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55098 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55100         [BZ #14496]
55101         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55102         Fix application of SIMD FP exception mask.
55104         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55105         mp_no from a power of two.
55106         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55107         __mpexp_twomm1.  Use __pow_mp.
55109         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55110         multiplication.
55112 2013-01-17  David S. Miller  <davem@davemloft.net>
55114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55116 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55118         [BZ #15023]
55119         * include/complex.h: Condition contents on [!_COMPLEX_H].
55120         (__kernel_casinhf): New prototype.
55121         (__kernel_casinh): Likewise.
55122         (__kernel_casinhl): Likewise.
55123         * math/Makefile (libm_calls): Add k_casinh.
55124         * math/k_casinh.c: New file.
55125         * math/k_casinhf.c: Likewise.
55126         * math/k_casinhl.c: Likewise.
55127         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55128         finite nonzero arguments.
55129         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55130         finite nonzero arguments.
55131         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55132         finite nonzero arguments.
55133         * math/s_casinh.c: Do not include <float.h>.
55134         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55135         * math/s_casinhf.c: Do not include <float.h>.
55136         (__casinhf): Move code for finite nonzero arguments to
55137         k_casinhf.c.
55138         * math/s_casinhl.c: Do not include <float.h>.
55139         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55140         redefine.
55141         (__casinhl): Move code for finite nonzero arguments to
55142         k_casinhl.c.
55143         * math/libm-test.inc (cacos_test): Add more tests.
55144         * sysdeps/i386/fpu/libm-test-ulps: Update.
55145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55147 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55149         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55150         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55151         [!HAVE_MREMAP]: Remove [defined linux] case.
55152         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55154 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55156         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55158 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55160         * elf/elf.h (R_386_SIZE32): New relocation.
55161         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55162         R_386_SIZE32.
55163         (elf_machine_rela): Likewise.
55164         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55165         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55167 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55169         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55170         (FP_FAST_FMA): Do not define.
55171         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55172         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55173         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55174         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55175         !_SOFT_FLOAT]: Likewise.
55176         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55177         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55178         value.
55179         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55180         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55181         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55182         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55183         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55184         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55185         file.
55187 2013-01-16  Andreas Schwab  <schwab@suse.de>
55189         [BZ #14327]
55190         * include/stdlib.h (__mktemp): Add declaration.
55191         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55192         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55194 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55196         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55197         definitions.
55198         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55199         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55200         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55201         definitions here.
55202         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55203         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55204         definitions.
55205         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55206         and ONE.
55207         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55208         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55209         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55210         definitions.
55211         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55212         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55213         definitions.
55214         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55216         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55218 2013-01-15  David S. Miller  <davem@davemloft.net>
55220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55221         trunc{,f} to libm-sysdep_routes.
55222         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55224         file.
55225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55227         file.
55228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55229         file.
55230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55232         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55233         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55234         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55235         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55236         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55237         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55240         nearbyint{,f} to libm-sysdep_routes.
55241         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55243         New file.
55244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55245         file.
55246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55247         New file.
55248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55249         file.
55250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55252         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55253         file.
55254         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55255         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55256         file.
55257         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55258         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55259         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55261         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55262         libc_feholdexcept and libc_fesetenv.
55264 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55266         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55268 2013-01-14  David S. Miller  <davem@davemloft.net>
55270         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55271         (SPARC_ASM_VIS2_IFUNC): Likewise.
55272         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55274         use of 'siam' instruction.
55275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55276         Likewise.
55277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55278         Likewise.
55279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55280         Likewise.
55281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55286         file.
55287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55288         file.
55289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55290         file.
55291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55292         file.
55293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55295         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55296         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55298         new VIS2 routines.
55299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55302         Likewise.
55303         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55304         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55306         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55308         routines to libm-sysdep_routines.
55309         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55312         fdim/fdimf to libm-sysdep_routines.
55313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55314         file.
55315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55317         file.
55318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55321         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55322         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55323         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55324         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55326 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55328         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55329         to optimize copies.
55331         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55332         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55336         local variable MPTWO.
55337         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55338         Likewise.
55340 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55342         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55343         GLOB_NOESCAPE.
55345 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55347         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55349 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55351         * manual/pattern.texi (glob_t): Document gl_flags.
55352         (glob64_t): Likewise.
55354 2013-01-11  David S. Miller  <davem@davemloft.net>
55356         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55357         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55358         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55359         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55360         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55361         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55362         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55363         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55364         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55365         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55366         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55367         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55368         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55370         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55371         sparc V9 rather than using V8 code.
55372         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55373         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55375         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55376         Move to...
55377         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55378         Here.
55380 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55382         [BZ #14941]
55383         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55384         not in the main loop.
55385         * configure: Regenerated.
55387 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55389         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55390         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55391         to just #else.
55392         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55393         [!__GLIBC_HAVE_LONG_LONG] case.
55394         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55395         condition to just #else.
55396         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55397         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55398         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55399         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55400         unconditional.
55401         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55402         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55403         #elif condition to just #else.
55404         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55405         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55406         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55407         #elif condition to just #else.
55409 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55411         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55412         (EF_MIPS_ARCH_64): Fix value.
55413         (EF_MIPS_ARCH_32R2): New.
55414         (EF_MIPS_ARCH_64R2): New.
55416 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55418         * Makeconfig (+link-pie-before-libc): New.
55419         (+link-pie-after-libc): Likewise.
55420         (+link-pie-tests): Likewise.
55421         (+link-pie): Rewritten.
55422         (link-before-libc): Remove $(config-LDFLAGS).
55423         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55424         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55425         (config-LDFLAGS): Renamed to ...
55426         (rtld-LDFLAGS): This.
55427         (rtld-tests-LDFLAGS): New macro.
55428         (link-libc-rpath-link): Likewise.
55429         (link-libc-tests-rpath-link): Likewise.
55430         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55431         (link-libc): Prepand $(link-libc-rpath-link).
55432         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55433         (test-program-prefix): New macro.
55434         (test-via-rtld-prefix): Likewise.
55435         (test-program-cmd): Likewise.
55436         (host-test-program-cmd): Likewise.
55437         * Makefile ($(common-objpfx)testrun.sh): Replace
55438         $(run-program-prefix) with $(test-program-prefix).
55439         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55440         $(rtld-LDFLAGS).
55441         ($(common-objpfx)shlib.lds): Likewise.
55442         (build-module-helper): Likewise.
55443         ($(common-objpfx)format.lds): Likewise.
55444         * Rules (binaries-pie-tests): New.
55445         (binaries-pie-notests): Likewise.
55446         (binaries-pie): Rewritten.
55447         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55448         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55449         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55450         (make-test-out): Replace $(host-built-program-cmd) with
55451         $(host-test-program-cmd).
55452         * config.make.in (build-hardcoded-path-in-tests): New variable.
55453         * configure.in (--enable-hardcoded-path-in-tests): New configure
55454         option.
55455         (hardcoded_path_in_tests): New AC_SUBST.
55456         * configure: Regenerated.
55457         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55458         $(built-program-cmd) with $(test-program-cmd).
55459         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55460         (test_program_cmd): This.
55461         * elf/Makefile ($(objpfx)order.out): Run test with
55462         $(test-program-prefix).
55463         ($(objpfx)order2.out): Likewise.
55464         ($(objpfx)tst-initorder.out): Likewise.
55465         ($(objpfx)tst-initorder2.out): Likewise.
55466         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55467         $(test-program-cmd).
55468         ($(objpfx)tst-array1-static.out): Likewise.
55469         ($(objpfx)tst-array2.out): Likewise.
55470         ($(objpfx)tst-array3.out): Likewise.
55471         ($(objpfx)tst-array4.out): Likewise.
55472         ($(objpfx)tst-array5.out): Likewise.
55473         ($(objpfx)tst-array5-static.out): Likewise.
55474         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55475         $(test-program-cmd).
55476         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55477         $(run-program-prefix) with $(test-program-prefix).
55478         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55479         (test_program_prefix): This.
55480         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55481         $(run-program-prefix) with $(test-program-prefix).
55482         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55483         (test_program_prefix): This.
55484         * iconvdata/tst-tables.sh: Likewise.
55485         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55486         $(run-program-prefix) with $(test-program-prefix).
55487         ($(objpfx)tst-translit.out): Likewise.
55488         ($(objpfx)tst-gettext2.out): Likewise.
55489         ($(objpfx)tst-gettext4.out): Likewise.
55490         ($(objpfx)tst-gettext6.out): Likewise.
55491         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55492         (test_program_prefix): This.
55493         * intl/tst-gettext2.sh: Likewise.
55494         * intl/tst-gettext4.sh  Likewise.
55495         * intl/tst-gettext6.sh: Likewise.
55496         * intl/tst-translit.sh: Likewise.
55497         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55498         with $(test-program-cmd).
55499         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55500         $(run-program-prefix) with $(test-program-prefix).
55501         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55502         (test_program_prefix): This.
55503         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55504         $(run-program-prefix) with $(test-program-prefix).
55505         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55506         (test_program_prefix): This.
55507         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55508         * posix/Makefile ($(objpfx)globtest.out): Replace
55509         $(run-via-rtld-prefix) and $(test-wrapper) with
55510         $(test-program-prefix) and $(test-via-rtld-prefix).
55511         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55512         $(test-program-prefix).
55513         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55514         $(host-test-program-cmd).
55515         (tst-spawn-ARGS): Likewise.
55516         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55517         $(test-program-prefix).
55518         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55519         (test_via_rtld_prefix): This.
55520         (test_wrapper): Renamed to ...
55521         (test_program_prefix): This.
55522         (run_program_prefix): Replaced by test_program_prefix.
55523         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55524         (test_program_prefix): This.
55525         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55526         with $(host-test-program-cmd).
55527         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55528         $(run-program-prefix) with $(test-program-prefix).
55529         ($(objpfx)tst-printf.out): Likewise.
55530         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55531         $(test-program-cmd).
55532         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55533         (test_program_prefix): This.
55534         * stdio-common/tst-unbputc.sh: Likewise.
55535         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55536         $(run-program-prefix) with $(test-program-prefix).
55537         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55538         (test_program_prefix): This.
55539         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55540         $(built-program-cmd) with $(test-program-cmd).
55542 2013-01-11  Andreas Jaeger  <aj@suse.de>
55544         [BZ #15003]
55545         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55546         value. Sync with Linux 3.7.
55548 2013-01-10  David S. Miller  <davem@davemloft.net>
55550         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55551         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55552         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55554 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55556         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55557         never set.
55558         * configure: Regenerated.
55560 2013-01-10  David S. Miller  <davem@davemloft.net>
55562         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55563         sparc V9 rather than using V8 code.
55564         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55565         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55567 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55569         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55570         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55571         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55572         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55573         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55574         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55575         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55576         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55577         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55578         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55579         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55580         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55581         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55582         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55583         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55584         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55585         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55586         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55587         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55588         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55589         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55590         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55591         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55592         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55593         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55594         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55595         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55597 2013-01-10  David S. Miller  <davem@davemloft.net>
55599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55601 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55603         * posix/Makefile (tests-static): New variable.
55604         (tests): Add $(tests-static).
55605         (tst-exec-static-ARGS): New variable.
55606         (tst-spawn-static-ARGS): Likewise.
55607         * posix/tst-exec-static.c: New file.
55608         * posix/tst-spawn-static.c: Likewise.
55609         * posix/tst-exec.c: Support run directly.
55610         * posix/tst-spawn.c: Likewise.
55612 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55614         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55615         long.
55616         * math/bits/mathcalls.h (llrint): Likewise.
55617         (llround): Likewise.
55618         * stdlib/stdlib.h (struct drand48_data): Likewise.
55619         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55620         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55621         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55622         Likewise.
55623         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55624         Likewise.
55625         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55626         (elf_greg_t): Likewise.
55627         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55628         (__jmp_buf): Likewise.
55629         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55630         definitions.
55631         (llrint): Likewise, for all definitions.
55632         (llrintl): Likewise.
55634         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55635         Remove [__GNUC__] condition.
55636         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55637         condition to just [__USE_ISOC99].
55638         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55640 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55642         [BZ #14200]
55643         * sysdeps/unix/sysv/linux/x86/bits/environments.h
55644         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55645         defined.
55646         (_POSIX_V6_ILP32_OFF32): Likewise.
55647         (_XBS5_ILP32_OFF32): Likewise.
55648         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55649         (__ILP32_OFFBIG_LDFLAGS): Likewise.
55651 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55653         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55655         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55656         doubles __mpexp_twomm1.  Adjust usage.
55657         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55658         Remove.
55660 2013-01-10  Andreas Schwab  <schwab@suse.de>
55662         [BZ #14964]
55663         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55664         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55666 2013-01-09  David S. Miller  <davem@davemloft.net>
55668         [BZ #15003]
55669         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55670         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55671         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55672         (TCP_FASTOPEN): Define.
55673         (tcp_repair_opt): New structure.
55674         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55675         enum values.
55676         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55677         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55678         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55679         (tcp_cookie_transactions): New structure.
55681 2013-01-09  Anton Blanchard  <anton@samba.org>
55683         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55684         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55685         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55686         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55688 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
55690         * include/features.h (__USE_ANSI): Remove.
55692 2013-01-09  Roland McGrath  <roland@hack.frob.com>
55694         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55696         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55698 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
55700         * sysdeps/s390/fpu/libm-test-ulps: Update.
55702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55704         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55705         (__acr): Likewise.
55706         (__cpy): Likewise.
55707         (norm): Likewise.
55708         (denorm): Likewise.
55709         (__mp_dbl): Likewise.
55710         (__dbl_mp): Likewise.
55711         (add_magnitudes): Likewise.
55712         (sub_magnitudes): Likewise.
55713         (__add): Likewise.
55714         (__sub): Likewise.
55715         (__mul): Likewise.
55716         (__inv): Likewise.
55717         (__dvd): Likewise.
55718         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55719         (__acr): Likewise.
55720         (__cpy): Likewise.
55721         (norm): Likewise.
55722         (denorm): Likewise.
55723         (__mp_dbl): Likewise.
55724         (__dbl_mp): Likewise.
55725         (add_magnitudes): Likewise.
55726         (sub_magnitudes): Likewise.
55727         (__add): Likewise.
55728         (__sub): Likewise.
55729         (__mul): Likewise.
55730         (__inv): Likewise.
55731         (__dvd): Likewise.
55732         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55733         (__acr): Likewise.
55734         (__cpy): Likewise.
55735         (norm): Likewise.
55736         (denorm): Likewise.
55737         (__mp_dbl): Likewise.
55738         (__dbl_mp): Likewise.
55739         (add_magnitudes): Likewise.
55740         (sub_magnitudes): Likewise.
55741         (__add): Likewise.
55742         (__sub): Likewise.
55743         (__mul): Likewise.
55744         (__inv): Likewise.
55745         (__dvd): Likewise.
55747 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
55749         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55750         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55751         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55752         2 && __USE_EXTERN_INLINES]: Likewise.
55754 2013-01-08  Andreas Jaeger  <aj@suse.de>
55756         [BZ# 14985]
55757         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55758         Remove.
55759         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55760         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55762 2013-01-07  Anton Blanchard  <anton@samba.org>
55764         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55765         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55766         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55767         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55768         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55769         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55770         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55771         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55773         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55774         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55775         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55776         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55777         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55778         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55779         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55780         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55781         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55782         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55783         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55784         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55785         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55786         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55787         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55788         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55789         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55790         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55791         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55792         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55793         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55794         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55795         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55796         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55797         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55798         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55799         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55800         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55801         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55802         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
55803         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55804         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
55805         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55806         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55808 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
55810         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
55811         (__MALLOC_PMT): Likewise.
55812         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55813         [__GNUC__], only on [_LIBC].
55814         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55815         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55816         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55817         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55818         forward declaration.
55819         (realloc_hook_ini): Likewise.
55820         (memalign_hook_ini): Likewise.
55821         (__libc_memalign): Do not use __MALLOC_PMT in variable
55822         declaration.
55823         (__libc_valloc): Likewise.
55824         (__libc_pvalloc): Likewise.
55825         (__libc_calloc): Likewise.
55826         (__posix_memalign): Likewise.
55828         [BZ #14996]
55829         * math/s_casinh.c: Include <float.h>.
55830         (__casinh): Do not do computation with squaring and square root
55831         for large arguments.
55832         * math/s_casinhf.c: Include <float.h>.
55833         (__casinhf): Do not do computation with squaring and square root
55834         for large arguments.
55835         * math/s_casinhl.c: Include <float.h>.
55836         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55837         (__casinhl): Do not do computation with squaring and square root
55838         for large arguments.
55839         * math/libm-test.inc (casin_test): Add more tests.
55840         (casinh_test): Likewise.
55841         * sysdeps/i386/fpu/libm-test-ulps: Update.
55842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55844 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
55846         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55847         (__x86_64_raw_data_cache_size): Likewise.
55848         (__x86_64_data_cache_size_half): Likewise.
55849         (__x86_64_raw_data_cache_size_half): Likewise.
55850         (__x86_64_shared_cache_size): Likewise.
55851         (__x86_64_raw_shared_cache_size): Likewise.
55852         (__x86_64_shared_cache_size_half): Likewise.
55853         (__x86_64_raw_shared_cache_size_half): Likewise.
55854         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55855         to ...
55856         (__x86_data_cache_size): This.
55857         (__x86_64_raw_data_cache_size): Renamed to ...
55858         (__x86_raw_data_cache_size): This.
55859         (__x86_64_data_cache_size_half): Renamed to ...
55860         (__x86_data_cache_size_half): This.
55861         (__x86_64_raw_data_cache_size_half): Renamed to ...
55862         (__x86_raw_data_cache_size_half): This.
55863         (__x86_64_shared_cache_size): Renamed to ...
55864         (__x86_shared_cache_size): This.
55865         (__x86_64_raw_shared_cache_size): Renamed to ...
55866         (__x86_raw_shared_cache_size): This.
55867         (__x86_64_shared_cache_size_half): Renamed to ...
55868         (__x86_shared_cache_size_half): This.
55869         (__x86_64_raw_shared_cache_size_half): Renamed to ...
55870         (__x86_raw_shared_cache_size_half): This.
55871         * sysdeps/x86_64/memcpy.S: Updated.
55872         * sysdeps/x86_64/memset.S: Likewise.
55873         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55874         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55875         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55877 2013-01-04  David S. Miller  <davem@davemloft.net>
55879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55881 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
55883         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55884         1 to avoid redefinition warning.
55885         (__USE_GNU): Don't define.
55886         (init_signaling_nan): Protoize.
55888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55890 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55892         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55894         (__cpymn): Likewise.
55895         (norm): Remove commented code.
55896         (denorm): Likewise.
55897         (__mp_dbl): Likewise.
55898         (__inv): Likewise.
55899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55900         (__cpymn): Likewise.
55901         (norm): Remove commented code.
55902         (denorm): Likewise.
55903         (__mp_dbl): Likewise.
55904         (__inv): Likewise.
55906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55907         mp_no value for 1.0 and 2.0.
55908         (norm): Use RADIXI instead of radixi.d.
55909         (denorm): Likewise.
55910         (__mul): Use 0.0 instead of zero.d.
55911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55912         mp_no value for 1.0 and 2.0.
55913         (norm): Use RADIXI instead of radixi.d.
55914         (denorm): Likewise.
55915         (__mul): Use 0.0 instead of zero.d.
55917 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
55919         [BZ #14994]
55920         * math/s_casinh.c (__casinh): Reduce finite argument to first
55921         quadrant then set signs of results at the end.
55922         * math/s_casinhf.c (__casinhf): Likewise.
55923         * math/s_casinhl.c (__casinhl): Likewise.
55924         * math/libm-test.inc (casin_test): Add more tests.
55925         (casinh_test): Likewise.
55926         * sysdeps/i386/fpu/libm-test-ulps: Update.
55927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55929 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55931         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55933         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55935         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55936         declarations.
55937         (denorm): Likewise.
55938         (__mp_dbl): Likewise.
55939         (__inv): Likewise.
55941         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55942         and adjust the header comment.
55944         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55945         variable name from declaration.
55947 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
55949         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55950         Initialize COMMON_CPUID_INDEX_7 element.
55951         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55952         (CPUID_RTM): Likewise.
55953         (HAS_RTM): Likewise.
55954         (COMMON_CPUID_INDEX_7): New enum.
55956 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
55958         [BZ #14981]
55959         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55960         size is zero, record memory as freed.
55962 2013-01-03  Andreas Jaeger  <aj@suse.de>
55964         * po/ia.po: Add new Interlingua translation.
55966 2012-01-03  Allan McRae  <allan@archlinux.org>
55968         * locale/programs/localedef.c: Fix description of '--posix' flag.
55970 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
55972         * NEWS: Update dates in second copyright notice.
55973         * README: Update copyright dates in example.
55974         * manual/libc.texinfo: Update copyright dates.
55975         * scripts/test-installation.pl: Update copyright date in --version
55976         output.
55978         * hurd/ctty-input.c: Fix copyright notice formatting.
55979         * hurd/ctty-output.c: Likewise.
55980         * hurd/dtable.c: Likewise.
55981         * hurd/hurd-raise.c: Likewise.
55982         * hurd/hurdprio.c: Likewise.
55983         * hurd/msgportdemux.c: Likewise.
55984         * misc/sys/file.h: Likewise.
55985         * misc/sys/ioctl.h: Likewise.
55986         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55987         * sysdeps/mach/hurd/chdir.c: Likewise.
55988         * sysdeps/mach/hurd/fchdir.c: Likewise.
55989         * sysdeps/mach/hurd/rename.c: Likewise.
55990         * sysdeps/mach/hurd/rmdir.c: Likewise.
55991         * sysdeps/mach/hurd/seekdir.c: Likewise.
55992         * sysdeps/mach/hurd/setsid.c: Likewise.
55993         * sysdeps/posix/wait3.c: Likewise.
55995         * All files with FSF copyright notices: Update copyright dates
55996         using scripts/update-copyrights.
55997         * intl/plural.c: Regenerated.
55998         * locale/programs/charmap-kw.h: Likewise.
55999         * locale/programs/locfile-kw.h: Likewise.
56001 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56003         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56004         four values.
56006         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56007         calculation loop and add branch prediction.
56009         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56010         check access beyond bounds of m1np.
56012         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56013         MPTWO.
56014         (__inv): Remove local variable MPTWO to use the global
56015         constant.
56016         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56017         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56018         variable MPTWO.
56019         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56020         MP3HALFS static const.
56022 2013-01-01  David S. Miller  <davem@davemloft.net>
56024         * po/ca.po: Update from translation team.
56026 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56028         * scripts/update-copyrights: New file.
56029         * Makeconfig: Reformat copyright notice.
56030         * ctype/ctype.h: Likewise.
56031         * debug/swprintf_chk.c: Likewise.
56032         * elf/dl-cache.c: Likewise.
56033         * elf/dl-debug.c: Likewise.
56034         * elf/dl-object.c: Likewise.
56035         * grp/initgroups.c: Likewise.
56036         * hurd/Makefile: Likewise.
56037         * hurd/hurd/signal.h: Likewise.
56038         * hurd/hurdfault.c: Likewise.
56039         * hurd/hurdioctl.c: Likewise.
56040         * hurd/hurdlookup.c: Likewise.
56041         * hurd/intr-msg.c: Likewise.
56042         * iconv/gconv_open.c: Likewise.
56043         * libio/swprintf.c: Likewise.
56044         * locale/lc-ctype.c: Likewise.
56045         * locale/nl_langinfo.c: Likewise.
56046         * mach/Machrules: Likewise.
56047         * mach/Makefile: Likewise.
56048         * malloc/obstack.h: Likewise.
56049         * manual/Makefile: Likewise.
56050         * manual/tsort.awk: Likewise.
56051         * misc/bits/stab.def: Likewise.
56052         * nis/nis_print_group_entry.c: Likewise.
56053         * nis/nis_table.c: Likewise.
56054         * nis/nss_compat/compat-pwd.c: Likewise.
56055         * nis/nss_compat/compat-spwd.c: Likewise.
56056         * po/Makefile: Likewise.
56057         * posix/fnmatch.c: Likewise.
56058         * posix/regex.h: Likewise.
56059         * resolv/Makefile: Likewise.
56060         * resolv/nss_dns/dns-network.c: Likewise.
56061         * resolv/res_hconf.c: Likewise.
56062         * scripts/gen-sorted.awk: Likewise.
56063         * soft-fp/soft-fp.h: Likewise.
56064         * stdio-common/printf.h: Likewise.
56065         * stdlib/monetary.h: Likewise.
56066         * stdlib/random.c: Likewise.
56067         * stdlib/random_r.c: Likewise.
56068         * sysdeps/generic/Makefile: Likewise.
56069         * sysdeps/gnu/Makefile: Likewise.
56070         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56071         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56072         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56073         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56074         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56075         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56076         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56077         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56078         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56079         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56080         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56081         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56082         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56083         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56084         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56085         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56086         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56087         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56088         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56089         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56090         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56091         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56092         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56093         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56094         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56095         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56096         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56097         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56098         * sysdeps/mach/hurd/errnos.awk: Likewise.
56099         * sysdeps/mach/hurd/fork.c: Likewise.
56100         * sysdeps/mach/hurd/getcwd.c: Likewise.
56101         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56102         * sysdeps/mach/hurd/mmap.c: Likewise.
56103         * sysdeps/mach/hurd/utimes.c: Likewise.
56104         * sysdeps/mach/hurd/xmknod.c: Likewise.
56105         * sysdeps/posix/profil.c: Likewise.
56106         * sysdeps/posix/readdir_r.c: Likewise.
56107         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56108         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56109         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56110         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56111         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56112         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56113         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56114         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56115         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56116         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56117         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56118         * sysdeps/pthread/lio_listio.c: Likewise.
56119         * sysdeps/sparc/dl-procinfo.h: Likewise.
56120         * sysdeps/unix/i386/sysdep.S: Likewise.
56121         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56122         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56123         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56124         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56126         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56127         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56128         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56129         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56130         * sysdeps/wordsize-32/divdi3.c: Likewise.
56131         * time/sys/time.h: Likewise.
56132         * wcsmbs/Makefile: Likewise.
56134 2013-01-01  David S. Miller  <davem@davemloft.net>
56136         * po/fr.po: Update from translation team.
56138         * catgets/gencat.c: Update copyright year.
56139         * csu/version.c: Likewise.
56140         * debug/catchsegv.sh: Likewise.
56141         * debug/pcprofiledump.c: Likewise.
56142         * debug/xtrace.sh: Likewise.
56143         * elf/ldconfig.c: Likewise.
56144         * elf/ldd.bash.in: Likewise.
56145         * elf/pldd.c: Likewise.
56146         * elf/sotruss.ksh: Likewise.
56147         * elf/sprof.c: Likewise.
56148         * iconv/iconv_prog.c: Likewise.
56149         * iconv/iconvconfig.c: Likewise.
56150         * locale/programs/locale.c: Likewise.
56151         * locale/programs/localedef.c: Likewise.
56152         * login/programs/pt_chown.c: Likewise.
56153         * malloc/memusage.sh: Likewise.
56154         * malloc/memusagestat.c: Likewise.
56155         * malloc/mtrace.pl: Likewise.
56156         * nscd/nscd.c: Likewise.
56157         * nss/getent.c: Likewise.
56158         * nss/makedb.c: Likewise.
56159         * posix/getconf.c: Likewise.
56161 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56163         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56164         numbers.
56166 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56168         * math/bits/mathcalls.h (modf): Use __nonnull.
56170 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56172         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56173         (split): Use macro CN instead of the bare value.
56174         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56175         could be used.
56176         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56177         instead of the bare value.
56178         (power1): Likewise.
56180 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56182         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56183         __ATAN_TWOM.
56184         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56186         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56187         their values.
56188         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56189         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56190         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56191         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56193 2012-12-28  Andreas Jaeger  <aj@suse.de>
56195         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56196         values are from Linux 3.7.
56198         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56199         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56201 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56203         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56204         TRUE case.
56206         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56207         (norm): Likewise.
56208         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56209         variables with preprocessor constants.
56210         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56211         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56212         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56214 2012-12-27  Bruno Haible  <bruno@clisp.org>
56216         [BZ #14317]
56217         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56218         only if needed.
56220 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56222         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56223         and use variable directly.
56224         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56226         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56227         MPONE.
56228         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56229         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56230         variable MPONE.
56231         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56232         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56233         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56234         include directive.  Remove local variable MPONE.
56235         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56236         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56237         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56239 2012-12-25  David S. Miller  <davem@davemloft.net>
56241         * version.h (RELEASE): Set to "development".
56242         (VERSION): Set to "2.17.90".
56243         * NEWS: Add 2.18 section.
56245 2012-12-21  David S. Miller  <davem@davemloft.net>
56247         * po/hr.po: Update from translation team.
56249 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56251         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56253 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56255         * NEWS:  Mention new memcpy for MIPS.
56257 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56259         * manual/contrib.texi (Contributors): Spelling correction.
56261 2012-12-15  David S. Miller  <davem@davemloft.net>
56263         * po/ru.po: Update from translation team.
56265 2012-12-13  David S. Miller  <davem@davemloft.net>
56267         * NEWS: Mention IFUNC testsuite enhancements.
56269         * po/pl.po: Update from translation team.
56270         * po/bg.po: Likewise.
56272         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56273         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56275 2012-12-11  David S. Miller  <davem@davemloft.net>
56277         * po/sv.po: Update from translation team.
56279         * po/vi.po: Update from translation team.
56281         * po/cs.po: Update from translation team.
56283         * po/de.po: Update from translation team.
56284         * po/eo.po: Likewise.
56285         * po/nl.po: Likewise.
56287 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56289         [BZ #14246]
56290         * manual/argp.texi (Argp Helper Functions): Move node to follow
56291         Argp Parsing State.
56293         [BZ #14872]
56294         * manual/conf.texi (Limits on File System Capacity): Mention if
56295         terminating null is included in the max size.
56297 2012-12-10  Andreas Jaeger  <aj@suse.de>
56299         * po/cs.po: Update from translation team.
56301 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56303         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56304         void pointer and cast to uintptr_t.
56305         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56306         path.
56307         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56308         * sysdeps/s390/s390-64/memset.S: Likewise.
56310 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56312         [BZ #14833]
56313         * menual/message.texi (Message Translation): Fix typos.
56314         (Helper programs for gettext): Likewise.
56316 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56318         [BZ #14898]
56319         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56320         Change to -1.
56322 2012-12-07  David S. Miller  <davem@davemloft.net>
56324         * po/libc.pot: Update.
56326 2012-12-07  Richard Henderson  <rth@redhat.com>
56328         [BZ #10114]
56329         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56330         normal/normal case to before the switch.
56331         (_FP_DIV): Likewise.
56333 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56334             Mike Frysinger  <vapier@gentoo.org>
56336         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56337         check for __NR_fadvise64_64.
56339 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56341         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56342         0, not just to plain "0" as a statement.
56343         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56344         with cw.
56346 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56348         * NEWS: Use sourceware.org in Bugzilla URL.
56350 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56353         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56355         * stdio-common/tst-put-error.c (do_test): Add newline to the
56356         padded test to ensure flush.
56358 2012-12-05  Jeff Law  <law@redhat.com>
56360         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56362 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56364         * README: Don't refer to ports add-on as distributed separately.
56365         Mention AArch64 in list of systems supported in the ports add-on.
56367         * LICENSES: Add more non-FSF copyright and license notices.
56369         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56370         ((unused)).
56372         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56374         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56375         10000 as width of padded output.
56377 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56379         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56381         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56382         variable LX with __attribute__ ((unused)).
56383         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56384         Likewise.
56385         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56386         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56387         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56388         with __attribute__ ((unused)).
56390 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56392         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56394 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56396         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56397         (CFLAGS-nldbl-acos.c): New variable.
56398         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56399         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56400         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56401         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56402         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56403         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56404         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56405         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56406         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56407         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56408         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56409         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56410         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56411         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56412         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56413         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56414         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56415         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56416         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56417         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56418         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56419         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56420         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56421         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56422         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56423         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56424         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56425         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56426         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56427         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56428         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56429         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56430         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56431         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56432         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56433         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56434         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56435         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56436         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56437         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56438         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56439         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56440         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56441         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56442         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56443         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56444         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56445         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56446         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56447         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56448         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56449         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56450         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56451         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56452         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56453         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56454         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56455         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56456         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56457         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56458         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56459         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56460         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56461         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56462         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56463         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56464         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56465         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56466         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56467         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56468         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56469         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56470         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56471         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56472         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56473         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56474         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56475         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56476         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56477         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56478         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56479         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56480         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56481         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56482         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56483         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56484         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56485         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56486         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56487         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56488         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56489         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56490         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56491         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56492         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56493         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56494         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56497         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56499         [BZ #14914]
56500         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56501         whole low double instead of just low 47 bits when splitting values
56502         into two parts.
56504 2012-12-03  Allan McRae  <allan@archlinux.org>
56506         * manual/stdio.texi (Predefined Printf Handlers): Remove
56507         @hsep and @vsep usage.
56509 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56511         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56512         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56514 2012-12-03  Jeff Law  <law@redhat.com>
56516         * time/sys/time.h (settimeofday): Do not mark TV argument
56517         as __nonnull.
56519 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
56521         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56522         when currently writing and seek to current position when not.
56523         * libio/Makefile (tests): Remove bug-fclose1.
56524         * libio/bug-fclose1.c: Delete.
56526 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
56528         * manual/arith.texi (feenableexcept): Fix typo.
56529         (fedisableexcept): Likewise.
56531 2012-11-30  Roland McGrath  <roland@hack.frob.com>
56533         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56534         second, differently-typed declaration, rather than a cast.
56536 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56538         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56539         * include/rpc/svc.h: ... here.
56541 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56543         [BZ #13013]
56544         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56545         depending n and resplen2 to catch cases where answer
56546         equals answerp2.
56548 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56550         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56551         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56553 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56555         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56557 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56559         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56561 2012-11-28  Jeff Law  <law@redhat.com>
56563         [BZ #13761]
56564         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56565         dataset_temporary.  Track alloca usage into alloca_used.
56566         If dataset is large allocate and release it via malloc/free.
56568 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56570         [BZ #14197]
56571         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56573 2012-11-28  David S. Miller  <davem@davemloft.net>
56575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56577 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56579         [BZ #14803]
56580         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56581         of pi/2 rounded to nearest to 64 bits.
56582         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56583         nearest to 64 bits.
56584         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56585         bits.
56587 2012-11-28  Jeff Law <law@redhat.com>
56588             Martin Osvald <mosvald@redhat.com>
56590         [BZ #14889]
56591         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56592         * sunrpc/svc.c: Include time.h.
56593         (__svc_accept_failed): New function.
56594         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56595         any reason other than EINTR, call __svc_accept_failed.
56596         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56597         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56599 2012-11-28  Andreas Schwab  <schwab@suse.de>
56601         * scripts/abilist.awk: Also handle indirect functions in .opd
56602         section.
56604 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56606         [BZ #13881]
56607         * sysdeps/x86/fpu/powl_helper.c: New file.
56608         * sysdeps/x86/fpu/Makefile: Likewise.
56609         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56610         (p3): New object.
56611         (__ieee754_powl): Use __powl_helper for finite arguments except
56612         integer exponents below 8.
56613         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56614         (p3): New object.
56615         (__ieee754_powl): Use __powl_helper for finite arguments except
56616         integer exponents below 8.
56617         * math/libm-test.inc (pow_test): Add more tests and enable some
56618         previously disabled tests.
56619         * sysdeps/i386/fpu/libm-test-ulps: Update.
56620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56622 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56623             Carlos O'Donell  <carlos_odonell@mentor.com>
56625         * nss/makedb.c (is_prime): Assert that input is odd and greater
56626         than 4.  Note that fact in a comment too.
56627         (next_prime): Add 4 to input.
56629 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56631         [BZ #11741]
56632         * libio/Makefile (tests): Add test case tst-fwrite-error.
56633         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56634         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56635         * libio/tst-fwrite-error.c: New test case.
56637 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
56639         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56640         before casting to void *.
56641         * include/libc-internal.h (__pointer_type): New macro.
56642         (__integer_if_pointer_type_sub): Likewise.
56643         (__integer_if_pointer_type): Likewise.
56644         (cast_to_integer): Likewise.
56645         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56646         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56647         before casting to atomic64_t.
56648         (atomic_exchange_acq): Likewise.
56649         (__arch_exchange_and_add_body): Likewise.
56650         (__arch_add_body): Likewise.
56651         (atomic_add_negative): Likewise.
56652         (atomic_add_zero): Likewise.
56654 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
56656         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56657         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56658         (add_fdes): Likewise.
56659         (linear_search_fdes): Likewise.
56660         (binary_search_unencoded_fdes): Likewise.
56662 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
56664         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56666 2012-11-24  Adam Conrad  <adconrad@0c3.net>
56668         * configure.in: Autodetect C++ header directories.
56669         * configure: Regenerated.
56671 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
56673         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56675 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
56677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56679 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
56681         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56682         LDBL_MANT_DIG == 106]: Disable some tests.
56683         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56684         Likewise.
56685         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56686         Likewise.
56688         [BZ #14871]
56689         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56690         input for small inputs.  Return +/- pi/2 for large inputs.
56691         * math/libm-test.inc (atan_test): Add more tests.
56693         * sysdeps/generic/unwind-dw2-fde-glibc.c
56694         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56695         __attribute__ ((unused)).
56697         [BZ #14645]
56698         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56699         x * y if x and y are nonzero and z is zero.
56701         [BZ #14811]
56702         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56703         nonzero exponents with absolute value below 0x1p-117 to +/-
56704         0x1p-117.
56706         [BZ #14869]
56707         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56708         up arguments below 2**-450, not just those below 2**-500.
56709         * math/libm-test.inc (hypot_test): Add another test.
56711         [BZ #14868]
56712         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56713         Return a+b for ratio over 2**120, not 2**60.
56714         * math/libm-test.inc (hypot_test): Add another test.
56716         * math/libm-test.inc (clog_test): Use
56717         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56718         (clog10_test): Likewise.
56720         [BZ #6778]
56721         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56723 2012-11-22  Andreas Schwab  <schwab@suse.de>
56725         * sysdeps/i386/fpu/libm-test-ulps: Update.
56727 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
56729         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56730         printf output with newline.
56732 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
56734         [BZ #14865]
56735         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56736         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56737         -z nodlopen, -z initfirst and -z execstack support.
56738         * configure: Regenerated.
56740         * elf/elf.h (DF_1_NODIRECT): New macro.
56741         (DF_1_IGNMULDEF): Likewise.
56742         (DF_1_NOKSYMS): Likewise.
56743         (DF_1_NOHDR): Likewise.
56744         (DF_1_EDITED): Likewise.
56745         (DF_1_NORELOC): Likewise.
56746         (DF_1_SYMINTPOSE): Likewise.
56747         (DF_1_GLOBAUDIT): Likewise.
56748         (DF_1_SINGLETON): Likewise.
56749         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56750         DT_1_SUPPORTED_MASK bits.
56751         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56753 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
56755         * sysdeps/unix/make-syscalls.sh: Document prefixes.
56757 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
56759         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56760         macro.
56762         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56763         (sendmmsg): Move declarations...
56764         * socket/sys/socket.h: ... here.
56765         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56766         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56767         include it from...
56768         * socket/recvmmsg.c: ... this new file.
56769         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56770         (sendmmsg): Rename to __sendmmsg, create weak alias and make
56771         definition of __sendmmsg hidden.
56772         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56773         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56774         Move ENOSYS stub into and include it from...
56775         * socket/sendmmsg.c: ... this new file.
56776         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56777         (sysdep_routines): Move recvmmsg and sendmmsg...
56778         * socket/Makefile (routines): ... here.
56779         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56780         (GLIBC_PRIVATE): Add __sendmmsg.
56781         * include/sys/socket.h (__sendmmsg): Add declarations.
56782         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56783         sendmmsg.
56785 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
56787         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56788         variable I1 with __attribute__ ((unused)).
56789         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56791 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56793         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56794         DUMMY variables with __attribute__ ((unused)).
56796         * bits/byteswap.h: Include <bits/types.h>.
56797         (__bswap_64): Use __uint64_t instead of unsigned long long int.
56799 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56801         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56802         string_t.  Do not manually set errno.
56803         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
56804         length with __strnlen.  Make sure to both set errno and return it on
56805         failure.
56807 2012-11-19  David S. Miller  <davem@davemloft.net>
56809         With help from Joseph Myers.
56810         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
56811         very large arguments properly.
56812         * math/libm-test.inc (atan_test): New tests.
56813         (atan2_test): New tests.
56814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56815         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56817 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56819         [BZ #14856]
56820         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56821         Define to 3.
56823         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56824         [POSIX] (EADDRNOTAVAIL): Likewise.
56825         [POSIX] (EAFNOSUPPORT): Likewise.
56826         [POSIX] (EALREADY): Likewise.
56827         [POSIX] (ECONNABORTED): Likewise.
56828         [POSIX] (ECONNREFUSED): Likewise.
56829         [POSIX] (ECONNRESET): Likewise.
56830         [POSIX] (EDESTADDRREQ): Likewise.
56831         [POSIX] (EDQUOT): Likewise.
56832         [POSIX] (EHOSTUNREACH): Likewise.
56833         [POSIX] (EIDRM): Likewise.
56834         [POSIX] (EISCONN): Likewise.
56835         [POSIX] (ELOOP): Likewise.
56836         [POSIX] (EMULTIHOP): Likewise.
56837         [POSIX] (ENETDOWN): Likewise.
56838         [POSIX] (ENETUNREACH): Likewise.
56839         [POSIX] (ENOBUFS): Likewise.
56840         [POSIX] (ENODATA): Likewise.
56841         [POSIX] (ENOLINK): Likewise.
56842         [POSIX] (ENOMSG): Likewise.
56843         [POSIX] (ENOPROTOOPT): Likewise.
56844         [POSIX] (ENOSR): Likewise.
56845         [POSIX] (ENOSTR): Likewise.
56846         [POSIX] (ENOTCONN): Likewise.
56847         [POSIX] (ENOTSOCK): Likewise.
56848         [POSIX] (EOPNOTSUPP): Likewise.
56849         [POSIX] (EOVERFLOW): Likewise.
56850         [POSIX] (EPROTO): Likewise.
56851         [POSIX] (EPROTONOSUPPORT): Likewise.
56852         [POSIX] (EPROTOTYPE): Likewise.
56853         [POSIX] (ESTALE): Likewise.
56854         [POSIX] (ETIME): Likewise.
56855         [POSIX] (ETXTBSY): Likewise.
56856         [POSIX] (EWOULDBLOCK): Likewise.
56857         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56858         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56859         [POSIX] (SEEK_CUR): Likewise.
56860         [POSIX] (SEEK_END): Likewise.
56861         [POSIX || UNIX98] (mode_t): Do not require.
56862         [POSIX] (off_t): Likewise.
56863         [POSIX] (pid_t): Likewise.
56864         [POSIX] (sys/stat.h): Do not allow header.
56865         [POSIX] (unistd.h): Likewise.
56866         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56867         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56868         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56869         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56870         require.
56871         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56872         sigevent): Specify elements.
56873         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56874         entry.
56875         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56876         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56878         * conform/data/cpio.h-data [POSIX]: Disable whole file.
56879         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56880         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56881         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56882         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56883         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56884         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56885         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56886         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56887         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56888         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56889         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56890         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56891         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56892         Likewise.
56893         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56894         Likewise.
56895         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56896         Likewise.
56897         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56898         Likewise.
56899         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56900         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56901         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56902         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56903         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56904         Specify lower bound on value.
56905         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56906         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56907         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56908         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56909         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56910         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56911         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56912         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56913         value.
56914         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56915         as optional.
56916         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56917         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56918         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56919         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56920         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56921         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56922         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56923         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56924         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56925         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56926         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56927         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56928         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56929         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56930         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56931         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56932         entry.
56933         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56934         optional.
56935         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56936         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56937         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56938         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56939         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56940         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56941         Likewise.
56942         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56943         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56944         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56945         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56946         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
56947         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56948         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56949         as optional.
56950         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56951         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56952         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56953         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56954         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56955         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56956         specify as optional.
56957         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56958         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56959         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56960         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56961         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56962         [XPG3] (NL_LANGMAX): Likewise.
56963         [POSIX || XPG3] (NL_MSGMAX): Likewise.
56964         [POSIX || XPG3] (NL_NMAX): Likewise.
56965         [POSIX || XPG3] (NL_SETMAX): Likewise.
56966         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56967         [XPG3] (NZERO): Likewise.
56968         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56969         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56970         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56971         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56972         (REG_ERANGE): Expect.
56973         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56974         optional-constant.
56975         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
56976         Use (void) in prototype.
56977         [POSIX] (*_t): Allow.
56978         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
56979         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
56980         (WRDE_BADVAL): Expect.
56982         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
56983         expect.
56984         [XPG3 || XPG4] (O_RSYNC): Likewise.
56985         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
56986         Likewise.
56987         [XPG3 || XPG4] (pthread_sigmask): Likewise.
56988         [XPG3 || XPG4] (sigqueue): Likewise.
56989         [XPG3 || XPG4] (sigtimedwait): Likewise.
56990         [XPG3 || XPG4] (sigwaitinfo): Likewise.
56991         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
56992         [XPG3 || XPG4] (vsnprintf): Likewise.
56993         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
56994         Likewise.
56995         [XPG3 || XPG4] (blksize_t): Likewise.
56996         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
56997         Likewise.
56998         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
56999         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57000         [XPG3 || XPG4] (struct itimerspec): Likewise.
57001         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57002         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57003         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57004         [XPG3 || XPG4] (clockid_t): Likewise.
57005         [XPG3 || XPG4] (timer_t): Likewise.
57006         [XPG3 || XPG4] (clock_getres): Likewise.
57007         [XPG3 || XPG4] (clock_gettime): Likewise.
57008         [XPG3 || XPG4] (clock_settime): Likewise.
57009         [XPG3 || XPG4] (nanosleep): Likewise.
57010         [XPG3 || XPG4] (timer_create): Likewise.
57011         [XPG3 || XPG4] (timer_delete): Likewise.
57012         [XPG3 || XPG4] (timer_gettime): Likewise.
57013         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57014         [XPG3 || XPG4] (timer_settime): Likewise.
57015         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57016         [XPG3 || XPG4] (getlogin_r): Likewise.
57017         [XPG3 || XPG4] (pread): Likewise.
57018         [XPG3 || XPG4] (pthread_atfork): Likewise.
57019         [XPG3 || XPG4] (pwrite): Likewise.
57021         [BZ #14835]
57022         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57023         <bits/siginfo.h>.
57025 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57027         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57028         finalizing MALLSTREAM.
57030         * sysdeps/mach/hurd/syncfs.c: New file.
57032 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57034         [BZ #14719]
57035         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57036         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57037         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57038         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57039         (_nss_dns_gethostbyname4_r): Likewise.
57040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57041         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57043 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57045         [BZ #13763]
57046         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57048 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57050         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57051         * elf/cache.c (print_entry): Print ",AArch64" for
57052         FLAG_AARCH64_LIB64
57054         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57055         * elf/cache.c (print_entry): Print ",hard-float" for
57056         FLAG_ARM_LIBHF.
57058 2012-11-18  David S. Miller  <davem@davemloft.net>
57060         With help from Joseph Myers.
57061         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57062         cutoff to 2**-13.
57063         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57064         cutoff to 2**-25.
57065         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57066         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57067         small.
57068         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57069         * math/libm-test.inc (y0_test): New tests.
57070         (y1_test): New tests.
57071         * sysdeps/i386/fpu/libm-test-ulps: Update.
57072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57075 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57077         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57078         64-bit targets.
57079         * configure: Regenerated.
57081 2012-11-17  David S. Miller  <davem@davemloft.net>
57083         [BZ #14811]
57084         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57085         nonzero exponents with absolute value below 0x1p-128 to +/-
57086         0x1p-128.
57088 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57090         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57092         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57094         * posix/getconf-speclist.c: New file.
57095         * posix/posix-envs.def: Likewise.
57096         * posix/confstr.c (START_ENV_GROUP): New macro.
57097         (END_ENV_GROUP): Likewise.
57098         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57099         (KNOWN_PRESENT_ENV_STRING): Likewise.
57100         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57101         (UNKNOWN_ENVIRONMENT): Likewise.
57102         (confstr): Include posix-envs.def instead of handling
57103         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57104         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57105         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57106         (END_ENV_GROUP): Likewise.
57107         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57108         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57109         (UNKNOWN_ENVIRONMENT): Likewise.
57110         (__sysconf): Include posix-envs.def instead of handling associated
57111         cases directly here.
57112         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57113         preprocessing getconf-speclist.c rather than running getconf or
57114         generating empty file.
57116 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57118         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57120 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57122         [BZ #14672]
57123         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57125 2012-11-16  David S. Miller  <davem@davemloft.net>
57127         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57128         smaller than LDBL_EPSILON/2.0L, just return xm1.
57130 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57132         * elf/tst-array1.c (init): Set constructor priority to 1000.
57133         (fini): Set destructor priority to 1000.
57134         * elf/tst-array2dep.c: Likewise.
57136 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57138         [BZ #11741]
57139         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57140         (_IO_new_file_xsputn): Also return EOF if none of the input
57141         data was written when overflow failed.
57142         * libio/iopadn.c (_IO_padn): Likewise.
57143         * libio/iowpadn.c (_IO_wpadn): Likewise.
57144         * stdio-common/tst-put-error.c: Add copyright notice.
57145         (do_test): Add case for printing padded string.
57146         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57147         _IO_padn returned error.
57148         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57149         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57150         return EOF.
57152 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57154         * libio/libioP.h: Add comment note that the references to C++
57155         bits are now obsolete.
57157 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57159         * math/libm-test.inc (check_complex): Use asprintf.
57161 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57163         * debug/pcprofiledump.c (print_version): Update copyright year.
57164         * malloc/memusagestat.c (print_version): Likewise.
57166 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57168         [BZ #14831]
57169         * elf/Makefile (tests): Add tst-audit8.
57170         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57171         ($(objpfx)tst-audit8.out): New target.
57172         (tst-audit8-ENV): New variable.
57173         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57174         audit if l_reloc_result is NULL.
57175         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57176         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57177         * elf/tst-audit8.c: New file.
57179 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57181         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57182         * misc/Makefile (CFLAGS-select.c): Define.
57183         * posix/Makefile (CFLAGS-pause.c): Define.
57185 2012-11-13  David S. Miller  <davem@davemloft.net>
57187         * crypt/Makefile: Move test targets after toplevel Rules
57188         inclusion.  Grab any necessary sysdep routines when linking.
57189         * crypt/md5.c (md5_process_block): Remove define, we will always
57190         name it __md5_process_block.
57191         (md5_finish_ctx): Update md5_process_block call.
57192         (md5_stream): Likewise.
57193         (md5_process_bytes): Likewise.
57194         (md5_process_block): Rename to __md5_process_block and move to ...
57195         * crypt/md5-block.c: ... here.
57196         * crypt/sha256.c (sha256_process_block): Move to ...
57197         * crypt/sha256-block.c: ... here.
57198         * crypt/sha512.c (sha512_process_block): Move to ...
57199         * crypt/sha512-block.c: ... here.
57200         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57201         path.
57202         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57203         * sysdeps/sparc/sparc64/multiarch/Makefile
57204         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57205         crypt subdir.
57206         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57207         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57208         multiarch changes.
57209         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57210         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57211         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57212         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57213         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57214         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57215         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57216         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57217         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57218         file.
57219         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57220         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57221         file.
57222         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57224 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57226         * timezone/tzselect.ksh: Update from tzcode git revision
57227         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57228         * timezone/zdump.c: Likewise.
57229         * timezone/zic.c: Likewise.
57230         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57231         in TZVERSION setting, not $(PKGVERSION).
57232         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57233         REPORT_BUGS_TO settings.
57235         [BZ #14838]
57236         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57237         macro.
57239 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57241         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57242         detection to immediately after _FP_ROUND().
57243         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57244         bits are 0.
57246 2012-11-11  David S. Miller  <davem@davemloft.net>
57248         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57249         inttypes.h
57250         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57251         __close rather than their public counterparts.
57253 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57255         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57256         file.
57257         [UNIX98] (sem_timedwait): Do not expect.
57258         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57259         [XPG4 || UNIX98] (sockatmark): Do not expect.
57260         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57261         (clock_getcpuclockid): Do not expect.
57262         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57263         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57264         Do not expect.
57265         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57266         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57267         [UNIX98] (vwscanf): Likewise.
57268         [UNIX98] (vswscanf): Likewise.
57270 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57272         * timezone/version.h: Remove file.
57273         * timezone/README: Do not refer to version.h.
57274         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57275         $(objpfx)version.h.
57276         ($(objpfx)zdump.o): Likewise.
57277         ($(objpfx)version.h): New target.
57279         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57280         2012i.
57281         * timezone/README: Don't mention modification to tzselect.ksh.
57282         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57283         work on unmodified tzselect.ksh.  Substitute version numbers in
57284         tzselect.ksh.
57286         * Makefile (format-me): Remove.
57287         (INSTALL): Adjust indentation.  Use commands directly instead of
57288         using $(format-me).
57290         * aclocal.m4 (ACX_PKGVERSION): New macro.
57291         (ACX_BUGURL): Likewise.
57292         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57293         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57294         (REPORT_BUGS_TO): Likewise.
57295         * configure: Regenerated.
57296         * config.h.in (PKGVERSION): New macro.
57297         (REPORT_BUGS_TO): Likewise.
57298         * config.make.in (PKGVERSION): New variable.
57299         (PKGVERSION_TEXI): Likewise.
57300         (REPORT_BUGS_TO): Likewise.
57301         (REPORT_BUGS_TEXI): Likewise.
57302         * Makefile (format-me): Use -I$(common-objpfx)manual.
57303         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57304         ($(common-objpfx)manual/%): New target.
57305         (manual/%): Remove target.
57306         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57307         (print_version): Use PKGVERSION.
57308         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57309         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57310         and REPORT_BUGS_TO.
57311         ($(objpfx)xtrace): Likewise.
57312         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57313         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57314         (print_version): Use PKGVERSION.
57315         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57316         (do_version): Use PKGVERSION.
57317         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57318         REPORT_BUGS_TO.
57319         (common-ldd-rewrite): Likewise.
57320         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57321         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57322         (print_version): Use PKGVERSION.
57323         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57324         * elf/pldd.c (argp_program_bug_address): Remove variable.
57325         (more_help): New function.
57326         (argp): Use more_help.
57327         (print_version): Use PKGVERSION.
57328         * elf/sln.c (main): Use PKGVERSION.
57329         (usage): Use REPORT_BUGS_TO.
57330         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57331         (top level): Use PKGVERSION.
57332         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57333         (print_version): Use PKGVERSION.
57334         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57335         (print_version): Use PKGVERSION.
57336         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57337         (print_version): Use PKGVERSION.
57338         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57339         (print_version): Use PKGVERSION.
57340         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57341         (print_version): Use PKGVERSION.
57342         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57343         (print_version): Use PKGVERSION.
57344         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57345         and BUGURL.
57346         ($(objpfx)memusage): Likewise.
57347         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57348         (do_version): Use PKGVERSION.
57349         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57350         (print_version): Use PKGVERSION.
57351         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57352         ($PKGVERSION): New variable.
57353         ($REPORT_BUGS_TO): Likewise.
57354         (usage): Use $REPORT_BUGS_TO.
57355         (top level): Use $PKGVERSION.
57356         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57357         ($(objpfx)pkgvers.texi): New rule.
57358         ($(objpfx)stamp-pkgvers): Likewise.
57359         * manual/install.texi: Include pkgvers.texi.
57360         (--with-pkgversion): Document new configure option.
57361         (--with-bugurl): Likewise.
57362         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57363         than necessarily for this particular distribution.  Use
57364         REPORT_BUGS_TO for where to report bugs.
57365         * INSTALL: Regenerated.
57366         * manual/libc.texinfo: Include pkgvers.texi.
57367         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57368         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57369         (print_version): Use PKGVERSION.
57370         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57371         (print_version): Use PKGVERSION.
57372         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57373         (print_version): Use PKGVERSION.
57374         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57375         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57376         macro.
57377         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57378         (print_version): Use PKGVERSION.
57379         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57380         (print_version): Use PKGVERSION.
57381         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57382         and PKGVERSION.
57384         * timezone/checktab.awk: Update from tzcode 2012i.
57385         * timezone/ialloc.c: Likewise.
57386         * timezone/private.h: Likewise.
57387         * timezone/scheck.c: Likewise.
57388         * timezone/tzfile.h: Likewise.
57389         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57390         (TZVERSION): Hardcode tzcode version number.
57391         * timezone/zdump.c: Update from tzcode 2012i.
57392         * timezone/zic.c: Likewise.
57393         * timezone/version.h: New file.
57394         * timezone/README: Describe version.h.  Update upstream location.
57396         [BZ #14824]
57397         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57398         (mktemp): Enable declaration.
57399         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57400         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57401         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57402         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57403         Likewise.
57404         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57405         Likewise.
57406         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57407         Likewise.
57408         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57409         Likewise.
57410         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57411         Likewise.
57412         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57413         Likewise.
57415         [BZ #14821]
57416         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57417         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57418         for copies of such integer values.
57419         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57420         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57422 2012-11-09  Andreas Jaeger  <aj@suse.de>
57424         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57425         definitions and declarations that are provided by
57426         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57428 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57430         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57431         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57432         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57433         definition.
57435 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57437         * elf/elf.h: Update comment before AArch64 relocations.
57439 2012-11-07  David S. Miller  <davem@davemloft.net>
57441         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57442         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57443         (__start_context): Declare.
57444         (__makecontext_ret): Delete.
57445         (__makecontext): Hook up __start_context instead of
57446         __makecontext_ret.
57447         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57448         (sysdep_routines): Add __start_context when in stdlib.
57450 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57452         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57453         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57454         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57455         hardcoded "nm".
57456         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57457         (READELF): New variable.  Use it instead of hardcoded "readelf".
57459 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57461         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57462         * sysdeps/x86/Makefile: Here.
57463         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57464         * sysdeps/x86/tst-xmmymm.sh: This.
57466 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57468         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57469         expectations.
57470         [UNIX98] (pthread_barrier_t): Do not expect.
57471         [UNIX98] (pthread_barrierattr_t): Likewise.
57472         [UNIX98] (pthread_spinlock_t): Likewise.
57473         [UNIX98] (pthread_barrier_destroy): Likewise.
57474         [UNIX98] (pthread_barrier_init): Likewise.
57475         [UNIX98] (pthread_barrier_wait): Likewise.
57476         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57477         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57478         [UNIX98] (pthread_barrierattr_init): Likewise.
57479         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57480         [UNIX98] (pthread_getcpuclockid): Likewise.
57481         [UNIX98] (pthread_mutex_timedlock): Likewise.
57482         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57483         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57484         [UNIX98] (pthread_sigmask): Likewise.
57485         [UNIX98] (pthread_spin_destroy): Likewise.
57486         [UNIX98] (pthread_spin_init): Likewise.
57487         [UNIX98] (pthread_spin_lock): Likewise.
57488         [UNIX98] (pthread_spin_trylock): Likewise.
57489         [UNIX98] (pthread_spin_unlock): Likewise.
57490         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57491         Do not expect.
57492         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57493         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57494         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57495         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57496         [XPG3 || XPG4] (pthread_key_t): Likewise.
57497         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57498         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57499         [XPG3 || XPG4] (pthread_once_t): Likewise.
57500         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57501         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57502         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57503         [XPG3 || XPG4] (pthread_t): Likewise.
57505         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57506         not expect.
57507         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57509         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57510         Change function return type to int.
57512         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57513         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57514         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57515         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57516         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57517         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57518         [!POSIX] (posix_madvise): Likewise.
57519         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57520         && !UNIX98].
57521         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57522         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57523         (mode_t): Likewise.
57524         (posix_mem_offset): Likewise.
57525         (posix_typed_mem_get_info): Likewise.
57526         (posix_typed_mem_open): Likewise.
57528         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57529         Change condition to [XOPEN2K8].
57531         * conform/conformtest.pl: Preprocess allow-header data with -x c
57532         instead of from stdin.
57533         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57534         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57535         [C99-based standards] (cerfc): Likewise.
57536         [C99-based standards] (cexp2): Likewise.
57537         [C99-based standards] (cexpm1): Likewise.
57538         [C99-based standards] (clog10): Likewise.
57539         [C99-based standards] (clog1p): Likewise.
57540         [C99-based standards] (clog2): Likewise.
57541         [C99-based standards] (clgamma): Likewise.
57542         [C99-based standards] (ctgamma): Likewise.
57543         [C99-based standards] (cerff): Likewise.
57544         [C99-based standards] (cerfcf): Likewise.
57545         [C99-based standards] (cexp2f): Likewise.
57546         [C99-based standards] (cexpm1f): Likewise.
57547         [C99-based standards] (clog10f): Likewise.
57548         [C99-based standards] (clog1pf): Likewise.
57549         [C99-based standards] (clog2f): Likewise.
57550         [C99-based standards] (clgammaf): Likewise.
57551         [C99-based standards] (ctgammaf): Likewise.
57552         [C99-based standards] (cerfl): Likewise.
57553         [C99-based standards] (cerfcl): Likewise.
57554         [C99-based standards] (cexp2l): Likewise.
57555         [C99-based standards] (cexpm1l): Likewise.
57556         [C99-based standards] (clog10l): Likewise.
57557         [C99-based standards] (clog1pl): Likewise.
57558         [C99-based standards] (clog2l): Likewise.
57559         [C99-based standards] (clgammal): Likewise.
57560         [C99-based standards] (ctgammal): Likewise.
57561         * conform/data/inttypes.h-data [C99-based standards]: Include
57562         stdint.h-data.  Remove all expectations for stdint.h contents.
57563         [C99-based standards] (PRI*): Do not allow.
57564         [C99-based standards] (SCN*): Likewise.
57565         [C99-based standards] (*_t): Likewise.
57566         [C99-based-standards] (PRId8): Expect macro.
57567         [C99-based-standards] (PRIi8): Likewise.
57568         [C99-based-standards] (PRIo8): Likewise.
57569         [C99-based-standards] (PRIu8): Likewise.
57570         [C99-based-standards] (PRIx8): Likewise.
57571         [C99-based-standards] (PRIX8): Likewise.
57572         [C99-based-standards] (SCNd8): Likewise.
57573         [C99-based-standards] (SCNi8): Likewise.
57574         [C99-based-standards] (SCNo8): Likewise.
57575         [C99-based-standards] (SCNu8): Likewise.
57576         [C99-based-standards] (SCNx8): Likewise.
57577         [C99-based-standards] (PRIdLEAST8): Likewise.
57578         [C99-based-standards] (PRIiLEAST8): Likewise.
57579         [C99-based-standards] (PRIoLEAST8): Likewise.
57580         [C99-based-standards] (PRIuLEAST8): Likewise.
57581         [C99-based-standards] (PRIxLEAST8): Likewise.
57582         [C99-based-standards] (PRIXLEAST8): Likewise.
57583         [C99-based-standards] (SCNdLEAST8): Likewise.
57584         [C99-based-standards] (SCNiLEAST8): Likewise.
57585         [C99-based-standards] (SCNoLEAST8): Likewise.
57586         [C99-based-standards] (SCNuLEAST8): Likewise.
57587         [C99-based-standards] (SCNxLEAST8): Likewise.
57588         [C99-based-standards] (PRIdFAST8): Likewise.
57589         [C99-based-standards] (PRIiFAST8): Likewise.
57590         [C99-based-standards] (PRIoFAST8): Likewise.
57591         [C99-based-standards] (PRIuFAST8): Likewise.
57592         [C99-based-standards] (PRIxFAST8): Likewise.
57593         [C99-based-standards] (PRIXFAST8): Likewise.
57594         [C99-based-standards] (SCNdFAST8): Likewise.
57595         [C99-based-standards] (SCNiFAST8): Likewise.
57596         [C99-based-standards] (SCNoFAST8): Likewise.
57597         [C99-based-standards] (SCNuFAST8): Likewise.
57598         [C99-based-standards] (SCNxFAST8): Likewise.
57599         [C99-based-standards] (PRId16): Likewise.
57600         [C99-based-standards] (PRIi16): Likewise.
57601         [C99-based-standards] (PRIo16): Likewise.
57602         [C99-based-standards] (PRIu16): Likewise.
57603         [C99-based-standards] (PRIx16): Likewise.
57604         [C99-based-standards] (PRIX16): Likewise.
57605         [C99-based-standards] (SCNd16): Likewise.
57606         [C99-based-standards] (SCNi16): Likewise.
57607         [C99-based-standards] (SCNo16): Likewise.
57608         [C99-based-standards] (SCNu16): Likewise.
57609         [C99-based-standards] (SCNx16): Likewise.
57610         [C99-based-standards] (PRIdLEAST16): Likewise.
57611         [C99-based-standards] (PRIiLEAST16): Likewise.
57612         [C99-based-standards] (PRIoLEAST16): Likewise.
57613         [C99-based-standards] (PRIuLEAST16): Likewise.
57614         [C99-based-standards] (PRIxLEAST16): Likewise.
57615         [C99-based-standards] (PRIXLEAST16): Likewise.
57616         [C99-based-standards] (SCNdLEAST16): Likewise.
57617         [C99-based-standards] (SCNiLEAST16): Likewise.
57618         [C99-based-standards] (SCNoLEAST16): Likewise.
57619         [C99-based-standards] (SCNuLEAST16): Likewise.
57620         [C99-based-standards] (SCNxLEAST16): Likewise.
57621         [C99-based-standards] (PRIdFAST16): Likewise.
57622         [C99-based-standards] (PRIiFAST16): Likewise.
57623         [C99-based-standards] (PRIoFAST16): Likewise.
57624         [C99-based-standards] (PRIuFAST16): Likewise.
57625         [C99-based-standards] (PRIxFAST16): Likewise.
57626         [C99-based-standards] (PRIXFAST16): Likewise.
57627         [C99-based-standards] (SCNdFAST16): Likewise.
57628         [C99-based-standards] (SCNiFAST16): Likewise.
57629         [C99-based-standards] (SCNoFAST16): Likewise.
57630         [C99-based-standards] (SCNuFAST16): Likewise.
57631         [C99-based-standards] (SCNxFAST16): Likewise.
57632         [C99-based-standards] (PRId32): Likewise.
57633         [C99-based-standards] (PRIi32): Likewise.
57634         [C99-based-standards] (PRIo32): Likewise.
57635         [C99-based-standards] (PRIu32): Likewise.
57636         [C99-based-standards] (PRIx32): Likewise.
57637         [C99-based-standards] (PRIX32): Likewise.
57638         [C99-based-standards] (SCNd32): Likewise.
57639         [C99-based-standards] (SCNi32): Likewise.
57640         [C99-based-standards] (SCNo32): Likewise.
57641         [C99-based-standards] (SCNu32): Likewise.
57642         [C99-based-standards] (SCNx32): Likewise.
57643         [C99-based-standards] (PRIdLEAST32): Likewise.
57644         [C99-based-standards] (PRIiLEAST32): Likewise.
57645         [C99-based-standards] (PRIoLEAST32): Likewise.
57646         [C99-based-standards] (PRIuLEAST32): Likewise.
57647         [C99-based-standards] (PRIxLEAST32): Likewise.
57648         [C99-based-standards] (PRIXLEAST32): Likewise.
57649         [C99-based-standards] (SCNdLEAST32): Likewise.
57650         [C99-based-standards] (SCNiLEAST32): Likewise.
57651         [C99-based-standards] (SCNoLEAST32): Likewise.
57652         [C99-based-standards] (SCNuLEAST32): Likewise.
57653         [C99-based-standards] (SCNxLEAST32): Likewise.
57654         [C99-based-standards] (PRIdFAST32): Likewise.
57655         [C99-based-standards] (PRIiFAST32): Likewise.
57656         [C99-based-standards] (PRIoFAST32): Likewise.
57657         [C99-based-standards] (PRIuFAST32): Likewise.
57658         [C99-based-standards] (PRIxFAST32): Likewise.
57659         [C99-based-standards] (PRIXFAST32): Likewise.
57660         [C99-based-standards] (SCNdFAST32): Likewise.
57661         [C99-based-standards] (SCNiFAST32): Likewise.
57662         [C99-based-standards] (SCNoFAST32): Likewise.
57663         [C99-based-standards] (SCNuFAST32): Likewise.
57664         [C99-based-standards] (SCNxFAST32): Likewise.
57665         [C99-based-standards] (PRId64): Likewise.
57666         [C99-based-standards] (PRIi64): Likewise.
57667         [C99-based-standards] (PRIo64): Likewise.
57668         [C99-based-standards] (PRIu64): Likewise.
57669         [C99-based-standards] (PRIx64): Likewise.
57670         [C99-based-standards] (PRIX64): Likewise.
57671         [C99-based-standards] (SCNd64): Likewise.
57672         [C99-based-standards] (SCNi64): Likewise.
57673         [C99-based-standards] (SCNo64): Likewise.
57674         [C99-based-standards] (SCNu64): Likewise.
57675         [C99-based-standards] (SCNx64): Likewise.
57676         [C99-based-standards] (PRIdLEAST64): Likewise.
57677         [C99-based-standards] (PRIiLEAST64): Likewise.
57678         [C99-based-standards] (PRIoLEAST64): Likewise.
57679         [C99-based-standards] (PRIuLEAST64): Likewise.
57680         [C99-based-standards] (PRIxLEAST64): Likewise.
57681         [C99-based-standards] (PRIXLEAST64): Likewise.
57682         [C99-based-standards] (SCNdLEAST64): Likewise.
57683         [C99-based-standards] (SCNiLEAST64): Likewise.
57684         [C99-based-standards] (SCNoLEAST64): Likewise.
57685         [C99-based-standards] (SCNuLEAST64): Likewise.
57686         [C99-based-standards] (SCNxLEAST64): Likewise.
57687         [C99-based-standards] (PRIdFAST64): Likewise.
57688         [C99-based-standards] (PRIiFAST64): Likewise.
57689         [C99-based-standards] (PRIoFAST64): Likewise.
57690         [C99-based-standards] (PRIuFAST64): Likewise.
57691         [C99-based-standards] (PRIxFAST64): Likewise.
57692         [C99-based-standards] (PRIXFAST64): Likewise.
57693         [C99-based-standards] (SCNdFAST64): Likewise.
57694         [C99-based-standards] (SCNiFAST64): Likewise.
57695         [C99-based-standards] (SCNoFAST64): Likewise.
57696         [C99-based-standards] (SCNuFAST64): Likewise.
57697         [C99-based-standards] (SCNxFAST64): Likewise.
57698         [C99-based-standards] (PRIdMAX): Likewise.
57699         [C99-based-standards] (PRIiMAX): Likewise.
57700         [C99-based-standards] (PRIoMAX): Likewise.
57701         [C99-based-standards] (PRIuMAX): Likewise.
57702         [C99-based-standards] (PRIxMAX): Likewise.
57703         [C99-based-standards] (PRIXMAX): Likewise.
57704         [C99-based-standards] (SCNdMAX): Likewise.
57705         [C99-based-standards] (SCNiMAX): Likewise.
57706         [C99-based-standards] (SCNoMAX): Likewise.
57707         [C99-based-standards] (SCNuMAX): Likewise.
57708         [C99-based-standards] (SCNxMAX): Likewise.
57709         [C99-based-standards] (PRIdPTR): Likewise.
57710         [C99-based-standards] (PRIiPTR): Likewise.
57711         [C99-based-standards] (PRIoPTR): Likewise.
57712         [C99-based-standards] (PRIuPTR): Likewise.
57713         [C99-based-standards] (PRIxPTR): Likewise.
57714         [C99-based-standards] (PRIXPTR): Likewise.
57715         [C99-based-standards] (SCNdPTR): Likewise.
57716         [C99-based-standards] (SCNiPTR): Likewise.
57717         [C99-based-standards] (SCNoPTR): Likewise.
57718         [C99-based-standards] (SCNuPTR): Likewise.
57719         [C99-based-standards] (SCNxPTR): Likewise.
57720         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57721         allow.
57722         * conform/data/stdint.h-data: Update comments to clarify
57723         requirements.
57724         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
57725         type.
57726         [C99-based standards] (INT8_MAX): Likewise.
57727         [C99-based standards] (INT16_MIN): Likewise.
57728         [C99-based standards] (INT16_MAX): Likewise.
57729         [C99-based standards] (INT32_MIN): Likewise.
57730         [C99-based standards] (INT32_MAX): Likewise.
57731         [C99-based standards] (INT64_MIN): Likewise.
57732         [C99-based standards] (INT64_MAX): Likewise.
57733         [C99-based standards] (UINT8_MAX): Likewise.
57734         [C99-based standards] (UINT16_MAX): Likewise.
57735         [C99-based standards] (UINT32_MAX): Likewise.
57736         [C99-based standards] (UINT64_MAX): Likewise.
57737         [C99-based standards] (INT_LEAST8_MIN): Likewise.
57738         [C99-based standards] (INT_LEAST8_MAX): Likewise.
57739         [C99-based standards] (INT_LEAST16_MIN): Likewise.
57740         [C99-based standards] (INT_LEAST16_MAX): Likewise.
57741         [C99-based standards] (INT_LEAST32_MIN): Likewise.
57742         [C99-based standards] (INT_LEAST32_MAX): Likewise.
57743         [C99-based standards] (INT_LEAST64_MIN): Likewise.
57744         [C99-based standards] (INT_LEAST64_MAX): Likewise.
57745         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57746         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57747         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57748         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57749         [C99-based standards] (INT_FAST8_MIN): Likewise.
57750         [C99-based standards] (INT_FAST8_MAX): Likewise.
57751         [C99-based standards] (INT_FAST16_MIN): Likewise.
57752         [C99-based standards] (INT_FAST16_MAX): Likewise.
57753         [C99-based standards] (INT_FAST32_MIN): Likewise.
57754         [C99-based standards] (INT_FAST32_MAX): Likewise.
57755         [C99-based standards] (INT_FAST64_MIN): Likewise.
57756         [C99-based standards] (INT_FAST64_MAX): Likewise.
57757         [C99-based standards] (UINT_FAST8_MAX): Likewise.
57758         [C99-based standards] (UINT_FAST16_MAX): Likewise.
57759         [C99-based standards] (UINT_FAST32_MAX): Likewise.
57760         [C99-based standards] (UINT_FAST64_MAX): Likewise.
57761         [C99-based standards] (INTPTR_MIN): Likewise.
57762         [C99-based standards] (INTPTR_MAX): Likewise.
57763         [C99-based standards] (UINTPTR_MAX): Likewise.
57764         [C99-based standards] (INTMAX_MIN): Likewise.
57765         [C99-based standards] (INTMAX_MAX): Likewise.
57766         [C99-based standards] (UINTMAX_MAX): Likewise.
57767         [C99-based standards] (PTRDIFF_MIN): Likewise.
57768         [C99-based standards] (PTRDIFF_MAX): Likewise.
57769         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57770         [C99-based standards] (SIZE_MAX): Likewise.
57771         [C99-based standards] (WCHAR_MAX): Likewise.
57772         [C99-based standards] (WINT_MAX): Likewise.
57773         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
57774         constraint on value.
57775         [C99-based standards] (WCHAR_MIN): Likewise.
57776         [C99-based standards] (WINT_MIN): Likewise.
57777         [C99-based standards] (*_t): Allow.
57778         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57779         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57780         Include math.h-data and complex.h-data.  Remove all expectations
57781         of math.h and complex.h contents.
57782         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57783         at end of line.
57784         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57785         (struct tm): Expect tag.
57786         [C99-based-standards] (wcstof): Expect function.
57787         [C99-based-standards] (wcstold): Likewise.
57788         [C99-based-standards] (wcstoll): Likewise.
57789         [C99-based-standards] (wcstoull): Likewise.
57790         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57791         macro-int-constant.  Specify type.
57792         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
57793         constraint on value.
57794         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57795         Specify type.
57796         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57797         Specify value.
57798         [ISO C standards]: Do not allow headers.
57799         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57800         wcs[abcdefghijklmnopqrstuvwxyz]*.
57801         [ISO C standards] (*_t): Do not allow.
57802         * conform/data/wctype.h-data [C99-based standards] (iswblank):
57803         Expect function.
57804         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
57805         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57806         Specify type.
57807         [ISO C standards]: Do not allow headers.
57808         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
57809         is[abcdefghijklmnopqrstuvwxyz]*.
57810         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
57811         to[abcdefghijklmnopqrstuvwxyz]*.
57812         [ISO C standards] (*_t): Do not allow.
57813         * conform/data/stdalign.h-data: New file.
57814         * conform/data/stdbool.h-data: Likewise.
57815         * conform/data/stdnoreturn.h-data: Likewise.
57817 2012-11-07  Roland McGrath  <roland@hack.frob.com>
57819         [BZ #14815]
57820         * manual/filesys.texi (Directory Entries): Typo fix.
57821         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57823 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57825         * elf/elf.h (EM_AARCH64): New macro.
57826         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57827         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57828         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57829         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57830         (R_AARCH64_TLSDESC): Likewise.
57831         (NT_ARM_TLS): Likewise.
57832         (NT_ARM_HW_BREAK): Likewise.
57833         (NT_ARM_HW_WATCH): Likewise.
57835 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57837         [BZ #14811]
57838         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57839         (__ieee754_powl): Saturate nonzero exponents with absolute value
57840         below 0x1p-79 to +/- 0x1p-79.
57841         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57842         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57843         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57844         nonzero exponents with absolute value below 0x1p-32 to +/-
57845         0x1p-32.
57846         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57847         (__ieee754_powl): Saturate nonzero exponents with absolute value
57848         below 0x1p-79 to +/- 0x1p-79.
57849         * math/libm-test.inc (pow_test): Add more tests.
57851 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57853         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57854         _dl_s390_cap_flags with kernel. Increase string length.
57855         (_dl_s390_platforms): Add z196 and zEC12.
57857 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57859         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57860         Change XOPEN21K to XOPEN2K.
57862 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
57864         * string/memmove.c: Use memcpy when possible.
57866 2012-11-06  Andreas Jaeger  <aj@suse.de>
57868         * po/eo.po: Update from translation team.
57870 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
57872         [BZ #14793]
57873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57874         exponent and small x and y exponents, scale x or y up.  Increase
57875         by 2 the exponent used in scaling up.
57876         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57877         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57878         * math/libm-test.inc (fma_test): Add more tests.
57879         (fma_test_towardzero): Likewise.
57880         (fma_test_downward): Likewise.
57881         (fma_test_upward): Likewise.
57883 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
57885         [BZ #14805]
57886         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57887         fenv_t *.
57889         [BZ #14801]
57890         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57891         namespace for names of struct fields.
57892         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57893         fenv_t fields.
57894         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57895         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57897 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57899         [BZ #3665]
57900         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57902 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57904         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57905         PTR_DEMANGLE.
57907         [BZ #5246]
57908         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57909         PTR_DEMANGLE.
57911 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
57913         [BZ #14797]
57914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57915         definitely overflow as x * y not x * y + z.
57916         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57917         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57918         * math/libm-test.inc (fma_test): Add more tests.
57919         (fma_test_towardzero): Likewise.
57920         (fma_test_downward): Likewise.
57921         (fma_test_upward): Likewise.
57923 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57925         [BZ #157]
57927         * include/stub-tag.h: Remove file.
57928         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57929         '#include' of it.
57930         * manual/maint.texi (Porting): Don't reference it.
57931         * Makerules ($(objpfx)stubs): Likewise.
57932         * dirent/closedir.c: Don't include <stub-tag.h>.
57933         * dirent/dirfd.c: Likewise.
57934         * dirent/fdopendir.c: Likewise.
57935         * dirent/getdents.c: Likewise.
57936         * dirent/getdents64.c: Likewise.
57937         * dirent/opendir.c: Likewise.
57938         * dirent/readdir.c: Likewise.
57939         * dirent/readdir64.c: Likewise.
57940         * dirent/readdir64_r.c: Likewise.
57941         * dirent/readdir_r.c: Likewise.
57942         * dirent/rewinddir.c: Likewise.
57943         * dirent/seekdir.c: Likewise.
57944         * dirent/telldir.c: Likewise.
57945         * gmon/profil.c: Likewise.
57946         * grp/setgroups.c: Likewise.
57947         * inet/if_index.c: Likewise.
57948         * io/access.c: Likewise.
57949         * io/chdir.c: Likewise.
57950         * io/chmod.c: Likewise.
57951         * io/chown.c: Likewise.
57952         * io/close.c: Likewise.
57953         * io/dup.c: Likewise.
57954         * io/dup2.c: Likewise.
57955         * io/dup3.c: Likewise.
57956         * io/euidaccess.c: Likewise.
57957         * io/faccessat.c: Likewise.
57958         * io/fchdir.c: Likewise.
57959         * io/fchmod.c: Likewise.
57960         * io/fchmodat.c: Likewise.
57961         * io/fchown.c: Likewise.
57962         * io/fchownat.c: Likewise.
57963         * io/fcntl.c: Likewise.
57964         * io/flock.c: Likewise.
57965         * io/fstatfs.c: Likewise.
57966         * io/fstatfs64.c: Likewise.
57967         * io/fstatvfs.c: Likewise.
57968         * io/fstatvfs64.c: Likewise.
57969         * io/futimens.c: Likewise.
57970         * io/fxstat.c: Likewise.
57971         * io/fxstat64.c: Likewise.
57972         * io/fxstatat.c: Likewise.
57973         * io/fxstatat64.c: Likewise.
57974         * io/getcwd.c: Likewise.
57975         * io/isatty.c: Likewise.
57976         * io/lchmod.c: Likewise.
57977         * io/lchown.c: Likewise.
57978         * io/link.c: Likewise.
57979         * io/linkat.c: Likewise.
57980         * io/lseek.c: Likewise.
57981         * io/lseek64.c: Likewise.
57982         * io/lxstat64.c: Likewise.
57983         * io/mkdir.c: Likewise.
57984         * io/mkdirat.c: Likewise.
57985         * io/mkfifo.c: Likewise.
57986         * io/mkfifoat.c: Likewise.
57987         * io/open.c: Likewise.
57988         * io/open64.c: Likewise.
57989         * io/openat.c: Likewise.
57990         * io/openat64.c: Likewise.
57991         * io/pipe.c: Likewise.
57992         * io/pipe2.c: Likewise.
57993         * io/poll.c: Likewise.
57994         * io/posix_fadvise.c: Likewise.
57995         * io/posix_fadvise64.c: Likewise.
57996         * io/posix_fallocate.c: Likewise.
57997         * io/posix_fallocate64.c: Likewise.
57998         * io/read.c: Likewise.
57999         * io/readlink.c: Likewise.
58000         * io/readlinkat.c: Likewise.
58001         * io/rmdir.c: Likewise.
58002         * io/sendfile.c: Likewise.
58003         * io/sendfile64.c: Likewise.
58004         * io/statfs.c: Likewise.
58005         * io/statfs64.c: Likewise.
58006         * io/statvfs.c: Likewise.
58007         * io/statvfs64.c: Likewise.
58008         * io/symlink.c: Likewise.
58009         * io/symlinkat.c: Likewise.
58010         * io/ttyname.c: Likewise.
58011         * io/ttyname_r.c: Likewise.
58012         * io/umask.c: Likewise.
58013         * io/unlink.c: Likewise.
58014         * io/unlinkat.c: Likewise.
58015         * io/utime.c: Likewise.
58016         * io/utimensat.c: Likewise.
58017         * io/write.c: Likewise.
58018         * io/xmknod.c: Likewise.
58019         * io/xmknodat.c: Likewise.
58020         * io/xstat.c: Likewise.
58021         * io/xstat64.c: Likewise.
58022         * login/getpt.c: Likewise.
58023         * login/grantpt.c: Likewise.
58024         * login/unlockpt.c: Likewise.
58025         * math/e_acoshl.c: Likewise.
58026         * math/e_acosl.c: Likewise.
58027         * math/e_asinl.c: Likewise.
58028         * math/e_atan2l.c: Likewise.
58029         * math/e_atanhl.c: Likewise.
58030         * math/e_coshl.c: Likewise.
58031         * math/e_expl.c: Likewise.
58032         * math/e_fmodl.c: Likewise.
58033         * math/e_gammal_r.c: Likewise.
58034         * math/e_hypotl.c: Likewise.
58035         * math/e_j0l.c: Likewise.
58036         * math/e_j1l.c: Likewise.
58037         * math/e_jnl.c: Likewise.
58038         * math/e_lgammal_r.c: Likewise.
58039         * math/e_log10l.c: Likewise.
58040         * math/e_log2l.c: Likewise.
58041         * math/e_logl.c: Likewise.
58042         * math/e_powl.c: Likewise.
58043         * math/e_rem_pio2l.c: Likewise.
58044         * math/e_sinhl.c: Likewise.
58045         * math/e_sqrtl.c: Likewise.
58046         * math/fclrexcpt.c: Likewise.
58047         * math/fedisblxcpt.c: Likewise.
58048         * math/feenablxcpt.c: Likewise.
58049         * math/fegetenv.c: Likewise.
58050         * math/fegetexcept.c: Likewise.
58051         * math/fegetround.c: Likewise.
58052         * math/feholdexcpt.c: Likewise.
58053         * math/fesetenv.c: Likewise.
58054         * math/fesetround.c: Likewise.
58055         * math/feupdateenv.c: Likewise.
58056         * math/fgetexcptflg.c: Likewise.
58057         * math/fraiseexcpt.c: Likewise.
58058         * math/fsetexcptflg.c: Likewise.
58059         * math/ftestexcept.c: Likewise.
58060         * math/k_cosl.c: Likewise.
58061         * math/k_rem_pio2l.c: Likewise.
58062         * math/k_sinl.c: Likewise.
58063         * math/k_tanl.c: Likewise.
58064         * math/s_asinhl.c: Likewise.
58065         * math/s_atanl.c: Likewise.
58066         * math/s_cbrtl.c: Likewise.
58067         * math/s_erfl.c: Likewise.
58068         * math/s_expm1l.c: Likewise.
58069         * math/s_log1pl.c: Likewise.
58070         * math/s_tanhl.c: Likewise.
58071         * misc/acct.c: Likewise.
58072         * misc/brk.c: Likewise.
58073         * misc/chflags.c: Likewise.
58074         * misc/chroot.c: Likewise.
58075         * misc/fchflags.c: Likewise.
58076         * misc/fgetxattr.c: Likewise.
58077         * misc/flistxattr.c: Likewise.
58078         * misc/fremovexattr.c: Likewise.
58079         * misc/fsetxattr.c: Likewise.
58080         * misc/fsync.c: Likewise.
58081         * misc/ftruncate.c: Likewise.
58082         * misc/futimes.c: Likewise.
58083         * misc/futimesat.c: Likewise.
58084         * misc/getdomain.c: Likewise.
58085         * misc/getdtsz.c: Likewise.
58086         * misc/gethostid.c: Likewise.
58087         * misc/gethostname.c: Likewise.
58088         * misc/getloadavg.c: Likewise.
58089         * misc/getpagesize.c: Likewise.
58090         * misc/getsysstats.c: Likewise.
58091         * misc/getxattr.c: Likewise.
58092         * misc/gtty.c: Likewise.
58093         * misc/ioctl.c: Likewise.
58094         * misc/lgetxattr.c: Likewise.
58095         * misc/listxattr.c: Likewise.
58096         * misc/llistxattr.c: Likewise.
58097         * misc/lremovexattr.c: Likewise.
58098         * misc/lsetxattr.c: Likewise.
58099         * misc/lutimes.c: Likewise.
58100         * misc/madvise.c: Likewise.
58101         * misc/mincore.c: Likewise.
58102         * misc/mlock.c: Likewise.
58103         * misc/mlockall.c: Likewise.
58104         * misc/mmap.c: Likewise.
58105         * misc/mprotect.c: Likewise.
58106         * misc/msync.c: Likewise.
58107         * misc/munlock.c: Likewise.
58108         * misc/munlockall.c: Likewise.
58109         * misc/munmap.c: Likewise.
58110         * misc/preadv.c: Likewise.
58111         * misc/preadv64.c: Likewise.
58112         * misc/ptrace.c: Likewise.
58113         * misc/pwritev.c: Likewise.
58114         * misc/pwritev64.c: Likewise.
58115         * misc/readv.c: Likewise.
58116         * misc/reboot.c: Likewise.
58117         * misc/remap_file_pages.c: Likewise.
58118         * misc/removexattr.c: Likewise.
58119         * misc/revoke.c: Likewise.
58120         * misc/select.c: Likewise.
58121         * misc/setdomain.c: Likewise.
58122         * misc/setegid.c: Likewise.
58123         * misc/seteuid.c: Likewise.
58124         * misc/sethostid.c: Likewise.
58125         * misc/sethostname.c: Likewise.
58126         * misc/setregid.c: Likewise.
58127         * misc/setreuid.c: Likewise.
58128         * misc/setxattr.c: Likewise.
58129         * misc/sstk.c: Likewise.
58130         * misc/stty.c: Likewise.
58131         * misc/swapoff.c: Likewise.
58132         * misc/swapon.c: Likewise.
58133         * misc/sync.c: Likewise.
58134         * misc/syncfs.c: Likewise.
58135         * misc/syscall.c: Likewise.
58136         * misc/truncate.c: Likewise.
58137         * misc/ualarm.c: Likewise.
58138         * misc/usleep.c: Likewise.
58139         * misc/ustat.c: Likewise.
58140         * misc/utimes.c: Likewise.
58141         * misc/vhangup.c: Likewise.
58142         * misc/writev.c: Likewise.
58143         * posix/_exit.c: Likewise.
58144         * posix/alarm.c: Likewise.
58145         * posix/execve.c: Likewise.
58146         * posix/fexecve.c: Likewise.
58147         * posix/fork.c: Likewise.
58148         * posix/fpathconf.c: Likewise.
58149         * posix/getaddrinfo.c: Likewise.
58150         * posix/getegid.c: Likewise.
58151         * posix/geteuid.c: Likewise.
58152         * posix/getgid.c: Likewise.
58153         * posix/getgroups.c: Likewise.
58154         * posix/getlogin.c: Likewise.
58155         * posix/getlogin_r.c: Likewise.
58156         * posix/getpgid.c: Likewise.
58157         * posix/getpid.c: Likewise.
58158         * posix/getppid.c: Likewise.
58159         * posix/getresgid.c: Likewise.
58160         * posix/getresuid.c: Likewise.
58161         * posix/getsid.c: Likewise.
58162         * posix/getuid.c: Likewise.
58163         * posix/glob64.c: Likewise.
58164         * posix/nanosleep.c: Likewise.
58165         * posix/pathconf.c: Likewise.
58166         * posix/pause.c: Likewise.
58167         * posix/posix_madvise.c: Likewise.
58168         * posix/pread.c: Likewise.
58169         * posix/pread64.c: Likewise.
58170         * posix/pwrite.c: Likewise.
58171         * posix/pwrite64.c: Likewise.
58172         * posix/sched_getaffinity.c: Likewise.
58173         * posix/sched_getp.c: Likewise.
58174         * posix/sched_gets.c: Likewise.
58175         * posix/sched_primax.c: Likewise.
58176         * posix/sched_primin.c: Likewise.
58177         * posix/sched_rr_gi.c: Likewise.
58178         * posix/sched_setaffinity.c: Likewise.
58179         * posix/sched_setp.c: Likewise.
58180         * posix/sched_sets.c: Likewise.
58181         * posix/sched_yield.c: Likewise.
58182         * posix/setgid.c: Likewise.
58183         * posix/setlogin.c: Likewise.
58184         * posix/setpgid.c: Likewise.
58185         * posix/setresgid.c: Likewise.
58186         * posix/setresuid.c: Likewise.
58187         * posix/setsid.c: Likewise.
58188         * posix/setuid.c: Likewise.
58189         * posix/sleep.c: Likewise.
58190         * posix/spawni.c: Likewise.
58191         * posix/sysconf.c: Likewise.
58192         * posix/times.c: Likewise.
58193         * posix/wait.c: Likewise.
58194         * posix/wait3.c: Likewise.
58195         * posix/wait4.c: Likewise.
58196         * posix/waitpid.c: Likewise.
58197         * resolv/gai_sigqueue.c: Likewise.
58198         * resource/getpriority.c: Likewise.
58199         * resource/getrlimit.c: Likewise.
58200         * resource/getrusage.c: Likewise.
58201         * resource/nice.c: Likewise.
58202         * resource/setpriority.c: Likewise.
58203         * resource/setrlimit.c: Likewise.
58204         * resource/ulimit.c: Likewise.
58205         * rt/aio_cancel.c: Likewise.
58206         * rt/aio_fsync.c: Likewise.
58207         * rt/aio_read.c: Likewise.
58208         * rt/aio_sigqueue.c: Likewise.
58209         * rt/aio_suspend.c: Likewise.
58210         * rt/aio_write.c: Likewise.
58211         * rt/clock_getres.c: Likewise.
58212         * rt/clock_gettime.c: Likewise.
58213         * rt/clock_nanosleep.c: Likewise.
58214         * rt/clock_settime.c: Likewise.
58215         * rt/lio_listio.c: Likewise.
58216         * rt/mq_close.c: Likewise.
58217         * rt/mq_getattr.c: Likewise.
58218         * rt/mq_notify.c: Likewise.
58219         * rt/mq_open.c: Likewise.
58220         * rt/mq_receive.c: Likewise.
58221         * rt/mq_send.c: Likewise.
58222         * rt/mq_setattr.c: Likewise.
58223         * rt/mq_timedreceive.c: Likewise.
58224         * rt/mq_timedsend.c: Likewise.
58225         * rt/mq_unlink.c: Likewise.
58226         * rt/shm_open.c: Likewise.
58227         * rt/shm_unlink.c: Likewise.
58228         * rt/timer_create.c: Likewise.
58229         * rt/timer_delete.c: Likewise.
58230         * rt/timer_getoverr.c: Likewise.
58231         * rt/timer_gettime.c: Likewise.
58232         * rt/timer_settime.c: Likewise.
58233         * setjmp/__longjmp.c: Likewise.
58234         * setjmp/setjmp.c: Likewise.
58235         * signal/kill.c: Likewise.
58236         * signal/killpg.c: Likewise.
58237         * signal/raise.c: Likewise.
58238         * signal/sigaction.c: Likewise.
58239         * signal/sigaltstack.c: Likewise.
58240         * signal/sigblock.c: Likewise.
58241         * signal/sigignore.c: Likewise.
58242         * signal/sigintr.c: Likewise.
58243         * signal/signal.c: Likewise.
58244         * signal/sigpause.c: Likewise.
58245         * signal/sigpending.c: Likewise.
58246         * signal/sigqueue.c: Likewise.
58247         * signal/sigreturn.c: Likewise.
58248         * signal/sigset.c: Likewise.
58249         * signal/sigsetmask.c: Likewise.
58250         * signal/sigstack.c: Likewise.
58251         * signal/sigsuspend.c: Likewise.
58252         * signal/sigtimedwait.c: Likewise.
58253         * signal/sigvec.c: Likewise.
58254         * signal/sigwait.c: Likewise.
58255         * signal/sigwaitinfo.c: Likewise.
58256         * signal/sysv_signal.c: Likewise.
58257         * socket/accept.c: Likewise.
58258         * socket/accept4.c: Likewise.
58259         * socket/bind.c: Likewise.
58260         * socket/connect.c: Likewise.
58261         * socket/getpeername.c: Likewise.
58262         * socket/getsockname.c: Likewise.
58263         * socket/getsockopt.c: Likewise.
58264         * socket/isfdtype.c: Likewise.
58265         * socket/listen.c: Likewise.
58266         * socket/recv.c: Likewise.
58267         * socket/recvfrom.c: Likewise.
58268         * socket/recvmsg.c: Likewise.
58269         * socket/send.c: Likewise.
58270         * socket/sendmsg.c: Likewise.
58271         * socket/sendto.c: Likewise.
58272         * socket/setsockopt.c: Likewise.
58273         * socket/shutdown.c: Likewise.
58274         * socket/sockatmark.c: Likewise.
58275         * socket/socket.c: Likewise.
58276         * socket/socketpair.c: Likewise.
58277         * stdio-common/ctermid.c: Likewise.
58278         * stdio-common/cuserid.c: Likewise.
58279         * stdio-common/remove.c: Likewise.
58280         * stdio-common/rename.c: Likewise.
58281         * stdio-common/renameat.c: Likewise.
58282         * stdio-common/tempname.c: Likewise.
58283         * stdlib/getcontext.c: Likewise.
58284         * stdlib/makecontext.c: Likewise.
58285         * stdlib/setcontext.c: Likewise.
58286         * stdlib/swapcontext.c: Likewise.
58287         * stdlib/system.c: Likewise.
58288         * streams/fattach.c: Likewise.
58289         * streams/fdetach.c: Likewise.
58290         * streams/getmsg.c: Likewise.
58291         * streams/getpmsg.c: Likewise.
58292         * streams/putmsg.c: Likewise.
58293         * streams/putpmsg.c: Likewise.
58294         * sysdeps/unix/bsd/getpt.c: Likewise.
58295         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58296         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58297         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58299         Likewise.
58300         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58301         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58302         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58303         * sysvipc/msgctl.c: Likewise.
58304         * sysvipc/msgget.c: Likewise.
58305         * sysvipc/msgrcv.c: Likewise.
58306         * sysvipc/msgsnd.c: Likewise.
58307         * sysvipc/semctl.c: Likewise.
58308         * sysvipc/semget.c: Likewise.
58309         * sysvipc/semop.c: Likewise.
58310         * sysvipc/semtimedop.c: Likewise.
58311         * sysvipc/shmat.c: Likewise.
58312         * sysvipc/shmctl.c: Likewise.
58313         * sysvipc/shmdt.c: Likewise.
58314         * sysvipc/shmget.c: Likewise.
58315         * termios/tcdrain.c: Likewise.
58316         * termios/tcflow.c: Likewise.
58317         * termios/tcflush.c: Likewise.
58318         * termios/tcgetattr.c: Likewise.
58319         * termios/tcgetpgrp.c: Likewise.
58320         * termios/tcsendbrk.c: Likewise.
58321         * termios/tcsetattr.c: Likewise.
58322         * termios/tcsetpgrp.c: Likewise.
58323         * time/adjtime.c: Likewise.
58324         * time/clock.c: Likewise.
58325         * time/getitimer.c: Likewise.
58326         * time/gettimeofday.c: Likewise.
58327         * time/setitimer.c: Likewise.
58328         * time/settimeofday.c: Likewise.
58329         * time/stime.c: Likewise.
58330         * time/time.c: Likewise.
58332 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58334         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58335         /usr/old/bin.
58337         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58338         instead of spaces.
58339         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58341 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58343         [BZ #14796]
58344         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58345         FE_TONEAREST before applying Dekker multiplication and Knuth
58346         addition.  Clear inexact exceptions and check for exact zero
58347         results afterwards.
58348         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58349         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58350         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58351         * math/libm-test.inc (fma_test): Add more tests.
58352         (fma_test_towardzero): Likewise.
58353         (fma_test_downward): Likewise.
58354         (fma_test_upward): Likewise.
58355         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58356         function.
58357         (libc_fesetround): New macro.
58358         (libc_fesetroundf): Likewise.
58359         (libc_fesetroundl): Likewise.
58360         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58361         function.
58362         (libc_fesetround_387): Likewise.
58363         (libc_fesetroundf): New macro.
58364         (libc_fesetround): Likewise.
58365         (libc_fesetroundl): Likewise.
58366         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58367         function.
58368         (libc_fesetroundf): New macro.
58369         (libc_fesetround): Likewise.
58370         (libc_fesetroundl): Likewise.
58371         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58372         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58373         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58374         libm_hidden_ver.
58375         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58376         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58377         libm_hidden_def.
58378         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58379         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58380         libm_hidden_ver.
58381         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58382         libm_hidden_def.
58384         [BZ #3439]
58385         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58386         integer constant usable in #if and use that to give value to enum
58387         constant.
58388         (FE_DIVBYZERO): Likewise.
58389         (FE_UNDERFLOW): Likewise.
58390         (FE_OVERFLOW): Likewise.
58391         (FE_INVALID): Likewise.
58392         (FE_INVALID_SNAN): Likewise.
58393         (FE_INVALID_ISI): Likewise.
58394         (FE_INVALID_IDI): Likewise.
58395         (FE_INVALID_ZDZ): Likewise.
58396         (FE_INVALID_IMZ): Likewise.
58397         (FE_INVALID_COMPARE): Likewise.
58398         (FE_INVALID_SOFTWARE): Likewise.
58399         (FE_INVALID_SQRT): Likewise.
58400         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58401         (FE_TONEAREST): Likewise.
58402         (FE_TOWARDZERO): Likewise.
58403         (FE_UPWARD): Likewise.
58404         (FE_DOWNWARD): Likewise.
58405         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58406         (FE_DIVBYZERO): Likewise.
58407         (FE_OVERFLOW): Likewise.
58408         (FE_UNDERFLOW): Likewise.
58409         (FE_INEXACT): Likewise.
58410         (FE_TONEAREST): Likewise.
58411         (FE_DOWNWARD): Likewise.
58412         (FE_UPWARD): Likewise.
58413         (FE_TOWARDZERO): Likewise.
58414         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58415         (FE_UNDERFLOW): Likewise.
58416         (FE_OVERFLOW): Likewise.
58417         (FE_DIVBYZERO): Likewise.
58418         (FE_INVALID): Likewise.
58419         (FE_TONEAREST): Likewise.
58420         (FE_TOWARDZERO): Likewise.
58421         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58422         (FE_OVERFLOW): Likewise.
58423         (FE_UNDERFLOW): Likewise.
58424         (FE_DIVBYZERO): Likewise.
58425         (FE_INEXACT): Likewise.
58426         (FE_TONEAREST): Likewise.
58427         (FE_TOWARDZERO): Likewise.
58428         (FE_UPWARD): Likewise.
58429         (FE_DOWNWARD): Likewise.
58430         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58431         (FE_DIVBYZERO): Likewise.
58432         (FE_OVERFLOW): Likewise.
58433         (FE_UNDERFLOW): Likewise.
58434         (FE_INEXACT): Likewise.
58435         (FE_TONEAREST): Likewise.
58436         (FE_DOWNWARD): Likewise.
58437         (FE_UPWARD): Likewise.
58438         (FE_TOWARDZERO): Likewise.
58440 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58442         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58444 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58446         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58447         commands.  Quote $PWD.
58448         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58449         -x" by "export".
58450         (remove_newlines): Remove.
58452 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58454         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58455         * stdlib/stdlib.h (atof): Moved to ...
58456         * include/bits/stdlib-float.h: Here.  New file.
58457         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58458         * stdlib/bits/stdlib-float.h: New file.
58459         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58460         -mno-sse -mno-mmx.
58461         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58462         <xmmintrin.h>.
58464 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58466         * conform/conformtest.pl (@headers): Add fenv.h.
58467         * conform/data/fenv.h-data: New file.
58468         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58469         include of <math/fenv.h>.
58471         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58472         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58473         && !UNIX98].  Enables tests for XOPEN2K8.
58474         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58475         POSIX2008]: Likewise.
58477         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58478         (struct rusage): Do not expect type or its members.
58480         [BZ #3439]
58481         * math/math.h (FP_NAN): Define macro to integer constant usable in
58482         #if and use that to give value to enum constant.
58483         (FP_INFINITE): Likewise.
58484         (FP_ZERO): Likewise.
58485         (FP_SUBNORMAL): Likewise.
58486         (FP_NORMAL): Likewise.
58488 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58490         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58491         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58492         arguments.
58494 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58496         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58497         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58498         autoconf-time if not.
58499         * configure.in: Remove AC_PREREQ.
58501 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58503         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58504         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58505         of the internal implementation.
58507 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58509         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58510         except include of <misc/sys/syslog.h>.
58512 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58515         function returns with a NULL context exit with zero.
58517 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58519         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58521 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
58523         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58524         (run_program_cmd): This.
58525         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58526         (tst_langinfo): New variable.  Use it.
58528 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
58530         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58531         floating point opcodes.
58533 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58535         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58536         variable.
58538         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58540         * sysdeps/mach/hurd/powerpc: Remove directory.
58541         * sysdeps/mach/powerpc: Likewise.
58543 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58545         * scripts/check-local-headers.sh: Ignore c++ headers.
58547 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58549         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58550         __libc_cleanup_region_start argument.
58552 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58554         [BZ #14784]
58555         [BZ #14785]
58556         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58557         x * y using scaling, not as x * y + z.
58558         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58559         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58560         * math/libm-test.inc (fma_test): Add more tests.
58561         (fma_test_towardzero): Likewise.
58562         (fma_test_downward): Likewise.
58563         (fma_test_upward): Likewise.
58565 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58567         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58569 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58571         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58572         New variable.
58574 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58576         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58578 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58581         Fix sort order.
58582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58583         Likewise.
58585 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58588         Fix the order of the list for glibc 2.17.
58589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58590         Likewise.
58592 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58596 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58598         [BZ #14610]
58599         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58600         for low part of x being zero before using __atanl (y).
58601         * math/libm-test.inc (atan2_test): Add another test.
58603         * manual/install.texi (Configuring and compiling): Document
58604         general use of test-wrapper and test-wrapper-env.
58605         * INSTALL: Regenerated.
58607         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58608         (__fma): Do not extract and scale down low bits on after-rounding
58609         systems when result rounded to normal precision would have normal
58610         exponent.
58611         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58612         (__fmal): Do not extract and scale down low bits on after-rounding
58613         systems when result rounded to normal precision would have normal
58614         exponent.
58615         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58616         (__fmal): Do not extract and scale down low bits on after-rounding
58617         systems when result rounded to normal precision would have normal
58618         exponent.
58619         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58620         macro.
58621         (fma_test): Add more tests.
58622         (fma_test_towardzero): Likewise.
58623         (fma_test_downward): Likewise.
58624         (fma_test_upward): Likewise.
58626 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
58628         * sysdeps/i386/tininess.h: Renamed to ...
58629         * sysdeps/x86/tininess.h: This.
58630         * sysdeps/x86_64/tininess.h: Removed.
58632 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58634         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58635         input.  Use $(build-program-cmd).
58636         ($(objpfx)tst-array1-static.out): Likewise.
58637         ($(objpfx)tst-array2.out): Likewise.
58638         ($(objpfx)tst-array3.out): Likewise.
58639         ($(objpfx)tst-array4.out): Likewise.
58640         ($(objpfx)tst-array5.out): Likewise.
58641         ($(objpfx)tst-array5-static.out): Likewise.
58643 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
58645         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58646         if defined.
58648         * nss/nsswitch.h (nss_interface_function): Provide new
58649         macro for use with NSS functions.
58650         * grp/initgroups.c: Use new macro.
58651         * nss/getXXbyYY.c: Likewise.
58652         * nss/getXXbyYY_r.c: Likewise.
58653         * nss/getXXent.c: Likewise.
58654         * nss/getXXent_r.c: Likewise.
58655         * sysdeps/posix/getaddrinfo.c: Likewise.
58657 2012-10-30  Andreas Jaeger  <aj@suse.de>
58659         * po/ru.po: Update Russion translation from translation project.
58661 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58663         [BZ #14152]
58664         [BZ #14783]
58665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58666         result and shift together with sticky bit instead of replicating
58667         round-to-nearest rounding.
58668         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58669         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58670         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
58671         missing underflow exceptions.
58672         (fma_test_towardzero): Add more tests.
58673         (fma_test_downward): Likewise.
58674         (fma_test_upward): Likewise.
58676         [BZ #14047]
58677         * sysdeps/generic/tininess.h: New file.
58678         * sysdeps/i386/tininess.h: Likewise.
58679         * sysdeps/sh/tininess.h: Likewise.
58680         * sysdeps/x86_64/tininess.h: Likewise.
58681         * stdlib/tst-strtod-underflow.c: Likewise.
58682         * stdlib/tst-tininess.c: Likewise.
58683         * stdlib/strtod_l.c: Include <tininess.h>.
58684         (round_and_return): Do not set errno for exact underflow cases.
58685         Force an underflow exception when setting errno for underflow.
58686         Determine underflow based on rounding to normal precision if
58687         TININESS_AFTER_ROUNDING.
58688         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58689         ERANGE for exact underflow cases.
58690         * stdlib/Makefile (tests): Add tst-tininess and
58691         tst-strtod-underflow.
58692         ($(objpfx)tst-tininess): Use $(link-libm).
58693         ($(objpfx)tst-strtod-underflow): Likewise.
58695 2012-10-30  Andreas Jaeger  <aj@suse.de>
58697         [BZ#14767]
58698         * elf/Makefile (tests): Remove conditional for have-initfini-array
58699         since this is now always required and the variable does not exist
58700         anymore.
58701         (tests-static): Likewise.
58702         (modules-names): Likewise.
58704         * po/eo.po: Add Esperanto translation from translation project.
58706         * elf/tst-array1.c (fini_array): Make writeable so that it can be
58707         merged with constructor/destructor.
58708         (init_array): Likewise.
58709         * elf/tst-array2dep.c (fini_array): Likewise.
58710         (init_array): Likewise.
58712 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
58714         * manual/message.texi: Delete @cartouche tags.
58716 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
58718         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58719         EOPNOTSUPP.
58720         * sysdeps/mach/hurd/fsync.c: Likewise.
58722         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58723         [_POSIX_REALTIME_SIGNALS]: Change condition to
58724         [_POSIX_REALTIME_SIGNALS > 0].
58726 2012-10-27  Andreas Jaeger  <aj@suse.de>
58728         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58729         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58730         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58731         [__WORDSIZE != 64]: Likewise.
58733 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
58735         *  iconvdata/tst-table.sh: Remove ${SHELL}.
58736         *  iconvdata/tst-tables.sh: Likewise.
58738 2012-10-25  David S. Miller  <davem@davemloft.net>
58740         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58741         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58742         of strtoull.
58744         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58745         ifunc-impl-list.c
58746         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58747         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58748         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58749         file.
58751 2012-10-25  Roland McGrath  <roland@hack.frob.com>
58753         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58754         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58755         __getdirentries.
58757 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58758             Jim Blandy  <jimb@codesourcery.com>
58760         * scripts/cross-test-ssh.sh: New file.
58761         * manual/install.texi (Configuring and compiling): Document use of
58762         cross-test-ssh.sh.
58763         * INSTALL: Regenerated.
58765 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
58767         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58768         EOPNOTSUPP.
58770 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58772         * Makeconfig (run-program-prefix): Fix comment.
58774 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58775             Jim Blandy  <jimb@codesourcery.com>
58777         * Makeconfig (test-wrapper): New variable,
58778         (test-wrapper-env): Likewise.
58779         [$(cross-compiling) = yes && $(test-wrapper) != ""]
58780         (run-built-tests): Define to yes.
58781         (run-program-prefix): Use $(test-wrapper).
58782         (built-program-cmd): Likewise.
58783         * Rules (make-test-out): Use $(test-wrapper-env) and
58784         $(host-built-program-cmd).
58785         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58786         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58787         tst-pathopt.sh.
58788         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58789         $(test-wrapper-env) to tst-rtld-load-self.sh.
58790         ($(objpfx)order2.out): Use $(test-wrapper).
58791         ($(objpfx)tst-initorder.out): Likewise.
58792         ($(objpfx)tst-initorder2.out): Likewise.
58793         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58794         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58795         (test_wrapper_env): New variable.  Use it to run ld.so.
58796         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58797         Use it to run ld.so.
58798         (test_wrapper_env): Likewise.
58799         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58800         $(test-wrapper) to run-iconv-test.sh.
58801         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58802         (ICONV): Use $test_wrapper.
58803         * posix/Makefile ($(objpfx)globtest.out): Pass
58804         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
58805         globtest.sh, not $(run-program-prefix).
58806         * posix/globtest.sh (run_via_rtld_prefix): New variable.
58807         (test_wrapper): Likewise.
58808         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
58809         set together with run_via_rtld_prefix.
58810         (run_program_prefix): Define in terms of test_wrapper and
58811         run_via_rtld_prefix.
58813 2012-10-24  Roland McGrath  <roland@hack.frob.com>
58815         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58816         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58817         Targets removed.
58819         [BZ #14743]
58820         * include/time.h: Remove librt_hidden_proto (clock_gettime).
58821         Declare __clock_getres, __clock_gettime, __clock_settime,
58822         __clock_nanosleep, and __clock_getcpuclockid.
58823         * rt/clock_gettime.c: Define __clock_gettime as an alias.
58824         Remove librt_hidden_def (clock_gettime).
58825         * sysdeps/unix/clock_gettime.c: Likewise.
58826         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58827         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58828         * rt/clock_getres.c: Define __clock_getres as an alias.
58829         * sysdeps/posix/clock_getres.c: Likewise.
58830         * rt/clock_settime.c: Define __clock_settime as an alias.
58831         * sysdeps/unix/clock_settime.c: Likewise.
58832         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58833         * sysdeps/unix/clock_nanosleep.c: Likewise.
58834         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58835         * rt/clock-compat.c: New file.
58836         * rt/Makefile (librt-routines): Add clock-compat and move
58837         $(clock-routines) to ...
58838         (routines): ... here, new variable.
58839         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58840         Don't add get_clockfreq here.
58841         * rt/Versions (libc: GLIBC_2.17): New version set.
58842         Add clock_* symbols here.
58843         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
58844         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58845         (GLIBC_2.17): Add clock_* symbols.
58846         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58848         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58850         Likewise.
58851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58852         Likewise.
58853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58857         * NEWS: Mention the move.
58859         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58860         Use __open, __read, __close rather than their public counterparts.
58861         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58862         (__get_clockfreq_via_cpuinfo): Likewise.
58863         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58864         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58866         * config.h.in (HAVE_IFUNC): New #undef.
58867         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58868         was successful.
58869         * configure: Regenerated.
58871 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58873         * configure.in: Move READELF check to start of file.
58874         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58875         libc_cv_asm_gnu_indirect_function in the process.
58876         * configure: Regenerated.
58878 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58880         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58881         send the output to /dev/null.
58882         (libc_cv_cc_with_libunwind): Likewise.
58883         (libc_cv_as_noexecstack): Likewise.
58884         * configure: Regenerate.
58886 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58888         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58890         * posix/globtest.sh (TMPDIR): Do not set.
58891         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58892         (testout): Likewise.
58894 2012-10-24  Andreas Jaeger  <aj@suse.de>
58896         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58897         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58898         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58899         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58900         posix_fadvise64, posix_fallocate64.
58902         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58903         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58904         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58905         Likewise.
58906         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58907         Likewise.
58908         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58910         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58911         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58912         <bits/fcntl-linux.h>.
58913         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58915         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58916         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58917         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58918         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58919         [__WORDSIZE != 64]: Likewise.
58921 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58923         * Makeconfig (run-built-tests): New variable.
58924         * Rules [$(cross-compiling) = yes]: Change condition to
58925         [$(run-built-tests) = no].
58926         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58927         to [$(run-built-tests) = yes].
58928         * elf/Makefile [$(cross-compiling) = no]: Likewise.
58929         * grp/Makefile [$(cross-compiling) = no]: Likewise.
58930         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58931         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58932         * intl/Makefile [$(cross-compiling) = no]: Likewise.
58933         * io/Makefile [$(cross-compiling) = no]: Likewise.
58934         * libio/Makefile [$(cross-compiling) = no]: Likewise.
58935         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58936         * misc/Makefile [$(cross-compiling) = no]: Likewise.
58937         * posix/Makefile [$(cross-compiling) = no]: Likewise.
58938         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58939         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58940         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58941         * string/Makefile [$(cross-compiling) = no]: Likewise.
58943         * posix/Makefile ($(objpfx)globtest.out): Pass
58944         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58945         $(rtld-installed-name).
58946         * posix/globtest.sh (elf_objpfx): Remove variable.
58947         (rtld_installed_name): Likewise.
58948         (library_path): Likewise.
58949         (run_program_prefix): New variable.  Use for running globtest
58950         binary.
58952 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
58953             Joseph Myers  <joseph@codesourcery.com>
58955         * Makeconfig (host-built-program-cmd): New variable.
58956         * elf/Makefile (tst-stackguard1-ARGS): Use
58957         $(host-built-program-cmd).
58958         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58959         (tst-spawn-ARGS): Likewise.
58960         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58962 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58963             Jim Blandy  <jimb@codesourcery.com>
58965         * Makeconfig (run-via-rtld-prefix): New variable.
58966         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58967         (built-program-cmd): Likewise.
58969 2012-10-22  Andreas Jaeger  <aj@suse.de>
58971         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58972         __O_RSYNC if it exists, otherwise to O_SYNC.
58974 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
58975             Joseph Myers  <joseph@codesourcery.com>
58977         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
58978         /dev/null.
58979         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
58980         from /dev/null
58981         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
58982         /dev/null.
58984 2012-10-22  Andreas Jaeger  <aj@suse.de>
58986         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
58987         Define always.
58988         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
58990         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58991         bits/fcntl-linux.h.
58993         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
58994         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
58996         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
58997         to __O_LARGEFILE.
58998         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
58999         to __O_LARGEFILE.
59001 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59002             Joseph Myers  <joseph@codesourcery.com>
59004         * config.make.in (NM): New variable.
59006 2012-10-21  Andreas Jaeger  <aj@suse.de>
59008         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59009         definitions and declarations that are provided by
59010         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59012 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59014         [BZ #14683]
59015         * elf/Makefile (tests-static): Add tst-leaks1-static.
59016         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59017         ($(objpfx)tst-leaks1-static): New rule.
59018         ($(objpfx)tst-leaks1-static-mem): Likewise.
59019         (tst-leaks1-static-ENV): New macro.
59020         * elf/dl-open.c (dl_open_worker): Check the main application
59021         only if SHARED is defined.
59022         * elf/tst-leaks1-static.c: New file.
59024 2012-10-20  Andreas Jaeger  <aj@suse.de>
59026         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59027         generic values for Linux.
59028         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59029         and declarations that are provided by <bits/fcntl-linux.h> and
59030         include <bits/fcntl-linux.h>.
59031         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59032         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59034 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59036         * io/fcntl.h: Move include of <bits/types.h> to the top and
59037         include it unconditionally.
59039 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59041         * wcsmbs/Makefile (tests-ifunc): New variable.
59042         (tests): Add $(tests-ifunc).
59043         * wcsmbs/test-wcschr-ifunc.c: New file.
59044         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59045         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59046         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59047         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59048         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59050         * string/Makefile (tests-ifunc): New variable.
59051         (tests): Add $(tests-ifunc).
59052         * string/test-memccpy.c (TEST_NAME): New macro.
59053         * string/test-memchr.c (TEST_NAME): Likewise.
59054         * string/test-memcmp.c (TEST_NAME): Likewise.
59055         * string/test-memcpy.c (TEST_NAME): Likewise.
59056         * string/test-memmem.c (TEST_NAME): Likewise.
59057         * string/test-memmove.c (TEST_NAME): Likewise.
59058         * string/test-memset.c (TEST_NAME): Likewise.
59059         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59060         * string/test-stpcpy.c (TEST_NAME): Likewise.
59061         * string/test-stpncpy.c (TEST_NAME): Likewise.
59062         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59063         * string/test-strcasestr.c (TEST_NAME): Likewise.
59064         * string/test-strcat.c (TEST_NAME): Likewise.
59065         * string/test-strchr.c (TEST_NAME): Likewise.
59066         * string/test-strcmp.c(TEST_NAME): Likewise.
59067         * string/test-strcpy.c (TEST_NAME): Likewise.
59068         * string/test-strcspn.c (TEST_NAME): Likewise.
59069         * string/test-strlen.c (TEST_NAME): Likewise.
59070         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59071         * string/test-strncmp.c (TEST_NAME): Likewise.
59072         * string/test-strncpy.c (TEST_NAME): Likewise.
59073         * string/test-strnlen.c (TEST_NAME): Likewise.
59074         * string/test-strpbrk.c (TEST_NAME): Likewise.
59075         * string/test-strrchr.c (TEST_NAME): Likewise.
59076         * string/test-strspn.c (TEST_NAME): Likewise.
59077         * string/test-strstr.c (TEST_NAME): Likewise.
59078         * string/test-bcopy-ifunc.c: New file.
59079         * string/test-bzero-ifunc.c: Likewise.
59080         * string/test-memccpy-ifunc.c: Likewise.
59081         * string/test-memchr-ifunc.c: Likewise.
59082         * string/test-memcmp-ifunc.c: Likewise.
59083         * string/test-memcpy-ifunc.c: Likewise.
59084         * string/test-memmem-ifunc.c: Likewise.
59085         * string/test-memmove-ifunc.c: Likewise.
59086         * string/test-mempcpy-ifunc.c: Likewise.
59087         * string/test-memset-ifunc.c: Likewise.
59088         * string/test-rawmemchr-ifunc.c: Likewise.
59089         * string/test-stpcpy-ifunc.c: Likewise.
59090         * string/test-stpncpy-ifunc.c: Likewise.
59091         * string/test-strcasecmp-ifunc.c: Likewise.
59092         * string/test-strcasestr-ifunc.c: Likewise.
59093         * string/test-strcat-ifunc.c: Likewise.
59094         * string/test-strchr-ifunc.c: Likewise.
59095         * string/test-strchrnul-ifunc.c: Likewise.
59096         * string/test-strcmp-ifunc.c: Likewise.
59097         * string/test-strcpy-ifunc.c: Likewise.
59098         * string/test-strcspn-ifunc.c: Likewise.
59099         * string/test-strlen-ifunc.c: Likewise.
59100         * string/test-strncasecmp-ifunc.c: Likewise.
59101         * string/test-strncat-ifunc.c: Likewise.
59102         * string/test-strncmp-ifunc.c: Likewise.
59103         * string/test-strncpy-ifunc.c: Likewise.
59104         * string/test-strnlen-ifunc.c: Likewise.
59105         * string/test-strpbrk-ifunc.c: Likewise.
59106         * string/test-strrchr-ifunc.c: Likewise.
59107         * string/test-strspn-ifunc.c: Likewise.
59108         * string/test-strstr-ifunc.c: Likewise.
59110         * debug/Makefile (tests-ifunc): New variable.
59111         (tests): Add $(tests-ifunc).
59112         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59113         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59114         * debug/test-stpcpy_chk-ifunc.c: New file.
59115         * debug/test-strcpy_chk-ifunc.c: Likewise.
59117 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59119         [BZ #13601]
59120         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59121         header is not read in.
59123 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59125         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59126         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59127         directly.  Pass built executable to script as
59128         $(built-program-cmd).
59129         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59130         $testprogram without using LD_LIBRARY_PATH and $ldso.
59132         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59133         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59134         $(rtld-installed-name).
59135         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59136         (rtld_installed_name): Likewise.
59137         (library_path): Likewise.
59138         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59139         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59140         $(run-program-prefix) to tst-tables.sh.
59141         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59142         it to run tst-table-from and tst-table-to.
59143         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59144         Pass it to tst-table.sh.
59145         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59146         $(run-program-prefix) to tst-gettext.sh.
59147         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59148         tst-translit.sh.
59149         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59150         tst-gettext2.sh.
59151         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59152         to run tst-gettext.
59153         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59154         to run tst-gettext2.
59155         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59156         to run tst-translit.
59157         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59158         $(run-program-prefix) to tst-mtrace.sh.
59159         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59160         to run tst-mtrace.
59161         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59162         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59163         $(rtld-installed-name).
59164         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59165         (rtld_installed_name): Likewise.
59166         (run_program_prefix): New variable.  Use it to run wordexp-test.
59168         * Makeconfig (ARCH): Remove all definitions.
59169         (machine): Likewise.
59170         [ARCH]: Remove conditional code.
59171         [!objdir]: Give error.
59172         [!objdir] (objpfx): Remove.
59173         [!objdir] (common-objpfx): Likewise.
59174         [!objdir] (common-objdir): Likewise.
59175         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59176         AC_CONFIG_FILES call.
59177         * configure: Regenerated.
59179         [BZ #13888]
59180         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59181         or TMPDIR.
59182         (testout): Likewise.
59184         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59185         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59186         $(rtld-installed-name).
59187         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59188         (rtld_installed_name): Likwise.
59189         (runit): Remove function.
59190         (run_getconf): New variable,  Use it for running getconf binary.
59192 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59194         [BZ #14716]
59195         * string/test-memmem.c (check_result): New function.
59196         (do_one_test): Use it.
59197         (check1): New function.
59198         (test_main): Use it.
59200 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59202         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59204 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59206         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59207         (_G_LSEEK64): Likewise.
59208         (_G_MMAP64): Likewise.
59209         (_G_FSTAT64): Likewise.
59210         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59211         (_G_LSEEK64): Likewise.
59212         (_G_MMAP64): Likewise.
59213         (_G_FSTAT64): Likewise.
59214         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59215         unconditional.  Call __mmap64 directly.
59216         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59217         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59218         __lseek64 directly.
59219         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59220         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59221         __mmap64 directly.
59222         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59223         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59224         __lseek64 directly.
59225         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59226         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59227         __lseek64 directly.
59228         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59229         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59230         __lseek64 directly.
59231         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59232         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59233         __fxstat64 directly.
59234         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59235         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59236         unconditional.
59237         (freopen64) [!_G_OPEN64]: Remove conditional code.
59238         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59239         unconditional.
59240         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59241         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59242         unconditional.
59243         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59244         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59245         unconditional.
59246         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59247         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59248         unconditional.
59249         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59250         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59251         unconditional.
59252         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59253         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59254         unconditional.
59255         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59256         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59257         unconditional.
59258         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59260 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59262         [BZ #12140]
59263         * manual/memory.texi (Malloc Tunable Parameters): Add note
59264         about free list pointers overwriting some perturb bytes.
59265         Wording suggested by Roland McGrath.
59267 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59269         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59270         (lgamma_test): Likewise.
59271         (tgamma_test): Likewise.
59273 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59275         [BZ #14700]
59276         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59277         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59279 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59281         * NEWS: Mention BZ #14716.
59282         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59283         when removing AVAILABLE1_USES_J macro.
59285 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59287         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59288         (__bswap_64): __uint64_t for unsigned 64-bit int.
59290 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59292         * include/string.h (memmem): Declare libc hidden alias.
59293         * string/memmem.c (memmem): Define libc hidden alias.
59294         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59295         __read, __close instead of open, read, close.
59297 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59299         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59300         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59301         global and hidden.
59302         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59303         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59304         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59305         Likewise.
59306         (__rawmemchr_sse2): Likewise.
59307         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59308         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59309         (__strchr_sse2): Likewise.
59310         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59311         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59312         (__strcasecmp_sse2): Likewise.
59313         (__strncasecmp_sse2): Likewise.
59314         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59315         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59316         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59317         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59318         (__strrchr_sse2): Likewise.
59319         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59320         ifunc-impl-list.c.
59321         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59322         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59323         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59324         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59325         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59326         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59327         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59328         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59329         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59330         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59331         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59332         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59333         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59334         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59335         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59336         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59337         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59338         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59339         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59340         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59341         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59342         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59343         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59344         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59345         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59346         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59347         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59348         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59349         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59350         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59352         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59353         global and hidden.
59354         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59355         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59356         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59357         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59358         Likewise.
59359         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59360         Likewise.
59361         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59362         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59363         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59364         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59365         ifunc-impl-list.c.
59366         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59367         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59368         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59369         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59370         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59371         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59372         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59373         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59374         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59375         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59376         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59377         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59378         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59379         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59380         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59381         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59382         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59383         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59384         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59385         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59386         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59387         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59388         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59389         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59390         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59391         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59392         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59393         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59394         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59395         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59396         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59397         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59398         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59399         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59400         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59401         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59402         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59403         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59404         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59405         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59406         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59408         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59409         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59410         * include/ifunc-impl-list.h: New file.
59411         * misc/ifunc-impl-list.c: Likewise.
59412         * misc/Makefile (routines): Add ifunc-impl-list.
59413         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59414         * string/test-string.h: Include <ifunc-impl-list.h>.
59415         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59416         TEST_NAME]: New variables.
59417         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59418         are defined.
59419         (test_init): Call __libc_ifunc_impl_list to initialize
59420         func_list if TEST_IFUNC and TEST_NAME are defined.
59422         * string/Makefile (strop-tests): Add bcopy and bzero.
59423         * string/test-bcopy.c: New file.
59424         * string/test-bzero.c: Likewise.
59425         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59426         defined.
59427         * string/test-memset.c: Support bzero test if TEST_BZERO is
59428         defined.
59429         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59430         __libc_memmove.
59431         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59432         __libc_memset.
59433         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59434         of memset.
59436 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59438         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59439         * configure: Regenerated.
59441         * Makeconfig (+link-static-before-libc): Don't include
59442         $(link-static-libc).
59444         * libio/libio.h (_IO_pos_t): Remove.
59446 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59448         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59449         McGrath.
59451 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59453         * crypt/crypt-entry.c: Include fips-private.h.
59454         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59455         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59456         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59457         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59459 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59461         * crypt/crypt-private.h: Include stdbool.h.
59462         (_ufc_setup_salt_r): Return bool.
59463         * crypt/crypt-entry.c: Include errno.h.
59464         (__crypt_r): Return NULL with EINVAL for bad salt.
59465         * crypt/crypt_util.c (bad_for_salt): New.
59466         (_ufc_setup_salt_r): Check that salt is long enough and within
59467         the specified alphabet.
59468         * crypt/badsalttest.c: New file.
59469         * crypt/Makefile (tests): Add it.
59470         ($(objpfx)badsalttest): New.
59472 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59474         * NEWS: Add entry for BZ #14602.
59476 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59478         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59479         type-generic.
59480         * math/libm-test.inc: Update comment listing what functions and
59481         macros are tested.
59482         (isgreater_test): New function.
59483         (isgreaterequal_test): Likewise.
59484         (isless_test): Likewise.
59485         (islessequal_test): Likewise.
59486         (islessgreater_test): Likewise.
59487         (isunordered_test): Likewise.
59488         (main): Call the new functions.
59490 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59492         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59493         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59494         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59495         * sysdeps/i386/configure: Regenerated.
59496         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59497         * sysdeps/mach/configure: Regenerated.
59498         * sysdeps/mach/hurd/configure: Regenerated.
59499         * sysdeps/powerpc/configure: Regenerated.
59500         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59501         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59502         * sysdeps/s390/s390-32/configure: Regenerated.
59503         * sysdeps/s390/s390-64/configure: Regenerated.
59504         * sysdeps/sh/configure: Regenerated.
59505         * sysdeps/sparc/configure: Regenerated.
59506         * sysdeps/unix/sysv/linux/configure: Regenerated.
59507         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59508         * sysdeps/x86_64/configure: Regenerated.
59510         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59511         defined.  Don't check if MAP is NULL.
59513 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59515         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59516         (_G_stat64): Likewise.
59517         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59518         (_G_stat64): Likewise.
59519         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59520         instead of struct _G_stat64.
59521         * libio/fileops.c (mmap_remap_check): Likewise.
59522         (decide_maybe_mmap): Likewise.
59523         (_IO_new_file_seekoff): Likewise.
59524         (_IO_file_stat): Likewise.
59525         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59526         _G_off64_t.
59527         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59528         instead of struct _G_stat64.
59529         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59531 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
59533         [BZ #14602]
59534         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59535         Replace with ...
59536         (CHECK_EOL): New macro.
59537         (two_way_short_needle): Check beginning of haystack for EOL.  Use
59538         CHECK_EOL.
59539         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59540         Replace with CHECK_EOL.
59541         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59542         Replace with CHECK_EOL.
59544 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59546         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59547         type-generic.
59548         * math/libm-test.inc: Update comment listing what functions and
59549         macros are tested.
59550         (finite_test): New function.
59551         (isinf_test): Likewise.
59552         (isnan_test): Likewise.
59553         (fpclassify_test): Test subnormal input.
59554         (isfinite_test): Likewise.
59555         (isnormal_test): Likewise.
59556         (main): Call the new functions.
59558 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59560         [BZ #14660]
59561         * Makerules (%.dynsym): Force C locale when running
59562         $(OBJDUMP) --dynamic-syms.
59564 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59566         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59567         <stdint.h>.
59569 2012-10-06  David S. Miller  <davem@davemloft.net>
59571         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59572         upper 32-bits of the length value in %o2 since we use branch-on-register
59573         tests which consider the entire 64-bit register.
59575 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59577         * string/test-strstr.c (check2): Add a test for page boundary.
59579 2012-10-05  David S. Miller  <davem@davemloft.net>
59581         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59582         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59583         file.
59584         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59585         sysdep_routines.
59586         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59587         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59588         and bzero when HWCAP_SPARC_CRYPTO is present.
59590 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59592         [BZ #14602]
59593         * string/test-strstr.c (check2): New function.
59594         (test_main): Call check2.
59596         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59597         and bug-strchr1.
59598         * string/bug-strcasestr1.c (do_test): Moved to ...
59599         * string/test-strcasestr.c (check1): Here.  New function.
59600         (do_one_test): Break out result checking code into ...
59601         (check_result): This.  New function.
59602         (do_one_test): Call check_result.
59603         (test_main): Call check1.
59604         * string/bug-strchr1.c (do_test): Moved to ...
59605         * string/test-strchr.c (check1): Here.  New function.
59606         (do_one_test): Break out result checking code into ...
59607         (check_result): This.  New function.
59608         (do_one_test): Call check_result.
59609         (test_main): Call check1.
59610         * string/bug-strstr1.c (main): Moved to ...
59611         * string/test-strstr.c (check1): Here.  New function.
59612         (do_one_test): Break out result checking code into ...
59613         (check_result): This.  New function.
59614         (do_one_test): Call check_result.
59615         (test_main): Call check1.
59616         * string/bug-strcasestr1.c: Removed.
59617         * string/bug-strchr1.c: Likewise.
59618         * string/bug-strstr1.c: Likewise.
59620         * elf/Makefile (dl-routines): Add hwcaps.
59621         * elf/dl-support.c (_dl_important_hwcaps): Removed.
59622         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59623         (_dl_important_hwcaps): Moved to ...
59624         * elf/dl-hwcaps.c: Here.  New file.
59625         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59627         [BZ #14557]
59628         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59629         if IS_IN_rtld isn't defined.
59631         * elf/dl-support.c (_dl_sysinfo_map): New.
59632         Include "get-dynamic-info.h" and "setup-vdso.h".
59633         (_dl_non_dynamic_init): Call setup_vdso.
59634         * elf/dynamic-link.h: Don't include <assert.h>.
59635         (elf_get_dynamic_info): Moved to ...
59636         * elf/get-dynamic-info.h: Here.  New file.
59637         * elf/dynamic-link.h: Include "get-dynamic-info.h".
59638         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59639         * elf/setup-vdso.h: Here.  New file.
59640         * elf/rtld.c: Include "setup-vdso.h".
59641         (dl_main): Call setup_vdso.
59643 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
59645         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59646         creal in comment listing functions tested.  List finite, isinf,
59647         isnan, isless, islessequal, isgreater, isgreaterequal,
59648         islessgreater, isunordered, lgamma_r and pow10 as functions and
59649         macros not tested.  Mention which functions not tested are aliases
59650         for other functions.  Fix typo.  Note that signs of NaNs are not
59651         tested.
59653         * scripts/config.guess: Update from config.git.
59654         * scripts/config.sub: Likewise.
59656 2012-10-04  Roland McGrath  <roland@hack.frob.com>
59658         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59659         * misc/madvise.c (madvise): Renamed to __madvise.
59660         Make madvise a weak alias.
59661         * include/sys/mman.h: Declare __madvise.
59662         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59663         * sysdeps/unix/syscalls.list
59664         (madvise): Make __madvise the strong name, and madvise a weak alias.
59665         * sysdeps/unix/sysv/linux/syscalls.list
59666         (madvise, mmap): Remove redundant entries.
59667         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59668         * malloc/malloc.c (mtrim): Likewise.
59669         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59671 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59673         * sysdeps/mach/hurd/dl-cache.c: File removed.
59674         * config.h.in (USE_LDCONFIG): New #undef.
59675         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59676         * configure: Regenerated.
59677         * elf/Makefile (dl-routines): Add dl-cache only under
59678         [$(use-ldconfig) = yes].
59679         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59680         cache on [USE_LDCONFIG].
59681         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59682         [USE_LDCONFIG].
59683         * elf/rtld.c (dl_main): Likewise.
59685 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
59687         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59688         _SC_LEVEL4_CACHE_LINESIZE.
59690 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59692         * sysdeps/unix/bsd/confstr.h: File removed.
59694 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
59696         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59697         sys/sdt-config.h.
59699 2012-10-02  Roland McGrath  <roland@hack.frob.com>
59701         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59702         Make 'mapoff' field ElfW(Off) rather than off_t.
59704 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
59706         * nscd/Makefile: Remove nscd-cflags and all its users.
59707         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59708         (CFLAGS-nonlib): Add compiler flags for nscd modules.
59710         [BZ #10631]
59711         * malloc.c (malloc_printerr): Clarify error message.
59713 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
59715         [BZ #14648]
59716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59717         Set bit_FMA_Usable if FMA is supported.
59718         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59719         macro.
59720         (bit_FMA4_Usable): Updated.
59721         (index_FMA_Usable): New macro.
59722         (CPUID_FMA): Likewise.
59723         (HAS_FMA): Defined with bit_FMA_Usable.
59725 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59727         * bits/types.h (__swblk_t): Type removed.
59728         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59729         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59730         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59731         (__SWBLK_T_TYPE): Likewise.
59732         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59733         (__SWBLK_T_TYPE): Likewise.
59734         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59735         (__SWBLK_T_TYPE): Likewise.
59736         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59737         (__SWBLK_T_TYPE): Likewise.
59739 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
59740             Honza Horak <hhorak@redhat.com>
59742         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59743         (xdr_mapname): Use YPMAXMAP as maxsize.
59744         (xdr_peername): Use YPMAXPEER as maxsize.
59745         (xdr_keydat): Use YPAXRECORD as maxsize.
59746         (xdr_valdat): Use YPMAXRECORD as maxsize.
59748 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59750         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59752         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59753         * csu/init-first.c: ... here.
59754         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59755         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59756         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59757         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59758         * sysdeps/i386/init-first.c: File removed.
59759         * sysdeps/sh/init-first.c: File removed.
59761 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
59763         [BZ #14645]
59764         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59765         if x * y might underflow to zero and z is zero.
59766         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59767         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59768         * math/libm-test.inc (min_subnorm_value): New variable.
59769         (fma_test): Add more tests.
59770         (fma_test_towardzero): Likewise.
59771         (fma_test_downward): Likewise.
59772         (fma_test_upward): Likewise.
59773         (initialize): Set min_subnorm_value.
59775 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
59777         [BZ #14638]
59778         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59779         0 + 0.
59780         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59781         mode for addition resulting in exact zero.
59782         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59784         exact 0 + 0.
59785         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59786         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59787         * math/libm-test.inc (fma_test): Add more tests.
59788         (fma_test_towardzero): New function.
59789         (fma_test_downward): Likewise.
59790         (fma_test_upward): Likewise.
59791         (main): Call the new functions.
59793 2012-09-28  David S. Miller  <davem@davemloft.net>
59795         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59797 2012-09-28  Roland McGrath  <roland@hack.frob.com>
59799         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59800         instead of SIGALRM.
59802         * sysdeps/gnu/_G_config.h: Moved to ...
59803         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
59804         * sysdeps/mach/hurd/_G_config.h: Moved to ...
59805         * sysdeps/generic/_G_config.h: ... here.
59807         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
59809         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
59811         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
59812         Conditionalize target on [libnss_test1.so-version].
59814         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59816         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59817         (elfobjdir): Move out of conditionals.
59819         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59820         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59821         (__nss_lookup_function): Conditionalize label remove_from_tree on
59822         [!DO_STATIC_NSS || SHARED], matching its only use.
59824 2012-09-28  David S. Miller  <davem@davemloft.net>
59826         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59827         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59828         file.
59829         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59830         sysdep_routines.
59831         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59832         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59833         when HWCAP_SPARC_CRYPTO is present.
59835 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59837         * io/tst-mknodat.c: Create a FIFO instead of a socket.
59839 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
59841         [BZ #6530]
59842         * stdio-common/vfprintf.c (process_string_arg): Revert
59843         2000-07-22 change.
59845 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
59847         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59848         for testcase.
59849         * stdio-common/tst-sprintf.c: Include <locale.h>
59850         (main): Test sprintf's handling of incomplete multibyte
59851         characters.
59853 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
59855         * elf/dl-runtime.c (VERSYMIDX): Removed.
59856         * elf/dl-version.c (VERSYMIDX): Likewise.
59857         * elf/do-rel.h (VERSYMIDX): Likewise.
59858         (VALIDX): Likewise.
59859         * elf/dynamic-link.h (VERSYMIDX): Likewise.
59860         * elf/rtld.c (VALIDX): Likewise.
59861         (ADDRIDX): Likewise.
59862         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59863         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59864         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59865         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59866         (VALIDX): Likewise.
59867         (ADDRIDX): Likewise.
59869 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59871         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59873 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
59875         [BZ #11438]
59876         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59877         to global scope.
59878         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59879         addresses are in the same scope as 192.0.2/24.
59880         * posix/gai.conf: Document new scope table defaults.
59882 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59884         [BZ #5298]
59885         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59886         for ftell.  Compute offsets from write pointers instead.
59887         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59889 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59891         [BZ #14543]
59892         * libio/Makefile (tests): New test case tst-fseek.
59893         * libio/tst-fseek.c: New test case to verify that fseek/ftell
59894         combination works in wide mode.
59895         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59896         state when the external buffer state changes.
59898 2012-09-27  David S. Miller  <davem@davemloft.net>
59900         [BZ #14376]
59901         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59902         pass reloc->r_addend in as the 'high' argument to
59903         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59907 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59909         * rt/tst-aio2.c: Include <pthread.h>.
59910         * rt/tst-aio3.c: Likewise.
59912 2012-09-27  Steve Ellcey  <sellcey@mips.com>
59914         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59916 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
59918         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59919         contents on [SHARED].
59921 2012-09-26  Marek Polacek  <polacek@redhat.com>
59923         [BZ #14530]
59924         [BZ #13741]
59925         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59926         for C++ and GCC <4.3 as well as for non GCC compilers.
59928 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59932 2012-09-25  Roland McGrath  <roland@hack.frob.com>
59934         * Makefile.in (all, install): Declare with .PHONY.
59935         Reported by Michael Hope <michael.hope@linaro.org>.
59937 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59939         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59940         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59941         system header.
59942         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59943         Likewise.
59944         (sydep_routines): Add the new and the internal functions.
59945         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59946         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59948         (GLIBC_2.17): Add the new function.
59949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59950         (GLIBC_2.17): Likewise.
59951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59952         (GLIBC_2.17): Likewise.
59953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59954         (GLIBC_2.17): Likewise.
59955         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59957 2012-09-25  Alan Modra  <amodra@gmail.com>
59959         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59960         Add release barrier before setting once_control to say
59961         initialisation is done.  Add hints on lwarx.  Use macro in
59962         place of isync.
59963         (clear_once_control): Add release barrier.
59965 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59967         [BZ #13629]
59968         * math/s_clog.c (__clog): Handle more values close to |z| = 1
59969         specially.
59970         * math/s_clog10.c (__clog10): Likewise.
59971         * math/s_clog10f.c (__clog10f): Likewise.
59972         * math/s_clog10l.c (__clog10l): Likewise.
59973         * math/s_clogf.c (__clogf): Likewise.
59974         * math/s_clogl.c (__clogl): Likewise.
59975         * math/Makefile (libm-calls): Add x2y2m1.
59976         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
59977         (__x2y2m1): Likewise.
59978         (__x2y2m1l): Likewise.
59979         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
59980         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
59981         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
59982         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59983         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
59984         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
59985         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
59986         * sysdeps/i386/fpu/libm-test-ulps: Update.
59987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59989         [BZ #14621]
59990         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
59991         int as type of variable DEPTH.
59992         (glob): Use size_t instead of int as type of variables NEWCOUNT
59993         and OLD_PATHC.
59995 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59997         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59998         Add s_sincosf-sse2.
59999         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60000         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60001         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60002         macros for using routine as __sincosf_ia32.
60003         Use macro for function declaration and weak_alias.
60004         * sysdeps/i386/fpu/libm-test-ulps: Update.
60006         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60009         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60010         subnormal argument.
60011         * math/s_cexpf.c (__cexpf): Likewise.
60012         * math/s_csinf.c (__csinf): Likewise.
60013         * math/s_csinhf.c (__csinhf): Likewise.
60014         * math/s_ctanf.c (__ctanf): Likewise.
60015         * math/s_ctanhf.c (__ctanhf): Likewise.
60016         * math/s_ccosh.c (__ccoshf): Likewise.
60017         * math/s_cexp.c (__cexpl): Likewise.
60018         * math/s_csin.c (__csin): Likewise.
60019         * math/s_csinh.c (__csinh): Likewise.
60020         * math/s_ctan.c (__ctan): Likewise.
60021         * math/s_ctanh.c (ctanh): Likewise.
60022         * math/s_ccoshl.c (__ccoshl): Likewise.
60023         * math/s_cexpl.c (__cexpl): Likewise.
60024         * math/s_csinl.c (__csinl): Likewise.
60025         * math/s_csinhl.c (__csinhl): Likewise.
60026         * math/s_ctanl.c (__ctanl): Likewise.
60027         * math/s_ctanhl.c (__ctanhl): Likewise.
60029 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60031         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60032         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60033         (_IO_off_t): Define to __off_t, not _G_off_t.
60034         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60035         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60036         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60037         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60038         type of __dummy and __dummy2 fields.
60039         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60040         (_G_ssize_t): Likewise.
60041         (_G_off_t): Likewise.
60042         (_G_pid_t): Likewise.
60043         (_G_uid_t): Likewise.
60044         (_G_wchar_t): Likewise.
60045         (_G_wint_t): Likewise.
60046         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60047         (_G_ssize_t): Likewise.
60048         (_G_off_t): Likewise.
60049         (_G_pid_t): Likewise.
60050         (_G_uid_t): Likewise.
60051         (_G_wchar_t): Likewise.
60052         (_G_wint_t): Likewise.
60053         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60054         (_G_ssize_t): Likewise.
60055         (_G_off_t): Likewise.
60056         (_G_pid_t): Likewise.
60057         (_G_uid_t): Likewise.
60058         (_G_wchar_t): Likewise.
60059         (_G_wint_t): Likewise.
60061 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60063         * malloc/arena.c: Include malloc-sysdep.h.
60064         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60065         is sufficient to shrink the heap or an unmap is needed.
60066         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60067         new function check_may_shrink_heap.
60068         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60069         new function check_may_shrink_heap.
60071 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60073         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60074         comments.
60076 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60078         * catgets/test-gencat.sh: Add "set -e".
60079         * elf/tst-pathopt.sh: Likewise.
60080         * grp/tst_fgetgrent.sh: Likewise.
60081         * iconvdata/run-iconv-test.sh: Likewise.
60082         * intl/tst-gettext.sh: Likewise.
60083         * intl/tst-gettext2.sh: Likewise.
60084         * intl/tst-gettext4.sh: Likewise.
60085         * intl/tst-gettext6.sh: Likewise.
60086         * intl/tst-translit.sh: Likewise.
60087         * io/ftwtest-sh: Likewise.
60088         * libio/test-freopen.sh: Likewise.
60089         * malloc/tst-mtrace.sh: Likewise.
60090         * posix/globtest.sh: Likewise.
60091         * posix/tst-getconf.sh: Likewise.
60092         * posix/wordexp-tst.sh: Likewise.
60093         * stdio-common/tst-printf.sh: Likewise.
60094         * stdio-common/tst-unbputc.sh: Likewise.
60095         * stdlib/tst-fmtmsg.sh: Likewise.
60096         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60097         * catgets/Makefile: Do not specify -e option when running
60098         testsuite shell scripts.
60099         * elf/Makefile: Likewise.
60100         * grp/Makefile: Likewise.
60101         * iconvdata/Makefile: Likewise.
60102         * intl/Makefile: Likewise.
60103         * io/Makefile: Likewise.
60104         * libio/Makefile: Likewise.
60105         * malloc/Makefile: Likewise.
60106         * posix/Makefile: Likewise.
60107         * stdio-common/Makefile: Likewise.
60108         * stdlib/Makefile: Likewise.
60109         * sysdeps/x86_64/Makefile: Likewise.
60111         * io/ftwtest-sh: Add copyright header.
60112         * posix/globtest.sh: Likewise.
60113         * posix/tst-getconf.sh: Likewise.
60114         * posix/wordexp-tst.sh: Likewise.
60115         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60117 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60119         [BZ #13679]
60120         * Makeconfig (+link): Defined as $(+link-static) if
60121         $(build-shared) isn't yes.
60122         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60123         isn't yes.
60124         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60126         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60128         [BZ #14562]
60129         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60130         new chunk size with MALLOC_ALIGN_MASK.
60132 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60134         [BZ #5044]
60135         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60136         <rounding-mode.h>.
60137         (__printf_fphex): Determine rounding using get_rounding_mode and
60138         round_away.
60139         * stdio-common/tst-printf-round.c (struct hex_test): New
60140         structure.
60141         (hex_tests): New variable.
60142         (test_hex_in_one_mode): New function.
60143         (do_test): Also run tests for hex float output.
60145 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60147         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60148         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60149         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60150         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60151         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60152         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60153         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60154         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60156 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60158         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60159         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60160         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60161         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60163 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60165         [BZ #14579]
60166         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60167         mode only.
60168         * elf/tst-rtld-load-self.sh: New test.
60169         * elf/Makefile: Run it.
60171 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60173         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60174         (tst-writev-ENV): Remove.
60175         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60177 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60179         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60181 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60183         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60184         unconditional.
60185         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60186         Likewise.
60187         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60188         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60189         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60190         Likewise.
60192 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60194         [BZ #14587]
60195         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60196         * config.make.in (have-cpp-asm-debuginfo): Removed.
60197         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60198         * configure: Regenerated.
60200 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60202         [BZ #5044]
60203         * stdio-common/printf_fp.c: Include <stdbool.h> and
60204         <rounding-mode.h>.
60205         (___printf_fp): Determine rounding using get_rounding_mode and
60206         round_away.
60207         * stdio-common/tst-printf-round.c: New file.
60208         * stdio-common/Makefile (tests): Add tst-printf-round.
60209         (link-libm): New variable.
60210         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60212 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60214         [BZ #14576]
60215         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60216         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60217         Likewise.
60218         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60219         Likewise.
60221 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60223         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60224         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60225         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60226         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60228 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60230         [BZ #14518]
60231         * include/rounding-mode.h: New file.
60232         * sysdeps/generic/get-rounding-mode.h: Likewise.
60233         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60234         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60235         (MAX_VALUE): New macro.
60236         (MIN_VALUE): Likewise.
60237         (overflow_value): New function.
60238         (underflow_value): Likewise.
60239         (round_and_return): Use overflow_value and underflow_value to
60240         determine return values in overflow and underflow cases.  Use
60241         round_away to determine rounding depending on rounding mode.
60242         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60243         determine return values in overflow and underflow cases.
60244         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60245         (struct test_results): New structure.
60246         (struct test): Use struct test_results to store expected results
60247         for all rounding modes.
60248         (TEST): Include expected results for all rounding modes.
60249         (test_in_one_mode): New function.
60250         (do_test): Use test_in_one_mode to compute and check results.
60251         Check results for all rounding modes.
60252         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60253         $(link-libm).
60255 2012-12-09  Allan McRae  <allan@archlinux.org>
60257         * sysdeps/i386/fpu/libm-test-ulps: Update
60259 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60261         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60262         (_G_int32_t): Likewise.
60263         (_G_uint16_t): Likewise.
60264         (_G_uint32_t): Likewise.
60265         (_G_HAVE_BOOL): Likewise.
60266         (_G_HAVE_ATEXIT): Likewise.
60267         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60268         (_G_HAVE_IO_FILE_OPEN): Likewise.
60269         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60270         (_G_int32_t): Likewise.
60271         (_G_uint16_t): Likewise.
60272         (_G_uint32_t): Likewise.
60273         (_G_HAVE_BOOL): Likewise.
60274         (_G_HAVE_ATEXIT): Likewise.
60275         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60276         (_G_HAVE_IO_FILE_OPEN): Likewise.
60277         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60278         (_G_int32_t): Likewise.
60279         (_G_uint16_t): Likewise.
60280         (_G_uint32_t): Likewise.
60281         (_G_HAVE_BOOL): Likewise.
60282         (_G_HAVE_ATEXIT): Likewise.
60283         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60284         (_G_HAVE_IO_FILE_OPEN): Likewise.
60286 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60288         * csu/libc-tls.c: Update copyright years.
60290 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60292         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60293         [!_G_USING_THUNKS]: Remove conditional code.
60294         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60295         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60297         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60298         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60299         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60300         (_G_VTABLE_LABEL_PREFIX): Likewise.
60301         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60302         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60303         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60304         (_G_VTABLE_LABEL_PREFIX): Likewise.
60305         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60306         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60307         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60308         (_G_VTABLE_LABEL_PREFIX): Likewise.
60309         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60311 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60313         * libio/Makefile: Include ../Makeconfig before tests.
60314         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60315         only if $(build-shared) is yes.
60317         * iconv/gconv_db.c: Update copyright years.
60319 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60321         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60322         unwind info if defined PIC. Fix special cases description.
60323         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60325         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60326         DP_HI_MASK entry.
60327         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60329 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60331         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60333         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60334         is NULL.
60336         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60337         (LDLIBS-tst-chk4): This.
60338         (LDFLAGS-tst-chk5): Renamed to ...
60339         (LDLIBS-tst-chk5): This.
60340         (LDFLAGS-tst-chk6): Renamed to ...
60341         (LDLIBS-tst-chk6): This.
60342         (LDFLAGS-tst-lfschk4): Renamed to ...
60343         (LDLIBS-tst-lfschk4): This.
60344         (LDFLAGS-tst-lfschk5): Renamed to ...
60345         (LDLIBS-tst-lfschk5): This.
60346         (LDFLAGS-tst-lfschk6): Renamed to ...
60347         (LDLIBS-tst-lfschk6): This.
60349         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60350         on $(common-objpfx)soversions.mk.
60352 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60354         [BZ #10014]
60355         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60356         example host name.
60358 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60360         * malloc/arena.c (arena_get_retry): New function that gets
60361         another arena for the caller to try its request on.
60362         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60363         current arena cannot fulfill the request.
60364         (__libc_memalign): Likewise.
60365         (__libc_memalign): Likewise.
60366         (__libc_pvalloc): Likewise.
60367         (__libc_calloc): Likewise.
60369 2012-09-05  John Tobey  <john.tobey@gmail.com>
60371         [BZ #13542]
60372         * manual/arith.texi (Operations on Complex): Fix description
60373         of carg branch cut.
60375 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60377         [BZ #10014]
60378         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60379         host name.
60381         [BZ #10038]
60382         * manual/memory.texi (Memory): Make order of menu items match
60383         order of sections.
60385 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60387         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60388         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60389         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60391 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60393         * csu/libc-tls.c (static_dtv): Renamed to ...
60394         (_dl_static_dtv): This.  Make it global.
60395         (_dl_initial_dtv): Removed.
60396         (__libc_setup_tls): Updated.
60397         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60398         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60399         DL_INITIAL_DTV.
60401 2012-09-06  Petr Machata  <pmachata@redhat.com>
60403         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60404         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60405         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60406         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60408 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60410         [BZ #14545]
60411         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60412         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60413         freeing dtv[-1].
60415 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60417         [BZ #14544]
60418         * Makeconfig (link-static-before-libc): Replace $(+prector)
60419         with $(+prectorT).
60420         (link-static-after-libc): Replace $(+postctor) with
60421         $(+postctorT).
60422         (link-bounded): Replace $(+prector)/$(+postctor) with
60423         $(+prectorT)/$(+postctorT).
60424         (+prectorT): New macro.
60425         (+postctorT): Likewise.
60427 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60429         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60430         (round_str): Handle values above the maximum for IBM long double
60431         as inexact.
60432         * stdlib/tst-strtod-round.c (tests): Regenerated.
60434 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60436         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60437         assembler flag.
60438         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60439         zarch_nohighgprs around the zarch optimized routines.
60440         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60441         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60442         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60443         for zarch.
60445 2012-09-05  David S. Miller  <davem@davemloft.net>
60447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60449         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60450         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60451         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60452         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60453         entries.
60455 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60457         * malloc/arena.c: Fold copyright years.
60458         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60460 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60462         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60464 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60466         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60468 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60470         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60471         change internal state upon failure.
60473 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60475         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60476         * malloc/memusage.c (mmap): Likewise.
60477         (mmap64, mremap): Likewise.  Adjust name in comment.
60479 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60481         * libio/fileops.c: Fix typos in comments.
60482         * libio/oldfileops.c: Likewise.
60483         * libio/wfileops.c: Likewise.
60485 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60487         [BZ #1349]
60488         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60489         (tst-malloc-usable-ENV): Set environment for test case.
60490         * malloc/hooks.c (malloc_check_get_size): New function to get
60491         requested size.
60492         * malloc/malloc.c (musable): Use malloc_check_get_size.
60493         * malloc/tst-malloc-usable.c: New test case.
60495 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60497         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60499 2012-09-05  Allan McRae  <allan@archlinux.org>
60501         [BZ #13966]
60502         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60503         determine header location.
60504         * configure: Regenerated.
60506 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60508         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60509         float format.
60510         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60511         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60512         format.
60513         (test): Regenerate.
60515 2012-09-04  David S. Miller  <davem@davemloft.net>
60517         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60518         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60519         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60521 2012-09-04  Florian Weimer  <fweimer@redhat.com>
60523         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60524         failures.
60526         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60528 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
60530         [BZ #9914]
60531         * libio/iogetdelim.c: Include <limits.h>.
60532         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60533         + len + 1 would overflow.
60535 2012-09-03  Andreas Jaeger  <aj@suse.de>
60537         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60538         * sysdeps/i386/fpu/libm-test-ulps: Update.
60540 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60542         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60543         Add s_sinf-sse2, s_conf-sse2.
60545         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60546         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60547         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60548         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60550         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60551         for using routine as __sinf_ia32.
60552         Use macro for function declaration and weak_alias.
60553         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60554         for using routine as __cosf_ia32.
60555         Use macro for function declaration and weak_alias.
60557         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60558         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60560         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60561         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60564         * math/libm-test.inc (cos_test): Add more test cases.
60565         (sin_test): Likewise.
60566         (sincos_test): Likewise.
60568 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60570         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60571         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60572         hidden.
60573         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60575 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60577         [BZ #14538]
60578         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60579         first element of the GOT.
60580         (elf_machine_load_address): Return the difference between
60581         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60583 2012-09-01  Allan McRae  <allan@archlinux.org>
60585         [BZ #13412]
60586         * configure.in (AWK): Require gawk version 3.0 or later.
60587         * configure: Regenerated.
60589 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60591         * sysdeps/unix/sysv/linux/kernel-features.h
60592         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60593         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60594         [__NR_clock_getres]: Make code unconditional.
60595         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60596         (clock_getcpuclockid): Remove code left unreachable by removal of
60597         conditionals.
60598         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60599         code unconditional.
60600         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60601         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60602         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60603         Make code unconditional.
60604         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60605         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60606         * sysdeps/unix/sysv/linux/clock_settime.c
60607         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60608         conditional code.
60609         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60610         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60612 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
60614         [BZ #14476]
60615         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60616         scripts/test-installation.pl.
60618         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60619         and $ld_so_version if it is set.
60621 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60623         [BZ #14516]
60624         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60625         failure if reading from procfs failed.
60626         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60628 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60630         * sysdeps/unix/sysv/linux/kernel-features.h
60631         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60632         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60633         Remove conditional code.
60634         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60635         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60636         Remove conditional code.
60637         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60638         * sysdeps/unix/sysv/linux/i386/fxstat.c
60639         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60640         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60641         * sysdeps/unix/sysv/linux/i386/fxstatat.c
60642         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60643         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60644         * sysdeps/unix/sysv/linux/i386/lxstat.c
60645         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60646         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60647         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60648         Remove conditional code.
60649         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60650         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60651         Remove conditional code.
60652         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60653         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60654         <kernel-features.h>.
60655         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60656         Remove.
60657         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60658         Remove conditional code.
60659         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60660         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60661         Remove conditional.
60663 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
60665         [BZ #5400]
60666         * NEWS: Add fixed bug number.
60668 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60670         [BZ #14519]
60671         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60672         underflowing exponent in case of negative sign.
60673         * stdlib/tst-strtod-round-data: Add more tests.
60674         * stdlib/tst-strtod-round.c (tests): Regenerated.
60676         [BZ #3479]
60677         * stdlib/strtod_l.c (NDIG): Remove.
60678         (HEXNDIG): Likewise.
60679         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60680         smallest representable value.
60681         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60682         lie within an exact representation of 1/2 ulp of the result.
60683         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60684         unconditionally.
60685         (TENS_P9_IDX): Define unconditionally.
60686         (TENS_P9_SIZE): Likewise.
60687         (TENS_P10_IDX): Likewise.
60688         (TENS_P10_SIZE): Likewise.
60689         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60690         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60691         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60692         entries for 10^2^13 and 10^2^14.
60693         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60694         (TENS_P13_IDX): Define.
60695         (TENS_P13_SIZE): Likewise.
60696         (TENS_P14_IDX): Likewise.
60697         (TENS_P14_SIZE): Likewise.
60698         (_fpioconst_pow10): Change array size to
60699         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
60700         unconditional.
60701         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60702         1024]: Add entries for 10^2^13 and 10^2^14.
60703         [LAST_POW10 > _LAST_POW10]: Remove #error.
60704         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60705         (_fpioconst_pow10): Change array size to
60706         FPIOCONST_POW10_ARRAY_SIZE.
60707         * stdlib/gen-fpioconst.c: New file.
60708         * stdlib/gen-tst-strtod-round.c: Likewise.
60709         * stdlib/tst-strtod-round-data: Likewise.
60710         * stdlib/tst-strtod-round.c: Likewise.
60711         * stdlib/Makefile (tests): Add tst-strtod-round.
60713         [BZ #14459]
60714         * stdlib/strtod_l.c: Include <stdint.h>.
60715         (NDEBUG): Do not define.
60716         (round_and_return): Change EXPONENT parameter to type intmax_t.
60717         Rearrange calculations to avoid internal overflow possibilities.
60718         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60719         Rearrange calculations to avoid internal overflow possibilities.
60720         Assert that number fits inside MPNSIZE limbs.
60721         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60722         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
60723         calculations and add assertions to avoid internal overflow
60724         possibilities.  Add casts to avoid signed/unsigned operations.
60725         * stdlib/tst-strtod-overflow.c: New file.
60726         * stdlib/Makefile (tests): Add tst-strtod-overflow.
60728 2012-08-25  Marek Polacek  <polacek@redhat.com>
60730         * time/time.h: Fix some typos in comments.
60732 2012-08-23  Roland McGrath  <roland@hack.frob.com>
60734         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60735         * posix/tst-rfc3484-2.c: Likewise.
60736         * posix/tst-rfc3484-3.c: Likewise.
60738 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
60740         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60741         (EF_ARM_ABI_FLOAT_HARD): Likewise.
60743 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
60745         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60746         #include of fxstatat64.c.
60748 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60750         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60751         * shadow/getspent_r.c: Likewise.
60752         * shadow/getspnam.c: Likewise.
60753         * shadow/getspnam_r.c: Likewise.
60754         * gshadow/getsgent.c: Likewise.
60755         * gshadow/getsgent_r.c: Likewise.
60756         * gshadow/getsgnam.c: Likewise.
60757         * gshadow/getsgnam_r.c: Likewise.
60758         * inet/getnetbyad.c: Likewise.
60759         * inet/getnetbyad_r.c: Likewise.
60760         * inet/getnetbynm.c: Likewise.
60761         * inet/getnetbynm_r.c: Likewise.
60762         * inet/getnetent.c: Likewise.
60763         * inet/getnetent_r.c: Likewise.
60764         * inet/getproto.c: Likewise.
60765         * inet/getproto_r.c: Likewise.
60766         * inet/getprtent.c: Likewise.
60767         * inet/getprtent_r.c: Likewise.
60768         * inet/getprtname.c: Likewise.
60769         * inet/getprtname_r.c: Likewise.
60770         * inet/getrpcbyname.c: Likewise.
60771         * inet/getrpcbyname_r.c: Likewise.
60772         * inet/getrpcbynumber.c: Likewise.
60773         * inet/getrpcbynumber_r.c: Likewise.
60774         * inet/getrpcent.c: Likewise.
60775         * inet/getrpcent_r.c: Likewise.
60776         * inet/getaliasent.c: Likewise.
60777         * inet/getaliasent_r.c: Likewise.
60778         * inet/getaliasname.c: Likewise.
60779         * inet/getaliasname_r.c: Likewise.
60780         * nscd/getgrgid_r.c: Likewise.
60781         * nscd/getgrnam_r.c: Likewise.
60782         * nscd/gethstbyad_r.c: Likewise.
60783         * nscd/gethstbynm3_r.c: Likewise.
60784         * nscd/getpwnam_r.c: Likewise.
60785         * nscd/getpwuid_r.c: Likewise.
60786         * nscd/getsrvbynm_r.c: Likewise.
60787         * nscd/getsrvbypt_r.c: Likewise.
60788         * nscd/gai.c: Likewise.
60790         * configure.in (build_nscd): New substituted variable, set
60791         by --disable-build-nscd and defaults to $use_nscd.
60792         * configure: Regenerated.
60793         * config.make.in (build-nscd): New substituted variable.
60794         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60795         Change conditional to require [$(build-nscd) = yes] as well.
60796         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60798         [BZ# 13696]
60799         * configure.in (use_nscd): New substituted variable, set by
60800         --disable-nscd.  If enabled, define USE_NSCD.
60801         * configure: Regenerated.
60802         * config.h.in: Add USE_NSCD.
60803         * config.make.in (use-nscd): New substituted variable.
60804         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
60805         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
60806         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
60807         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
60808         (CFLAGS-getgrnam_r.c): Likewise.
60809         (CFLAGS-initgroups.c): Likewise.
60810         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
60811         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
60812         Variables removed.
60813         * inet/getnetgrent_r.c
60814         (nscd_setnetgrent): New function, broken out of ...
60815         (setnetgrent): ... here.  Call it.
60816         (innetgr): Conditionalize nscd bits on [USE_NSCD].
60817         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60818         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60819         * nscd/Makefile (routines, aux): Move definitions after include of
60820         Makeconfig.  Conditionalize on [$(use-nscd) != no].
60821         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60822         Conditionalize on [USE_NSCD].
60823         (is_nscd, nscd_init_cb): Likewise.
60824         (nss_load_library): Conditionalize init callback on [USE_NSCD].
60825         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60826         * nss/nss_db/db-init.c: Likewise.
60827         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60828         [USE_NSCD].
60829         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60830         (make_request): Use it.
60831         (cache_valid_p): New function.
60832         (__check_pf): Use it.
60833         * NEWS: Add item for --disable-nscd.
60835 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
60837         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60838         to support sed >= 4.2.1-20-ga9bf076.
60839         * configure: Regenerated.
60841 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60843         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60844         Conditionalize whole body on [IREL].
60846 2012-08-22  Jeff Law <law@redhat.com>
60848         [BZ #14505]
60849         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60850         if the family is PF_UNSPEC.
60852 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
60854         * Makerules (lib-version): Rename from V.
60855         (install-lib-nosubdir): Change V to lib-version.
60857 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
60859         [BZ #14252]
60860         * powerpc32/power6/wcschr.c: New file.
60861         * powerpc32/power6/wcscpy.c: New file.
60862         * powerpc32/power6/wcsrchr.c: New file.
60863         * powerpc64/power6/wcschr.c: New file.
60864         * powerpc64/power6/wcscpy.c: New file.
60865         * powerpc64/power6/wcsrchr.c: New file.
60867 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60869         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60870         (two_way_short_needle): Use it.
60871         * string/strstr.c (AVAILABLE1_USES_J): Define.
60872         * string/strcasestr.c: Likewise.
60874         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60875         array references.
60876         * string/strcasestr.c (TOLOWER): Make side-effect safe.
60878         [BZ #11607]
60879         * NEWS: Add an entry.
60880         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60881         define their defaults.
60882         (two_way_short_needle): Detect end-of-string on-the-fly.
60883         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60884         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60885         * string/bug-strcasestr1.c: New test.
60886         * string/Makefile: Run it.
60888 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60890         [BZ #11607]
60891         * string/str-two-way.h (two_way_short_needle): Optimize matching of
60892         the first character.
60894 2012-08-21  Roland McGrath  <roland@hack.frob.com>
60896         * csu/elf-init.c (__libc_csu_irel): Function removed.
60897         * csu/libc-start.c (apply_irel): New function.
60898         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60900 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
60902         * sysdeps/unix/sysv/linux/kernel-features.h
60903         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60904         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60905         <kernel-features.h>.
60906         [__NR_fadvise64_64]: Make code unconditional.
60907         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60908         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60909         !__NR_fadvise64_64)]: Likewise.
60910         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60911         !__NR_fadvise64_64))]: Likewise.
60912         [__NR_fadvise64]: Make code unconditional.
60913         [!__NR_fadvise64]: Remove conditional code.
60914         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60915         <kernel-features.h>.
60916         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60917         unconditional.
60918         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60919         conditional code.
60920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60921         not include <kernel-features.h>.
60922         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60923         unconditional.
60924         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60925         conditional code.
60926         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60927         include <kernel-features.h>.
60928         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60929         unconditional.
60930         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60931         conditional code.
60933 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60935         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60936         slight instruction rearrangements per scrollpipe analysis.
60937         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60939 2012-08-20  Roland McGrath  <roland@hack.frob.com>
60941         * manual/syslog.texi (syslog; vsyslog, closelog):
60942         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60943         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60945         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60946         DSOCAPS to match condition on defining it.
60948 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
60950         * sysdeps/unix/sysv/linux/kernel-features.h
60951         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60953         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60954         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60956         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60957         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60959         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60960         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60962         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60963         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60965         * sysdeps/unix/sysv/linux/kernel-features.h
60966         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60967         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60968         unconditional.
60969         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60970         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60971         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60972         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60973         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60974         Make code unconditional.
60975         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60976         (__mmap64) [!__NR_mmap2]: Likewise.
60977         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
60978         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60979         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60980         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
60981         [__NR_mmap2]: Make code unconditional.
60982         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60983         (__mmap64) [!__NR_mmap2]: Likewise.
60985 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60987         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
60989 2012-08-18  Andreas Jaeger  <aj@suse.de>
60991         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60993 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60995         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
60996         * include/unistd.h (__have_sock_cloexec): Likewise.
60997         (__have_pipe2): Likewise.
60998         (__have_dup3): Likewise.
61000 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61002         [BZ #9685]
61003         * include/unistd.h (__have_pipe2): Change define into an extern int.
61004         (__have_dup3): Likewise.
61005         * socket/have_sock_cloexec.c: Include fcntl.h.
61006         (__have_pipe2): New variable.
61007         (__have_dup3): Likewise.
61009 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61011         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61013 2012-08-17  Marek Polacek  <polacek@redhat.com>
61015         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61016         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61018 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61020         * configure.in: Add AC_SUBST for sysheaders.
61021         * configure: Regenerated.
61022         * config.make.in (sysheaders): New substituted variable.
61024         * sysdeps/unix/mkfifo.c: Moved ...
61025         * sysdeps/posix/mkfifo.c: ... here.
61026         * sysdeps/unix/mkfifoat.c: Moved ...
61027         * sysdeps/posix/mkfifoat.c: ... here.
61029         * sysdeps/unix/utime.c: Moved ...
61030         * sysdeps/posix/utime.c: ... here.
61032         * sysdeps/unix/time.c: Moved ...
61033         * sysdeps/posix/time.c: ... here.
61034         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61035         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61037         * sysdeps/unix/nice.c: Moved ...
61038         * sysdeps/posix/nice.c: ... here.
61040         * sysdeps/unix/alarm.c: Moved ...
61041         * sysdeps/posix/alarm.c: ... here.
61043         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61045 2012-08-17  Jeff Law <law@redhat.com>
61047         * intl/Makefile (codeset_mo): New variable.
61048         ($(codeset_mo)): New target.
61049         (tst-codeset.out): Depend on that.  Remove explicit rule.
61050         (tst-gettext3.out, tst-gettext5.out): Likewise.
61051         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61052         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61053         * intl/tst-codeset.sh: Remove.
61054         * intl/tst-gettext3.sh: Likewise.
61055         * intl/tst-gettext5.sh: Likewise.
61057 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61059         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61060         * sysdeps/unix/syscalls.list: ... here.
61062         * sysdeps/posix/getaddrinfo.c
61063         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61064         (gaiconf_init, gaiconf_reload): Use them.
61065         [!_STATBUF_ST_NSEC]
61066         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61067         Define using time_t rather than struct timespec.
61069         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61070         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61071         Macros removed.
61072         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61073         [!NO_THREADS].
61074         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61075         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61076         Likewise.
61078         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61079         __libc_cleanup_push argument.
61081         * bits/param.h: New file.
61082         * misc/sys/param.h: New file.
61083         * include/sys/param.h: New file.
61084         * misc/Makefile (headers): Add bits/param.h.
61085         * sysdeps/generic/sys/param.h: File removed.
61086         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61087         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61088         * sysdeps/mach/hurd/bits/param.h: New file.
61089         * sysdeps/mach/hurd/sys/param.h: File removed.
61091         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61092         last change.
61094         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61095         [_IO_MTSAFE_IO].
61096         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61097         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61098         New macros.
61100         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61101         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61102         rather than -D_IO_MTSAFE_IO conditionally.
61103         * stdio-common/Makefile (CPPFLAGS): Likewise.
61104         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61105         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61106         Use $(libio-mtsafe).
61107         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61108         of -D_IO_MTSAFE_IO.
61109         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61110         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61111         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61112         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61113         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61114         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61115         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61116         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61117         (CFLAGS-fread_u_chk.c): Likewise.
61118         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61119         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61120         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61121         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61122         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61123         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61124         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61125         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61126         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61128         * libio/Makefile: Test [$(libc-reentrant) = yes]
61129         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61131         * Makeconfig
61132         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61133         * sysdeps/pthread/configure: File removed.
61134         * sysdeps/pthread/Makeconfig: New file.
61135         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61136         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61138 2012-08-16  Gary Benson  <gbenson@redhat.com>
61140         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61141         unmapping the first object in a namespace.
61143 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61145         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61146         (__internal_setnetgrent): ... this.  Add internal_function to
61147         definition.  Add libc_hidden_def.
61148         (setnetgrent): Update caller.
61149         (internal_endnetgrent): Renamed to ...
61150         (__internal_endnetgrent): ... this.  Add internal_function to
61151         definition.  Add libc_hidden_def.
61152         (endnetgrent): Update caller.
61153         (internal_getnetgrent_r): Renamed to ...
61154         (__internal_getnetgrent_r): ... this.  Add internal_function to
61155         definition.  Add libc_hidden_def.
61156         (__getnetgrent_r): Update caller.
61157         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61159 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61161         * stdlib/longlong.h: Update from GCC.
61163 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61165         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61166         on _QL, which is set by umul_ppmm but never used.
61167         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61168         variables, which are set by GMP macros but never used.
61169         * stdio-common/_itowa.c (_itowa): Likewise.
61170         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61171         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61173 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61175         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61176         struct La_sh_regs is not constant.
61177         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61178         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61179         and struct La_sparc64_regs are not constant.
61181 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61183         * sysdeps/unix/sysv/linux/kernel-features.h
61184         (__ASSUME_POSIX_TIMERS): Remove.
61185         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61186         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61187         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61188         Make code unconditional.
61189         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61190         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61191         Make code unconditional.
61192         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61193         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61194         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61195         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61196         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61197         Make code unconditional.
61198         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61199         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61200         (__libc_missing_posix_timers): Remove.
61202 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61204         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61205         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61207         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61209         * elf/dl-sym.c: Include <stdlib.h>.
61211         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61212         constants, which avoids warnings in 32-bit builds.
61214         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61215         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61217         * misc/lseek.c: File moved to ...
61218         * io/lseek.c: ... here.
61220         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61222         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61223         shifting LEN more than 31 bits at once.
61225 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61227         [BZ #14195]
61228         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61229         segmentation fault for a case of two empty input strings.
61230         * string/test-strncasecmp.c (check1): Renamed to...
61231         (bz12205): ...this.
61232         (bz14195): Add new testcase for two empty input strings and N > 0.
61233         (test_main): Call new testcase, adapt for renamed function.
61235 2012-08-15  Andreas Jaeger  <aj@suse.de>
61237         [BZ #14090]
61238         * crypt/md5test2.c: New test, based on test supplied by Serge
61239         Belyshev <belyshev@depni.sinp.msu.ru>.
61240         * crypt/Makefile (xtests): Add md5test-giant..
61241         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61243 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61245         [BZ #14090]
61246         * crypt/md5.c (md5_process_block): Don't assume the buffer
61247         length is less than 2**32.
61248         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61249         length is less than 2**64.
61251 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61253         * string/str-two-way.h: Include <sys/param.h>.
61254         (MAX): Macro removed.
61256         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61257         Move #define and #undef of memmove to just before and after
61258         including <string.h>.
61260         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61261         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61262         and after including <string.h>.  Move declarations of
61263         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61264         to before #include "string/memmove.c".
61266         * include/dirent.h: Declare __getdirentries.
61268         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61269         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61271 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61273         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61274         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61275         * sysdeps/i386/configure: Regenerated.
61276         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61277         STABS_CURRENT_FILE, and STABS_FUN.
61278         (END): Remove call to STABS_FUN_END.
61279         (STABS_CURRENT_FILE1): Delete.
61280         (STABS_CURRENT_FILE): Likewise.
61281         (STABS_FUN): Likewise.
61282         (STABS_FUN_END): Likewise.
61283         (STABS_FUN2): Likewise.
61284         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61285         * sysdeps/x86_64/configure: Regenerated.
61287 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61289         * elf/dl-open.c: Include <atomic.h>.
61290         * elf/dl-lookup.c: Likewise.
61292 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61294         * sysdeps/unix/sysv/linux/kernel-features.h
61295         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61296         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61297         unconditionally.
61298         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61299         unconditionally.
61300         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61301         condition on __ASSUME_CLONE_THREAD_FLAGS.
61303 2012-08-14  Andreas Jaeger  <aj@suse.de>
61305         * sysdeps/i386/fpu/libm-test-ulps: Update.
61307 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61309         * include/atomic.h (atomic_exchange_and_add): Split into ...
61310         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61311         New atomic macros.
61313 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61315         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61317 2012-08-13  Jeff Law <law@redhat.com>
61319         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61320         null byte in the output string.
61322 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61324         * sysdeps/unix/sysv/linux/kernel-features.h
61325         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61326         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61327         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61328         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61329         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61330         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61331         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61333 2012-08-09  Jeff Law <law@redhat.com>
61335         [BZ #13939]
61336         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61337         When avoid_arena is set, don't retry in the that arena.  Pick the
61338         next one, whatever it might be.
61339         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61340         (arena_lock): Pass in new parameter to arena_get2.
61341         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61342         arena_get2.
61343         (__libc_malloc): Unify retrying after main arena failure with
61344         __libc_memalign version.
61345         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61347 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61349         [BZ #14166]
61350         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61351         to __redirect_strstr.
61352         (__strstr_sse42): Use typeof __redirect_strstr.
61353         (__strstr_ia32): Likewise.
61354         (__libc_strstr): New prototype.
61355         (strstr): Renamed to ...
61356         (__libc_strstr): This.
61357         (strstr): New strong alias of __libc_strstr.
61358         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61359         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61360         __redirect_time.
61361         Include <time.h>.
61362         (__libc_time): New prototype.
61363         (time_ifunc): Replace time with __libc_time.
61364         (time): New strong alias and hidden definition of __libc_time.
61365         (__GI_time): Remove strong alias.
61366         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61367         Include <stddef.h>.
61368         (memmove): Redefined to __redirect_memmove.
61369         (__memmove_sse2): Use typeof __redirect_memmove.
61370         (__memmove_ssse3): Likewise.
61371         (__memmove_ssse3_back): Likewise.
61372         (__libc_memmove): New prototype.
61373         (memmove): Renamed to ...
61374         (__libc_memmove): This.
61375         (memmove): New strong alias of __libc_memmove.
61377 2012-08-08  Mark Salter  <msalter@redhat.com>
61379         * elf/elf.h
61380         (R_MN10300_TLS_GD): Define.
61381         (R_MN10300_TLS_LD): Likewise.
61382         (R_MN10300_TLS_LDO): Likewise.
61383         (R_MN10300_TLS_GOTIE): Likewise.
61384         (R_MN10300_TLS_IE): Likewise.
61385         (R_MN10300_TLS_LE): Likewise.
61386         (R_MN10300_TLS_DTPMOD): Likewise.
61387         (R_MN10300_TLS_DTPOFF): Likewise.
61388         (R_MN10300_TLS_TPOFF): Likewise.
61389         (R_MN10300_SYM_DIFF): Likewise.
61390         (R_MN10300_ALIGN): Likewise.
61391         (R_MN10300_NUM): Update.
61393 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61395         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61396         Remove.
61398 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61400         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61402         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61403         sysdeps/unix -> sysdeps/posix move.
61404         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61406 2012-08-07      Allan McRae     <allan@archlinux.org>
61408         [BZ #14303]
61409         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61410         (SUNOS_CPP): Likewise.
61411         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61412         not found.
61413         (open_input): Call CPP using execvp.
61415 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61417         * sysdeps/unix/sysv/linux/kernel-features.h
61418         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61419         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61420         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61421         (__ASSUME_WAITID_SYSCALL): Likewise.
61422         * sysdeps/unix/sysv/linux/dl-execstack.c
61423         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61424         code unconditional.
61425         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61426         conditional code.
61427         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61428         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61429         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61430         code.
61431         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61432         unconditional.
61433         [__ASSUME_WAITID_SYSCALL]: Likewise.
61434         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61436 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61438         * sysdeps/unix/closedir.c: Renamed to ...
61439         * sysdeps/posix/closedir.c: ... here.
61440         * sysdeps/unix/dirfd.c: Renamed to ...
61441         * sysdeps/posix/dirfd.c: ... here.
61442         * sysdeps/unix/dirstream.h: Renamed to ...
61443         * sysdeps/posix/dirstream.h: ... here.
61444         * sysdeps/unix/fdopendir.c: Renamed to ...
61445         * sysdeps/posix/fdopendir.c: ... here.
61446         * sysdeps/unix/opendir.c: Renamed to ...
61447         * sysdeps/posix/opendir.c: ... here.
61448         * sysdeps/unix/readdir.c: Renamed to ...
61449         * sysdeps/posix/readdir.c: ... here.
61450         * sysdeps/unix/readdir_r.c: Renamed to ...
61451         * sysdeps/posix/readdir_r.c: ... here.
61452         * sysdeps/unix/rewinddir.c: Renamed to ...
61453         * sysdeps/posix/rewinddir.c: ... here.
61454         * sysdeps/unix/seekdir.c: Renamed to ...
61455         * sysdeps/posix/seekdir.c: ... here.
61456         * sysdeps/unix/telldir.c: Renamed to ...
61457         * sysdeps/posix/telldir.c: ... here.
61458         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61459         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61460         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61461         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61463         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61464         * bits/fcntl.h: ... here.
61466         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61467         not 0.
61468         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61469         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61470         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61471         (struct flock): Move l_start, l_len to the beginning.
61472         Use __pid_t for l_pid.
61473         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61474         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61475         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61476         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61477         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61478         [__USE_LARGEFILE64] (struct flock64): New type.
61479         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61481         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61482         * bits/dirent.h: ... here.
61484         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61485         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61487 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61489         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61490         Change from 2.6.0 to 2.6.16.
61491         * sysdeps/unix/sysv/linux/configure: Regenerated.
61492         * sysdeps/unix/sysv/linux/kernel-features.h
61493         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61494         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61495         version.
61496         (__ASSUME_UTIMES): Likewise.
61497         (__ASSUME_CLONE_STOPPED): Remove.
61498         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61499         architectures, not kernel version.
61500         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61501         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61502         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61503         (__ASSUME_WAITID_SYSCALL): Likewise.
61504         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61505         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61506         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61507         refer to older versions.
61509 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61511         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61512         Define alphasort64 as an alias.
61513         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61514         Define versionsort64 as an alias.
61515         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61516         Define scandir64 as an alias.
61517         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61518         Define scandirat64 as an alias.
61519         * dirent/alphasort64.c (alphasort64):
61520         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61521         * dirent/versionsort64.c: Likewise.
61522         * dirent/scandir64.c: Likewise.
61523         * dirent/scandirat64.c: Likewise.
61524         * sysdeps/wordsize-64/alphasort.c: File removed.
61525         * sysdeps/wordsize-64/alphasort64.c: File removed.
61526         * sysdeps/wordsize-64/scandir.c: File removed.
61527         * sysdeps/wordsize-64/scandir64.c: File removed.
61528         * sysdeps/wordsize-64/scandirat.c: File removed.
61529         * sysdeps/wordsize-64/scandirat64.c: File removed.
61530         * sysdeps/wordsize-64/versionsort.c: File removed.
61531         * sysdeps/wordsize-64/versionsort64.c: File removed.
61532         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61533         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61534         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61535         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61536         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61537         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61538         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61539         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61541         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61542         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61543         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61544         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61545         [defined __arch64__ || defined __sparcv9]
61546         (__INO_T_MATCHES_INO64_T): New macro.
61547         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61548         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61549         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61550         * sysdeps/unix/sysv/linux/bits/dirent.h
61551         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61552         (_DIRENT_MATCHES_DIRENT64): New macro.
61554         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61555         Define lockf64 as an alias.
61556         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61557         Define fseeko64 as an alias.
61558         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61559         Define ftello64 as an alias.
61560         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61561         Define _IO_fgetpos64 and fgetpos64 as aliases.
61562         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61563         Define _IO_fsetpos64 and fsetpos64 as aliases.
61564         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61565         Conditionalize body on this.
61566         * libio/fseeko64.c: Likewise.
61567         * libio/ftello64.c: Likewise.
61568         * libio/iofgetpos64.c: Likewise.
61569         * libio/iofsetpos64.c: Likewise.
61570         * sysdeps/wordsize-64/lockf.c: File removed.
61571         * sysdeps/wordsize-64/lockf64.c: File removed.
61572         * sysdeps/wordsize-64/fseeko.c: File removed.
61573         * sysdeps/wordsize-64/fseeko64.c: File removed.
61574         * sysdeps/wordsize-64/ftello.c: File removed.
61575         * sysdeps/wordsize-64/ftello64.c: File removed.
61576         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61577         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61578         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61579         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61580         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61581         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61582         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61583         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61584         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61585         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61586         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61587         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61588         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61589         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61591         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61592         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61593         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61594         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61595         [defined __arch64__ || defined __sparcv9]
61596         (__OFF_T_MATCHES_OFF64_T): New macro.
61597         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61598         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61599         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61600         (__OFF_T_MATCHES_OFF64_T): New macro.
61602 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61604         * stdlib/secure-getenv.c (__secure_getenv): Replace
61605         GLIBC_2_16 with GLIBC_2_17.
61607 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61609         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61610         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61612 2012-08-03  David S. Miller  <davem@davemloft.net>
61614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61616 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61618         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61619         Remove.
61620         (__ASSUME_CORRECT_SI_PID): Likewise.
61621         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61622         (__ASSUME_TMPFS_NAME): Likewise.
61623         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61624         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61625         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61626         (HAVE_AUX_SECURE): Make definition unconditional.
61627         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61628         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61630 2012-08-03  Roland McGrath  <roland@hack.frob.com>
61632         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61633         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61634         * sysdeps/mach/hurd/eloop-threshold.h: New file.
61635         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61636         __eloop_threshold instead of SYMLOOP_MAX.
61638         * sysdeps/generic/eloop-threshold.h: New file.
61639         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61640         of MAXSYMLINKS.
61641         * elf/chroot_canon.c (chroot_canon): Likewise.
61643 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61645         [BZ #13717]
61646         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61647         Change to 2.6.0 everywhere.
61648         * sysdeps/unix/sysv/linux/configure: Regenerated.
61649         * sysdeps/unix/sysv/linux/kernel-features.h
61650         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61651         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61652         kernel versions.
61653         (__ASSUME_POSIX_TIMERS): Define unconditionally.
61654         (__ASSUME_FUTEX_REQUEUE): Remove.
61655         (__ASSUME_STATFS64): Define unconditionally.
61656         (__ASSUME_AT_SECURE): Likewise.
61657         (__ASSUME_CORRECT_SI_PID): Likewise.
61658         (__ASSUME_TGKILL): Define without depending on kernel version for
61659         i386.
61660         (__ASSUME_UTIMES): Likewise.
61661         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61662         kernel version.
61663         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61664         (__ASSUME_TMPFS_NAME): Likewise.
61665         * README: Update reference to Linux kernel versions.
61667 2012-08-02  Marek Polacek  <polacek@redhat.com>
61669         [BZ# 14150]
61670         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
61671         libc_cv_asm_type_prefix with %.
61672         * configure: Regenerated.
61673         * include/libc-symbols.h: Remove comment about
61674         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61675         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61676         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61677         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61678         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61679         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61680         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61681         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61682         * elf/tst-unique2mod1.c: Likewise.
61683         * elf/tst-unique1mod2.c: Likewise.
61684         * elf/tst-unique1mod1.c: Likewise.
61685         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61686         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61687         Replace ASM_TYPE_DIRECTIVE with .type.
61688         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61689         * sysdeps/i386/sysdep.h: Likewise.
61690         * sysdeps/x86_64/sysdep.h: Likewise.
61691         * sysdeps/sh/sysdep.h: Likewise.
61692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61693         Do not define ASM_TYPE_DIRECTIVE.
61694         * sysdeps/powerpc/sysdep.h: Likewise.
61695         * sysdeps/powerpc/powerpc32/sysdep.h:
61696         Replace ASM_TYPE_DIRECTIVE with .type.
61697         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61698         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61699         * sysdeps/i386/fpu/e_powf.S: Likewise.
61700         * sysdeps/i386/fpu/e_expl.S: Likewise.
61701         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61702         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61703         * sysdeps/i386/fpu/e_pow.S: Likewise.
61704         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61705         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61706         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61707         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61708         * sysdeps/i386/fpu/e_log2.S: Likewise.
61709         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61710         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61711         * sysdeps/i386/fpu/e_powl.S: Likewise.
61712         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61713         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61714         * sysdeps/i386/fpu/e_logl.S: Likewise.
61715         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61716         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61717         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61718         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61719         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61720         * sysdeps/i386/fpu/e_log.S: Likewise.
61721         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61722         * sysdeps/i386/fpu/e_logf.S: Likewise.
61723         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61724         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61725         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61726         * sysdeps/i386/fpu/e_log10.S: Likewise.
61727         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61728         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61729         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61730         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61731         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61732         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61733         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61734         * sysdeps/i386/i686/strtok.S: Likewise.
61735         * sysdeps/i386/i386-mcount.S: Likewise.
61736         * sysdeps/i386/strtok.S: Likewise.
61737         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61738         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61739         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61740         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61741         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61742         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61743         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61744         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61745         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61746         * sysdeps/x86_64/_mcount.S: Likewise.
61747         * sysdeps/x86_64/strtok.S: Likewise.
61748         * sysdeps/sh/_mcount.S: Likewise.
61750 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61752         * libio/iofopen.c: Include <fcntl.h>.
61753         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61754         (_IO_fopen64, fopen64): Define as aliases.
61755         * libio/iofopen64.c: Include <fcntl.h>.
61756         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61757         Conditionalize body on this.
61758         * sysdeps/wordsize-64/iofopen.c: File removed.
61759         * sysdeps/wordsize-64/iofopen64.c: File removed.
61761 2012-08-01  Marek Polacek  <polacek@redhat.com>
61763         * libc/Makeconfig: Use elf in place of binfmt-subdir.
61764         Use dlfcn directly instead of a variable.
61765         (binfmt-subdir): Do not define.
61766         (dlfcn): Likewise.
61768 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
61770         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61771         Remove all definitions.
61772         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61773         <kernel-features.h>.
61774         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61775         (miss_F_GETOWN_EX): Remove all definitions.
61776         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61777         macro definition.
61778         [!__ASSUME_FCNTL64]: Remove conditional code.
61779         [__ASSUME_FCNTL64]: Make code unconditional.
61780         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61781         <kernel-features.h>.
61782         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61783         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61784         (lockf64) [__NR_fcntl64]: Make code unconditional.
61785         (lockf64) [__ASSUME_FCNTL64]: Likewise.
61787         * sysdeps/unix/sysv/linux/kernel-features.h
61788         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61789         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61790         Make code unconditional.
61791         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61792         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61794         [__NR_vfork]: Make code unconditional.
61795         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61796         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61798         [__NR_vfork]: Make code unconditional.
61799         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61800         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61802 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61804         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
61805         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
61807         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61808         Define mkstemp64 as an alias.
61809         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61810         Define mkstemps64 as an alias.
61811         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61812         Define mkostemp64 as an alias.
61813         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61814         Define mkostemps64 as an alias.
61815         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61816         Conditionalize body on this.
61817         * misc/mkostemp64.c: Likewise.
61818         * misc/mkostemps64.c: Likewise.
61819         * misc/mkstemps64.c: Likewise.
61820         * sysdeps/wordsize-64/mkstemp64.c: File removed.
61821         * sysdeps/wordsize-64/mkostemp64.c: File removed.
61822         * sysdeps/wordsize-64/mkostemp.c: File removed.
61823         * sysdeps/wordsize-64/mkstemp.c: File removed.
61824         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61825         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61826         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61827         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61829         [BZ #14138]
61830         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61831         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61832         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61833         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61835         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61836         compat_symbol macros from <shlib-compat.h> rather than the underlying
61837         default_symbol_version and symbol_version macros, so that DEFAULT
61838         lines in shlib-versions are respected.
61839         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61841 2012-08-01  Florian Weimer  <fweimer@redhat.com>
61843         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61844         Declare with warn_unused_result.
61845         (setgid, setregid, setegid, setresgid): Likewise.
61846         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61847         Likewise.
61848         * WUR-REPORT: Remove set*id functions.
61850 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
61852         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61854 2012-07-31  Roland McGrath  <roland@hack.frob.com>
61856         [BZ #10191]
61857         * include/sys/socket.h (__libc_accept, __libc_accept4):
61858         Add attribute_hidden.
61859         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61861         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61862         use of PTR_MANGLE.
61863         * inet/getnetgrent_r.c (setup): Likewise.
61865         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61867 2012-07-31  David S. Miller  <davem@davemloft.net>
61869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61871 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
61873         [BZ #13629]
61874         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61875         value between 1.0 and 2.0 and smaller part has absolute value less
61876         than 1.0.
61877         * math/s_clog10.c (__clog10): Likewise.
61878         * math/s_clog10f.c (__clog10f): Likewise.
61879         * math/s_clog10l.c (__clog10l): Likewise.
61880         * math/s_clogf.c (__clogf): Likewise.
61881         * math/s_clogl.c (__clogl): Likewise.
61882         * math/libm-test.inc (clog_test): Add more tests.
61883         (clog10_test): Likewise.
61884         * sysdeps/i386/fpu/libm-test-ulps: Update.
61885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61887 2012-07-31  Florian Weimer  <fweimer@redhat.com>
61889         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61890         Exit with zero in case no suitable GID is found, and write a
61891         message to standard error.
61893 2012-07-30  Roland McGrath  <roland@hack.frob.com>
61895         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61896         rather than to 1.
61897         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61898         (MAXPATHLEN): Removed.
61899         (NOGROUP, NODEV): New macros.
61900         (setbit, clrbit, isset, isclr): New macros.
61901         (howmany, roundup, powerof2): New macros.
61902         (DEV_BSIZE): New macro.
61904         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61905         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61907         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61908         definition on [!__NO_LONG_DOUBLE_MATH].
61910         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61911         PTR_MANGLE and PTR_DEMANGLE.
61913         * socket/accept4.c (accept4): Rename to __libc_accept4.
61914         Define accept4 as a weak alias.
61916         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61917         on [_DIRENT_HAVE_D_TYPE].
61918         * io/ftw.c (ftw_dir): Likewise.
61920         * io/xmknod.c (__xmknod): Don't check PATH for being null.
61922         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61924         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61925         Use the BSD numbers rather than the arbitrary ones we had.
61926         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61927         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61928         (SIGXCPU, SIGXFSZ): New macros.
61929         (_NSIG): Now 32.
61931         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61932         initializer on [_LIBC_REENTRANT].
61934         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61935         definitions inside [_POSIX_MAPPED_FILES].
61937         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61939         * dirent/opendir.c: Include <fcntl.h>.
61941         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61942         (__libc_getspecific): Likewise.
61943         (__libc_key_create): Likewise.
61945         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61946         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61947         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61948         (tmpfile64): Define as alias.
61949         * sysdeps/wordsize-64/tmpfile.c: File removed.
61950         * sysdeps/wordsize-64/tmpfile64.c: File removed.
61951         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61952         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61954         * stdio-common/vfscanf.c: Include <stdbool.h>.
61955         * nss/makedb.c: Likewise.
61956         * stdio-common/_i18n_number.h: Likewise.
61957         * argp/argp-help.c: Likewise.
61958         * posix/wordexp.c: Likewise.
61959         * sysdeps/posix/spawni.c: Likewise.
61960         * nss/nss_files/files-initgroups.c: Likewise.
61961         * stdio-common/reg-modifier.c: Include <stdlib.h>.
61962         * nss/nss_files/files-initgroups.c: Likewise.
61963         * nss/nss_db/db-netgrp.c: Likewise.
61964         * nss/nss_db/db-initgroups.c: Likewise.
61965         * io/fchmodat.c: Include <sys/stat.h>.
61967         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61968         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61970         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61971         [HAVE_MMAP].
61973         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61974         Add multiple inclusion protection.
61976 2012-07-27  David S. Miller  <davem@davemloft.net>
61978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61980 2012-07-27  Gary Benson  <gbenson@redhat.com>
61982         [BZ #14298]
61983         * elf/rtld.c: Include <stap-probe.h>.
61984         (dl_main): Added static probes "init_start" and "init_complete".
61985         * elf/dl-load.c: Include <stap-probe.h>.
61986         (lose): Take new parameter "nsid".
61987         Added static probe "map_failed".
61988         (_dl_map_object_from_fd): Pass namespace id to lose.
61989         Added static probe "map_start".
61990         (open_verify): Pass namespace id to lose.
61991         * elf/dl-open.c: Include <stap-probe.h>.
61992         (dl_open_worker) Added static probes "map_complete", "reloc_start"
61993         and "reloc_complete".
61994         * elf/dl-close.c: Include <stap-probe.h>.
61995         (_dl_close_worker): Added static probes "unmap_start" and
61996         "unmap_complete".
61997         * elf/rtld-debugger-interface.txt: New file documenting the above.
61999 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62001         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62002         rather than a string variable.
62003         * sunrpc/rpc_main.c (h_output): Likewise.
62004         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62006 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62008         * inet/check_native.c: New file.
62010 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62012         [BZ #13629]
62013         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62014         if larger part has absolute value 1.0.
62015         * math/s_clog10.c (__clog10): Likewise.
62016         * math/s_clog10f.c (__clog10f): Likewise.
62017         * math/s_clog10l.c (__clog10l): Likewise.
62018         * math/s_clogf.c (__clogf): Likewise.
62019         * math/s_clogl.c (__clogl): Likewise.
62020         * math/libm-test.inc (clog_test): Add more tests.
62021         (clog10_test): Likewise.
62022         * sysdeps/i386/fpu/libm-test-ulps: Update.
62023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62025         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62026         (pltexit): Likewise.
62027         (La_regs): Likewise.
62028         (La_retval): Likewise.
62029         (int_retval): Likewise.
62030         Update #error for removed macros to refer only to definitions in
62031         tst-audit.h.
62032         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62033         macro.
62034         (pltexit): Likewise.
62035         (La_regs): Likewise.
62036         (La_retval): Likewise.
62037         (int_retval): Likewise.
62038         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62039         macro.
62040         (pltexit): Likewise.
62041         (La_regs): Likewise.
62042         (La_retval): Likewise.
62043         (int_retval): Likewise.
62044         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62045         macro.
62046         (pltexit): Likewise.
62047         (La_regs): Likewise.
62048         (La_retval): Likewise.
62049         (int_retval): Likewise.
62050         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62051         macro.
62052         (pltexit): Likewise.
62053         (La_regs): Likewise.
62054         (La_retval): Likewise.
62055         (int_retval): Likewise.
62056         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62057         macro.
62058         (pltexit): Likewise.
62059         (La_regs): Likewise.
62060         (La_retval): Likewise.
62061         (int_retval): Likewise.
62062         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62063         macro.
62064         (pltexit): Likewise.
62065         (La_regs): Likewise.
62066         (La_retval): Likewise.
62067         (int_retval): Likewise.
62068         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62069         macro definitions in tst-audit.h.
62070         * sysdeps/i386/tst-audit.h: New file.
62071         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62072         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62073         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62074         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62075         * sysdeps/sh/tst-audit.h: Likewise.
62076         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62077         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62078         * sysdeps/x86_64/tst-audit.h: Likewise.
62080 2012-07-26  Andreas Jaeger  <aj@suse.de>
62082         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62083         ptrace.
62085         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62086         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62087         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62088         PTRACE_O_MASK.
62089         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62090         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62091         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62093         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62094         value.
62096         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62097         _sigsys.
62098         (si_call_addr, si_syscall, si_arch): Define new macro.
62099         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62100         _sigsys.
62101         (si_call_addr, si_syscall, si_arch): Define new marcro.
62102         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62103         _sigsys.
62104         (si_call_addr, si_syscall, si_arch): Define new macro.
62105         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62106         _sigsys.
62107         (si_call_addr, si_syscall, si_arch): Define new macro.
62109 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62111         [BZ #13717]
62112         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62113         Change to 2.4.21 where previously 2.4.1.
62114         * sysdeps/unix/sysv/linux/configure: Regenerated.
62115         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62116         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62117         Linux kernel version.
62118         (__ASSUME_STD_AUXV): Remove.
62119         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62120         kernel version.
62121         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62122         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62123         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62124         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62125         (__ASSUME_NETLINK_SUPPORT): Likewise.
62126         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62127         (__no_netlink_support): Remove conditional definition.
62128         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62129         Remove.
62130         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62131         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62132         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62133         (if_nameindex_ioctl): Remove.
62134         (if_nameindex_netlink): Do not handle __no_netlink_support.
62135         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62136         code.
62137         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62138         Remove conditional code.
62139         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62140         code.
62141         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62142         unconditional.
62143         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62144         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62145         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62146         Remove.
62147         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62148         [!__ASSUME_STD_AUXV]: Remove conditional code.
62149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62150         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62151         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62153         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62154         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62155         code.
62156         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62158         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62159         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62160         conditional code.
62161         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62163         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62164         code.
62165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62166         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62167         conditional code.
62168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62169         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62170         code unconditional.
62171         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62172         conditional code.
62173         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62174         unconditional.
62175         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62176         conditional code.
62177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62178         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62179         unconditional.
62180         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62181         conditional code.
62182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62183         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62184         code unconditional.
62185         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62186         conditional code.
62187         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62188         unconditional.
62189         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62190         conditional code.
62191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62192         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62193         code unconditional.
62194         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62195         conditional code.
62196         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62197         unconditional.
62198         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62199         conditional code.
62201 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62203         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62204         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62205         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62206         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62207         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62208         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62209         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62210         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62211         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62212         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62213         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62214         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62215         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62216         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62217         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62218         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62219         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62220         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62221         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62223         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62224         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62225         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62227 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62229         * Versions.def: Add GLIBC_2.17.
62230         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62231         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62232         Introduce __libc_secure_getenv.
62233         * stdlib/Versions (2.17): Add secure_getenv
62234         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62235         * stdlib/secure-getenv.c: Rename __secure_getenv to
62236         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62237         symbol __secure_getenv for GLIBC_2.0.
62238         * stdlib/tst-secure-getenv.c: New.
62239         * stdlib/Makefile (tests): Add testcase.
62240         * manual/startup.texi (Environment Access): Document
62241         secure_getenv.
62242         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62243         __libc_secure_getenv.
62244         * inet/ruserpass.c (ruserpass): Likewise.
62245         * malloc/mtrace.c (mtrace): Likewise.
62246         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62247         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62248         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62249         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62250         HAVE_SECURE_GETENV.
62251         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62252         __secure_getenv to __libc_secure_getenv.
62253         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62255         Likewise.
62256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62257         Likewise.
62258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62260         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62266 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62268         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62269         (struct La_i86_retval): Likewise.
62270         (struct La_x86_64_regs): Likewise.
62271         (struct La_x86_64_retval): Likewise.
62272         (struct La_x32_regs): Likewise.
62273         (struct La_x32_retval): Likewise.
62274         (struct La_ppc32_regs): Likewise.
62275         (struct La_ppc32_retval): Likewise.
62276         (struct La_ppc64_regs): Likewise.
62277         (struct La_ppc64_retval): Likewise.
62278         (struct La_sh_regs): Likewise.
62279         (struct La_sh_retval): Likewise.
62280         (struct La_s390_32_regs): Likewise.
62281         (struct La_s390_32_retval): Likewise.
62282         (struct La_s390_64_regs): Likewise.
62283         (struct La_s390_64_retval): Likewise.
62284         (struct La_sparc32_regs): Likewise.
62285         (struct La_sparc32_retval): Likewise.
62286         (struct La_sparc64_regs): Likewise.
62287         (struct La_sparc64_retval): Likewise.
62288         (struct audit_ifaces): Remove architecture-specific pltenter and
62289         pltexit members.
62290         * sysdeps/i386/ldsodefs.h: New file.
62291         * sysdeps/powerpc/ldsodefs.h: Likewise.
62292         * sysdeps/s390/ldsodefs.h: Likewise.
62293         * sysdeps/sh/ldsodefs.h: Likewise.
62294         * sysdeps/sparc/ldsodefs.h: Likewise.
62295         * sysdeps/x86_64/ldsodefs.h: Likewise.
62297 2012-07-25  Marek Polacek  <polacek@redhat.com>
62299         [BZ #6808]
62300         * math/libm-test.inc (yn_test): Add another test.
62301         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62302         to ERANGE when the result is +-Inf.
62303         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62304         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62305         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62306         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62308 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62310         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62311         equal to 0.
62312         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62313         clock_t.
62314         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62316 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62318         * configure.in <sysdeps resolving>: Correct printing
62319         Implies_before.
62320         * configure: Regenerate.
62322 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62324         * math/w_ilogb.c: Include <limits.h>.
62325         * math/w_ilogbl.c: Likewise.
62327 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62329         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62330         va_copy.  Document allowing for unavailable va_copy only as
62331         pre-C99 compatibility.
62332         * manual/string.texi (Copying and Concatenation): Use va_copy
62333         instead of __va_copy in concat example.
62335 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62337         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62338         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62339         it if not null.
62341         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62342         with O_NOLINK passed to __file_name_lookup.
62344         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62345         with O_NOLINK passed to __file_name_lookup.
62347         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62348         negative N or less than NGIDS.
62350         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62351         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62352         enough.  Use memcpy instead of strncpy.
62354 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62356         * elf/Makefile (check-data): Remove.
62357         (localplt.data): New vpath directive.
62358         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62359         instead of $(check-data).
62360         * scripts/data/localplt-generic.data: Move to ...
62361         * sysdeps/generic/localplt.data: ... here.
62362         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62363         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62364         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62366         ... here.
62367         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62369         ... here.
62370         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62372         ... here.
62373         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62375         ... here.
62376         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62378         ... here.
62379         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62381         ... here.
62383 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62385         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62386         PPC32 and PPC64 files.
62387         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62388         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62390 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62392         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62393         __makecontext_ret to ...
62394         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62395         ... here and call exit if uc_link is NULL.  New file.
62396         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62397         __makecontext_ret.S.
62398         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62399         __makecontext_ret to ...
62400         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62401         ... here and call exit if uc_link is NULL.  New file.
62402         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62403         __makecontext_ret.S.
62405 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62407         * elf/elf.h (R_390_IRELATIVE): New definition.
62408         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62409         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62410         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62411         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62412         (elf_machine_lazy_rel): Likewise.
62413         * sysdeps/s390/dl-irel.h: New file.
62414         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62415         * sysdeps/s390/s390-64/memset.S: New asm code.
62416         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62417         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62418         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62419         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62420         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62421         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62422         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62423         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62424         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62425         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62426         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62427         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62428         * sysdeps/s390/s390-32/memset.S: New asm code.
62429         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62431 2012-07-17  Marek Polacek  <polacek@redhat.com>
62433         [BZ #14349]
62434         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62435         * sysdeps/s390/s390-64/configure.in: Likewise.
62436         * sysdeps/sparc/configure.in: Likewise.
62437         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62438         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62439         * sysdeps/i386/configure.in: Likewise.
62440         * sysdeps/x86_64/configure.in: Likewise.
62441         * sysdeps/sh/configure.in: Likewise.
62442         * sysdeps/s390/s390-32/configure: Regenerated.
62443         * sysdeps/s390/s390-64/configure: Likewise.
62444         * sysdeps/x86_64/configure: Likewise.
62445         * sysdeps/sh/configure: Likewise.
62446         * sysdeps/powerpc/powerpc64/configure: Likewise.
62447         * sysdeps/powerpc/powerpc32/configure: Likewise.
62448         * sysdeps/sparc/configure: Likwise.
62449         * sysdeps/i386/configure: Likewise.
62451         * elf/dl-open.c: Comment fixes.
62453 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62455         * Makefile [CXX] (check-data): Remove.
62456         [CXX] (c++-types.data): New vpath directive.
62457         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62458         vpath.  Do not allow for C++ type data being missing.
62459         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62460         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62461         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62462         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62463         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62464         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62465         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62467         ... here.
62468         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62470         ... here.
62471         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62473         ... here.
62474         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62476         ... here.
62477         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62479         ... here.
62480         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62482         ... here.
62483         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62485         ... here.
62486         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62489         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62490         definitions to architecture-specific files.
62491         (TLS_IE): Likewise.
62492         (TLS_LD): Likewise.
62493         (TLS_GD): Likewise.
62494         * sysdeps/i386/tls-macros.h: New file.
62495         * sysdeps/powerpc/tls-macros.h: Likewise.
62496         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62497         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62498         * sysdeps/sh/tls-macros.h: Likewise.
62499         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62500         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62501         * sysdeps/x86_64/tls-macros.h: Likewise.
62503 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62505         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62506         zero value for regular exit case.
62508         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62509         (__start_context): Preserve zero value for regular exit case.
62511 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62512             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62514         * manual/setjmp.texi (setcontext): Clarify normal process
62515         termination when uc_link is the null pointer.
62516         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62517         exit call.
62519 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
62521         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62522         preprocessor.  Test for each exception mask separately.
62524 2012-07-16  Andreas Jaeger  <aj@suse.de>
62526         * po/ru.po: Update from translation team.
62528 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
62530         * conform/data/string.h-data (NULL): Use macro-constant.  Require
62531         equal to 0.
62532         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62533         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62534         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62535         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62536         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62538 2012-07-13  Andreas Jaeger  <aj@suse.de>
62540         * po/fr.po: Update from translation team.
62542 2012-07-12  Marek Polacek  <polacek@redhat.com>
62544         [BZ #14173]
62545         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62546         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62547         loop condition.
62549 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62551         [BZ #13717]
62552         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62553         Change to 2.4.1 where previously 2.4.0.
62554         * sysdeps/unix/sysv/linux/configure: Regenerated.
62555         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62556         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62557         version.
62558         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62559         (__ASSUME_AT_CLKTCK): Remove.
62560         (__ASSUME_AT_PAGESIZE): Likewise.
62561         (__ASSUME_AT_XID): Likewise.
62562         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62563         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62564         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62565         unconditionally.
62566         (HAVE_AUX_PAGESIZE): Likewise.
62567         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62568         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62569         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62571 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62573         [BZ #14307]
62574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62575         the temporary buffer used to invoke __gethostbyname2_r,
62576         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62577         host_data / struct gaih_addrtuple.
62578         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62579         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62580         header file nss/nsswitch.h.
62581         * nss/nsswitch.h (global scope): Add definition of implementation
62582         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62583         resolv/nss_dns/dns-host.c).
62585 2012-07-11  Andreas Jaeger  <aj@suse.de>
62587         * po/fr.po: Update from translation team.
62589         * po/sv.po: Update from translation team
62590         * po/fr.po: Another update from translation team.
62592 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62594         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62595         for subnormals or multiply small sinh result by itself.
62596         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62599 2012-07-11  David S. Miller  <davem@davemloft.net>
62601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62603 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
62605         [BZ #14347]
62606         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62607         (INTERNAL_MARK): Shift it here.
62609 2012-07-10  Marek Polacek  <polacek@redhat.com>
62611         [BZ #14151]
62612         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
62613         libc_cv_asm_global_directive with .globl.
62614         * configure: Regenerated.
62615         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62616         with .globl.
62617         * sysdeps/i386/configure: Regenerated.
62618         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62619         with .globl.
62620         * sysdeps/x86_64/configure: Regenerated.
62621         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62622         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62623         * elf/tst-unique2mod2.c: Likewise.
62624         * elf/tst-unique2mod1.c: Likewise.
62625         * elf/tst-unique1mod2.c: Likewise.
62626         * elf/tst-unique1mod1.c: Likewise.
62627         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62628         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62629         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62630         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62631         * sysdeps/mach/sysdep.h: Likewise.
62632         * sysdeps/i386/sysdep.h: Likewise.
62633         * sysdeps/i386/i386-mcount.S: Likewise.
62634         * sysdeps/x86_64/_mcount.S: Likewise.
62635         * sysdeps/x86_64/sysdep.h: Likewise.
62636         * sysdeps/sh/_mcount.S: Likewise.
62637         * sysdeps/sh/sysdep.h: Likewise.
62638         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62639         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62640         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62641         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62642         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62643         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62644         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62645         * locale/localeinfo.h: Likewise.
62646         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62647         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62649 2012-07-09  Roland McGrath  <roland@hack.frob.com>
62651         [BZ #14336]
62652         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62653         system".
62654         * manual/message.texi (The Uniforum approach): Likewise.
62655         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62656         (glibc iconv Implementation): Likewise.
62658 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
62660         [BZ #14337]
62661         * math/s_clog.c (__clog): Avoid scaling a value down where that
62662         could result in underflow.
62663         * math/s_clog10.c (__clog10): Likewise.
62664         * math/s_clog10f.c (__clog10f): Likewise.
62665         * math/s_clog10l.c (__clog10l): Likewise.
62666         * math/s_clogf.c (__clogf): Likewise.
62667         * math/s_clogl.c (__clogl): Likewise.
62668         * math/libm-test.inc (clog_test): Add more tests.
62669         (clog10_test): Likewise.
62670         * sysdeps/i386/fpu/libm-test-ulps: Update.
62671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62673 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
62675         [BZ #14283]
62676         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62677         by 7 not 8 to examine high bit of fractional part.
62679         [BZ #14042]
62680         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62681         for call to __mcount_internal.
62682         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62683         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62684         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62686 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
62688         [BZ #14154]
62689         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62690         approximation for values within 0x1p-13f of an odd multiple of
62691         pi/4.
62692         * math/libm-test.inc (tan_test): Do not allow spurious underflow
62693         exception.  Add more tests.
62694         * sysdeps/i386/fpu/libm-test-ulps: Update.
62696         [BZ #6778]
62697         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62698         inputs and return -1 for them.  Do not check for +Inf in case not
62699         reachable for +Inf.
62700         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62701         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62702         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62703         and return -1 for them.  Do not check for +Inf in case not
62704         reachable for +Inf.
62705         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62706         define.
62707         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62708         and return -1 for them.  Do not check for +Inf in case not
62709         reachable for +Inf.
62710         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
62711         spurious underflow.
62712         * sysdeps/i386/fpu/libm-test-ulps: Update.
62713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62715 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
62717         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62719 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
62721         [BZ #14157]
62722         [BZ #14331]
62723         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62724         could result in spurious underflow.  Scale down values above
62725         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62726         * math/s_csqrtf.c (__csqrtf): Likewise.
62727         * math/s_csqrtl.c (__csqrtl): Likewise.
62728         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
62729         spurious underflow.
62730         * sysdeps/i386/fpu/libm-test-ulps: Update.
62731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62733 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
62735         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62736         xopen-msg.sed.
62737         * catgets/xopen-msg.awk: New file.
62738         * catgets/xopen-msg.sed: Removed.
62740         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62741         po2text.sed.
62742         * intl/po2test.awk: New file.
62743         * intl/po2test.sed: Removed.
62745 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
62747         [BZ #14328]
62748         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62749         or multiply small sinh result by itself.
62750         * math/s_ctanf.c (__ctanf): Likewise.
62751         * math/s_ctanh.c (__ctanh): Likewise.
62752         * math/s_ctanhf.c (__ctanhf): Likewise.
62753         * math/s_ctanhl.c (__ctanhl): Likewise.
62754         * math/s_ctanl.c (__ctanl): Likewise.
62755         * math/libm-test.inc (ctan_test_tonearest): New function.
62756         (ctan_test_towardzero): Likewise.
62757         (ctan_test_downward): Likewise.
62758         (ctan_test_upward): Likewise.
62759         (ctanh_test_tonearest): Likewise.
62760         (ctanh_test_towardzero): Likewise.
62761         (ctanh_test_downward): Likewise.
62762         (ctanh_test_upward): Likewise.
62763         (main): Call these new functions.
62764         * sysdeps/i386/fpu/libm-test-ulps: Update.
62765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62767 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
62769         * .gitignore: Delete /ports entry.
62771 2012-07-03  Andreas Jaeger  <aj@suse.de>
62773         * po/bg.po: Update from translation team.
62774         * po/cs.po: Likewise.
62775         * po/de.po: Likewise.
62776         * po/hr.po: Likewise.
62777         * po/nl.pl: Likewise.
62778         * po/pl.po: Likewise.
62779         * po/vi.po: Likewise.
62781 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
62783         * Makeconfig [!+link] (+link-before-libc): New variable.
62784         [!+link] (+link-after-libc): Likewise.
62785         [!+link] (+link-tests): Likewise.
62786         [!+link] (+link): Define in terms of $(+link-before-libc) and
62787         $(+link-after-libc).
62788         [!+link-static] (+link-static-before-libc): New variable.
62789         [!+link-static] (+link-static-after-libc): Likewise.
62790         [!+link-static] (+link-static-tests): Likewise.
62791         [!+link-static] (+link-static): Define in terms of
62792         $(+link-static-before-libc) and $(+link-static-after-libc).
62793         [build-shared] (link-libc-before-gnulib): New variable.
62794         [build-shared] (link-libc-tests): Likewise.
62795         [build-shared] (link-libc): Define in terms of
62796         $(link-libc-before-gnulib).
62797         [!build-shared] (link-libc-tests): New variable.
62798         (link-libc-static-tests): New variable.
62799         [!gnulib] (gnulib-arch): New variable.
62800         [!gnulib] (gnulib-tests): Likewise.
62801         [!gnulib] (static-gnulib-arch): Likewise.
62802         [!gnulib] (static-gnulib-tests): Likewise.
62803         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
62804         Define with "=" instead of ":=".
62805         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
62806         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
62807         * Rules (binaries-all-notests): New variable.
62808         (binaries-all-tests): Likewise.
62809         (binaries-static-notests): Likewise.
62810         (binaries-static-tests): Likewise.
62811         (binaries-all): Define using $(binaries-all-notests) and
62812         $(binaries-all-tests).
62813         (binaries-static): Define using $(binaries-static-notests) and
62814         $(binaries-static-tests).
62815         (binaries-shared-tests): New variable.
62816         (binaries-shared-notests): Likewise.
62817         (binaries-shared): Remove variable.
62818         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62819         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62820         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62821         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62822         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62823         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62824         * elf/Makefile (sln-modules): New variable.
62825         (extra-objs): Add $(sln-modules:=.o).
62826         (ldconfig-modules): Add static-stubs.
62827         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62828         * elf/static-stubs.c: New file.
62830         [BZ #14283]
62831         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62832         by 7 not 8 to examine high bit of fractional part.  Use volatile
62833         variables when splitting into final array of floats if
62834         __FLT_EVAL_METHOD__ != 0.
62835         * math/libm-test.inc (cos_test): Add another test.
62836         (sin_test): Likewise.
62837         * sysdeps/i386/fpu/libm-test-ulps: Update.
62839         [BZ #14273]
62840         * math/libm-test.inc (cosh_test): Add more tests.
62842         * version.h (RELEASE): Set to "development".
62843         (VERSION): Set to "2.16.90".
62845 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
62847         * NEWS: Update copyright. Remove last-updated date.
62848         Mention math library bug fixes and timezone data changes.
62849         * README: Mention GNU/Hurd, x32, and HPPA support status.
62851 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
62853         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62855 2012-06-27  Andreas Jaeger  <aj@suse.de>
62857         * manual/contrib.texi (Contributors): Add Samuel Thibault.
62859 2012-06-25  Andreas Jaeger  <aj@suse.de>
62861         * sysdeps/s390/fpu/libm-test-ulps: Update.
62863 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
62864             Thomas Schwinge  <thomas@codesourcery.com>
62866         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62867         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62868         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62869         fanotify_mark.
62871 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
62873         * sysdeps/mach/start.c: Remove file.
62874         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62875         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62876         * sysdeps/sh/init-first.c: Likewise.
62878         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62879         registers for frame unwinding purposes, add CFI directives.
62880         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62881         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62882         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62883         Likewise.
62885         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62886         __fortify_fail returning.
62887         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62889         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62890         sysdeps/sh/____longjmp_chk.S.
62891         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62892         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62893         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62894         (gen-as-const-headers): Append sigaltstack-offsets.sym.
62896         * sysdeps/sh/abort-instr.h: New file.
62897         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62898         process in case exit returns.
62900         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62901         initialize the GOT register before use.
62903         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62904         calculation of ARGC > 4.
62906         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62907         meaningful names to some local labels.
62909 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62910             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62912         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62913         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62914         (__arch_compare_and_exchange_val_16_acq): Likewise.
62915         (__arch_compare_and_exchange_val_32_acq): Likewise.
62916         (atomic_exchange_and_add): Fix gUSA sequence.
62917         (atomic_add): Likewise.
62918         (atomic_add_negative): Likewise.
62919         (atomic_add_zero): Likewise.
62920         (atomic_bit_test_set): Likewise.
62922 2012-06-22  Andreas Schwab  <schwab@redhat.com>
62924         [BZ #13579]
62925         * include/link.h (struct link_map): Add l_free_initfini.
62926         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62927         l_initfini.
62928         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62929         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62930         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62931         set.
62933 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
62935         * configure.in: Use AC_LANG_SOURCE.
62936         * configure: Regenerate.
62938 2012-06-22  Roland McGrath  <roland@hack.frob.com>
62940         * configure.in (libc_cv_localstatedir): New substituted variable.
62941         * configure: Regenerated.
62942         * config.make.in (localstatedir): New variable, substituted from
62943         libc_cv_localstatedir.
62944         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62945         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62946         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62947         * sysdeps/gnu/configure: Regenerated.
62949 2012-06-21  Jeff Law  <law@redhat.com>
62951         [BZ #14277]
62952         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62953         free.  Simplify list management for _LIBC case.
62955 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
62957         [BZ #14273]
62958         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62959         Clear sign bit of 64-bit integer value before comparing against
62960         overflow value.
62962         * sysdeps/mach/configure: Regenerated.
62964 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
62966         [BZ #14278]
62967         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62969 2012-06-21  Jeff Law  <law@redhat.com>
62971         [BZ #13882]
62972         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
62973         uint16_t for elements in the "seen" array to avoid char overflows.
62974         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62975         * elf/dl-open.c (dl_open_worker): Likewise.
62977 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
62979         * scripts/list-sources.sh: Scan PORTS for translations.
62980         * po/libc.pot: Regenerated.
62982 2012-06-21  Andreas Jaeger  <aj@suse.de>
62984         [BZ #12194]
62985         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
62986         warning.
62987         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
62988         * bits/byteswap-16.h (__bswap_16): Likewise.
62989         * bits/byteswap.h (__bswap_constant_16): Likewise.
62991 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
62993         [BZ #14117]
62994         * sysdeps/i386/fpu_control.h: Removed.
62995         * sysdeps/x86_64/fpu_control.h: Moved to ...
62996         * sysdeps/x86/fpu_control.h: Here.
62998         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62999         (_FPU_SETCW): Likewise.
63001 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63003         [BZ #14117]
63004         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63005         * sysdeps/x86/fpu/bits/mathinline.h: This.
63006         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63008         [BZ #14050]
63009         [BZ #14117]
63010         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63011         functions if __x86_64__ is defined.
63013 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63015         * string/endian.h: Add !__ASSEMBLER__ condition for including
63016         conversion interfaces.
63018 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63020         [BZ #14241]
63021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63022         of ABS(x) in calculating zero to negative powers other than odd
63023         integers.
63024         * math/libm-test.inc (pow_test): Add more tests.
63026 2012-06-15  Andreas Jaeger  <aj@suse.de>
63028         * manual/contrib.texi (Contributors): Update entry of Liubov
63029         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63030         Machado Filho.
63032 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63034         * string/string.h: Add __wur to GNU version of strerror_r.
63036 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63038         [BZ #14229]
63039         * string/Makefile (tests): Add tst-strtok_r.
63040         * string/tst-strtok_r.c: New file.
63041         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63042         RAX_LP/RDX_LP on SAVE_PTR.
63044 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63046         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63048 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63050         * libm_test.inc (csqrt_test): Allow more spurious underflow
63051         exceptions.
63052         (j0_test): Likewise.
63053         (j1_test): Likewise.
63054         (y0_test): Likewise.
63055         (y1_test): Likewise.
63057 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63059         * po/Makefile (libc.pot): Use UTF-8 charset.
63061 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63063         [BZ #14210]
63064         Suppress sign-conversion warning from FD_SET.
63065         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63066         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63067         not unsigned long int.
63068         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63070 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63072         [BZ #14050]
63073         [BZ #14117]
63074         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63075         __extern_always_inline instead of __extern_inline.
63076         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63077         (__signbit): Likewise.
63078         (__signbitl): Support C++ namespace.
63079         (lrintf): New inline function.
63080         (lrint): Likewise.
63081         (llrintf): Likewise.
63082         (llrint): Likewise.
63083         (fmaxf): Likewise.
63084         (fmax): Likewise.
63085         (fminf): Likewise.
63086         (fmin): Likewise.
63087         (rint): Likewise.
63088         (rintf): Likewise.
63089         (ceil): Likewise.
63090         (ceilf): Likewise.
63091         (floor): Likewise.
63092         (floorf): Likewise.
63093         (nearbyint): Likewise.
63094         (nearbyintf): Likewise.
63096 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63098         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63099         non-default versions.
63101 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63103         [BZ #14218]
63104         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63106 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63108         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63109         (FE_UPWARD, FE_DOWNWARD): Don't define.
63110         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63111         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63113         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63114         reading it.
63115         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63116         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63118 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63120         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63121         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63122         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63123         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63125 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63127         [BZ #14117]
63128         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63129         * sysdeps/i386/fpu/Implies: New file.
63130         * sysdeps/x86_64/fpu/Implies: Likewise.
63131         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63132         * sysdeps/x86/fpu/bits/fenv.h: This.
63134         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63135         __SSE_MATH__.
63137 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63139         [BZ #14134]
63140         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63141         character 0xffff that matches the last element of the
63142         conversion table.
63144 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63146         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63147         fmodl commit.
63149 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63151         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63152         values higher than 25.6283.
63154 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63156         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63157         subnormal exponent extraction and add some __builtin_expect.
63158         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63159         Fix for subnormal mantissa calculation.
63161 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63163         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63164         cpu2 is -1 and errno is not ENOSYS.
63166 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63168         [BZ #14117]
63169         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63170         * sysdeps/x86/bits/string.h: This.
63171         * sysdeps/x86_64/bits/string.h: Removed.
63173         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63174         if not compiling for x86-64, but compiling for >= i486.
63176         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63177         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63179         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63180         New macro from Linux kernel 3.4.0.
63181         (FP_XSTATE_MAGIC2): Likewise.
63182         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63183         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63184         (struct _fpx_sw_bytes): New struct.
63185         (struct _xsave_hdr): Likewise.
63186         (struct _ymmh_state): Likewise.
63187         (struct _xstate): Likewise.
63189         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63190         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63191         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63192         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63193         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63194         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63196         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63197         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63198         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63199         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63200         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63201         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63203 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63205         [BZ #13743]
63206         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63207         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63208         (sysdep_headers): Include sys/platform/ppc.h.
63209         * sysdeps/powerpc/test-gettimebase.c: Test for
63210         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63211         * manual/Makefile (appendices): Include platform.texi.
63212         * manual/contrib.texi (Contributors): Update @node pointers.
63213         * manual/maint.texi (Maintenance): Likewise.
63214         (Platform): New node.
63215         * manual/platform.texi: New file.  Document the new features.
63217 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63218             Jakub Jelinek  <jakub@redhat.com>
63220         [BZ #14188]
63221         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63222         where __builtin_expect is unavailable.
63224 2012-06-03  David S. Miller  <davem@davemloft.net>
63226         * stdlib/longlong.h: Updated from GCC.
63228 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63230         [BZ #14042]
63231         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63232         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63233         __mcount_internal.
63234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63235         (GLIBC_2.16): Likewise.
63237 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63239         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63241 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63244         (default-abi): New variable.
63245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63246         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63247         variable.
63248         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63249         Likewise.
63250         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63251         Likewise.
63252         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63253         Likewise.
63255         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63256         definition.  Document in comment.
63258 2012-06-01  David S. Miller  <davem@davemloft.net>
63260         * stdlib/longlong.h: Updated from GCC.
63262 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63264         [BZ #14117]
63265         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63266         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63267         sys/debugreg.h sys/io.h here.
63268         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63269         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63270         sys/io.h.
63271         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63272         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63273         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63274         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63275         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63276         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63278         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63279         Define only if __x86_64__ is defined.
63281 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63283         [BZ #14048]
63284         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63285         Use int64_t for variable i.
63286         * math/libm-test.inc (fmod_test): Add more tests.
63288         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63289         z computation is not scheduled after fetestexcept.
63290         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63291         Use math_force_eval instead of asm to ensure calculation scheduled
63292         before exception test.
63293         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63294         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63296 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63298         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63299         computation is not scheduled after fetestexcept.
63301 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63303         [BZ #14117]
63304         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63305         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63307 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63309         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63310         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63312 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63314         [BZ #14117]
63315         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63316         <bits/wordsize.h>.
63317         (__WCHAR_MIN): Support __WORDSIZE == 64.
63318         (__WCHAR_MAX): Likewise.
63320         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63321         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63323         [BZ #14183]
63324         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63325         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63327         [BZ #14117]
63328         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63329         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63331         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63332         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63334         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63335         Defined to 1 if __x86_64__ isn't defined.
63336         (_STAT_VER_LINUX_OLD): New.
63337         (st_atime): Remove duplicate.
63338         (st_mtime): Likewise.
63339         (st_ctime): Likewise.
63341 2012-05-31  David S. Miller  <davem@davemloft.net>
63343         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63344         entries.
63346 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63348         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63349         gen-libm-test.pl.
63351         [BZ #14132]
63352         * elf/dl-reloc.c: Include <_itoa.h>.
63353         (_dl_reloc_bad_type): Remove use of INTUSE.
63354         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63355         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63356         * stdio-common/psiginfo.c (psiginfo): Likewise.
63357         * stdio-common/psignal.c (psignal): Likewise.
63358         * string/strsignal.c (strsignal): Likewise.
63359         * include/signal.h (_sys_siglist): Declare hidden proto.
63360         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63361         INTVARDEF with libc_hidden_data_def.
63362         * stdio-common/itoa-udigits.c: Likewise.
63363         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63364         (_itoa_lower_digits_internal): Remove declaration.
63365         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63366         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63367         (_sys_sigabbrev_internal): Remove aliases.
63368         (_sys_siglist): Define hidden alias.
63370 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63372         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63373         bits/sysctl.h.
63375 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63377         [BZ #14117]
63378         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63379         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63381         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63382         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63383         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63384         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63385         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63386         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63388         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63389         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63390         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63392         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63393         with __addr.
63394         (insw): Likewise.
63395         (insl): Likewise.
63396         (outsb): Likewise.
63397         (outsw): Likewise.
63398         (outsl): Likewise.
63400         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63401         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63402         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63404         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63405         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63406         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63407         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63408         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63409         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63411         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63412         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63414         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63415         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63417         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63418         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63419         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63421         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63422         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63423         to ...
63424         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63426         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63427         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63428         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63430         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63431         for x86-64.
63432         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63434 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63436         * math/math.h (M_El): Use two more decimal places.
63437         (M_LOG2El): Likewise.
63438         (M_LOG10El): Likewise.
63439         (M_LN2l): Likewise.
63440         (M_LN10l): Likewise.
63441         (M_PIl): Likewise.
63442         (M_PI_2l): Likewise.
63443         (M_PI_4l): Likewise.
63444         (M_1_PIl): Likewise.
63445         (M_2_PIl): Likewise.
63446         (M_2_SQRTPIl): Likewise.
63447         (M_SQRT2l): Likewise.
63448         (M_SQRT1_2l): Likewise.
63450 2012-05-31  David S. Miller  <davem@davemloft.net>
63452         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63453         values between float registers.
63454         * sysdeps/sparc/sparc64/memset.S: Likewise.
63455         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63457 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63459         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63460         -D_FORTIFY_SOURCE=1.
63461         (CPPFLAGS-tst-longjmp_chk.c): Define.
63462         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63463         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63464         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63465         CFLAGS-tst-wchar-h.c.
63467 2012-05-31  Marek Polacek  <polacek@redhat.com>
63469         [BZ #14132]
63470         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63471         __endmntent_internal): Remove declaration.
63472         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63473         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63474         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63476 2012-05-30  David S. Miller  <davem@davemloft.net>
63478         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63479         (___Q_simulate_exceptions): Use real FP ops rather than writing
63480         into the %fsr.
63481         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63482         Likewise.
63484 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63486         [BZ #14117]
63487         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63488         * sysdeps/x86/bits/xtitypes.h: This.
63490         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63491         * sysdeps/x86/bits/wordsize.h: This.
63493         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63494         * sysdeps/x86/bits/huge_vall.h: This.
63496         * sysdeps/i386/bits/select.h: Removed.
63497         * sysdeps/x86_64/bits/select.h: Renamed to ...
63498         * sysdeps/x86/bits/select.h: This.
63500         * sysdeps/i386/bits/setjmp.h: Removed.
63501         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63502         * sysdeps/x86/bits/setjmp.h: This.
63504         * sysdeps/i386/bits/mathdef.h: Removed.
63505         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63506         * sysdeps/x86/bits/mathdef.h: This.
63508 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63510         [BZ #14132]
63511         * include/sys/socket.h (__connect_internal)
63512         (__libc_sa_len_internal): Remove declaration.
63513         (__connect, __libc_sa_len): Declare hidden_proto.
63514         (SA_LEN): Remove use of INTUSE.
63515         * socket/connect.c: Add libc_hidden_def.
63516         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63517         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63518         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63519         alias.
63520         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63521         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63522         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63523         of adding _internal alias.
63525 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63527         [BZ #14117]
63528         * sysdeps/i386/bits/link.h: Removed.
63529         * sysdeps/i386/bits/linkmap.h: Likewise.
63530         * sysdeps/x86_64/bits/link.h: Renamed to ...
63531         * sysdeps/x86/bits/link.h: This.
63532         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63533         * sysdeps/x86/bits/linkmap.h: This.
63535         * sysdeps/i386/bits/endian.h: Removed.
63536         * sysdeps/x86_64/bits/endian.h: Renamed to ...
63537         * sysdeps/x86/bits/endian.h: This.
63539         * sysdeps/i386/bits/byteswap.h: Removed.
63540         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63541         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63542         * sysdeps/x86/bits/byteswap.h: This.
63543         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63544         * sysdeps/x86/bits/byteswap-16.h: This.
63545         * sysdeps/i386/Implies: Add x86.
63546         * sysdeps/x86_64/Implies: Likewise.
63548 2012-05-30  David S. Miller  <davem@davemloft.net>
63550         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63551         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63552         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63553         (FP_TRAPPING_EXCEPTIONS): Define.
63554         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63555         (FP_TRAPPING_EXCEPTIONS): Define.
63556         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63557         subnormals only when inexact has been signalled or underflow
63558         exceptions are enabled.
63559         (_FP_PACK_CANONICAL): Likewise.
63561 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63563         [BZ #14183]
63564         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63565         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63567 2012-05-30  Richard Henderson  <rth@twiddle.net>
63569         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63570         with #ifndef NOT_IN_libc.
63572         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63573         marked to avoid plt entry.
63575 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63577         [BZ #14112]
63578         * Makeconfig (default-abi): New macro.
63579         (abi-includes): Likewise.
63580         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63581         $(abi-$(default-abi)-lib-soname) for soname if defined.
63582         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63583         abi-variants.
63584         * Makefile (installed-stubs): Likewise.
63585         * include/stubs-biarch.h: Removed.
63586         * scripts/lib-names.awk: Only handle one library at a time.
63587         * scripts/soversions.awk: Remove WORDSIZE support.
63588         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63589         entries.
63590         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63591         Removed.
63592         (syscall-list-default-condition): Likewise.
63593         (syscall-list-default-condition): Likewise.
63594         (syscall-list-includes): Likewise.
63595         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63596         syscall-list-* with abi-*.  Handle undefined abi-variants.
63597         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63598         * sysdeps/unix/sysv/linux/i386/Implies: New file.
63599         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63600         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63601         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63602         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63603         Removed.
63604         (syscall-list-32-options): Likewise.
63605         (syscall-list-32-condition): Likewise.
63606         (syscall-list-64-options): Likewise.
63607         (syscall-list-64-condition): Likewise.
63608         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63609         macro.
63610         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63611         Renamed to ...
63612         (abi-*): This.
63613         (abi-64-ld-soname): New macro.
63614         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63615         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63616         Renamed to ...
63617         (abi-*): This.
63618         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63619         * sysdeps/x86_64/x32/shlib-versions: Likewise.
63621 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
63623         * sysdeps/unix/sysv/linux/kernel-features.h
63624         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63625         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63626         include <kernel-features.h>.
63627         [!__NR_ftruncate64]: Remove conditional code.
63628         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63629         [__NR_ftruncate64]: Make code unconditional.
63630         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63631         * sysdeps/unix/sysv/linux/truncate64.c: Do not
63632         include <kernel-features.h>.
63633         [!__NR_ftruncate64]: Remove conditional code.
63634         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63635         [__NR_ftruncate64]: Make code unconditional.
63636         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63638         include <kernel-features.h>.
63639         [!__NR_ftruncate64]: Remove conditional code.
63640         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63641         [__NR_ftruncate64]: Make code unconditional.
63642         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63644         include <kernel-features.h>.
63645         [!__NR_ftruncate64]: Remove conditional code.
63646         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63647         [__NR_ftruncate64]: Make code unconditional.
63648         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63650         * configure.in (libc_cv_fpie): Weaken to a compile test using
63651         LIBC_TRY_CC_OPTION.
63652         * configure: Regenerated.
63654 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63660         Refreshed.
63661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63667         Refreshed.
63669 2012-05-27  David S. Miller  <davem@davemloft.net>
63671         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63672         (___Q_zero): New.
63673         (__Q_simulate_exceptions): Return void.  Change to simulate
63674         exceptions by writing into the %fsr.
63675         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63676         (__Qp_handle_exceptions): Likewise.
63677         (numbers): Delete.
63678         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63679         __Qp_handle_exceptions.
63680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63681         __Qp_handle_exceptions.
63682         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63683         as unused and give dummy FP_RND_NEAREST initializer.
63684         (FP_INHIBIT_RESULTS): Define.
63685         (___Q_simulate_exceptions): Update declaration.
63686         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63687         formatting.
63688         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63689         as unused and give dummy FP_RND_NEAREST initializer.
63690         (__Qp_handle_exceptions): Update declaration.
63691         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63692         formatting.
63694 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
63696         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63697         the temporary FPU control word.
63698         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63699         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63700         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63701         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63702         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63703         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63704         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63705         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63706         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63707         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63708         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63710 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63712         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63713         fields.
63715 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
63717         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63718         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63719         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63720         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63721         Likewise.
63722         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63723         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63724         Likewise.
63726 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
63728         * po/h.po: Update from translation team.
63730 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
63732         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63734         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63735         handling of denormals.
63736         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63737         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63738         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63739         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63740         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63741         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63742         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63743         Likewise.
63745 2012-05-26  Marek Polacek  <polacek@redhat.com>
63747         [BZ #14152]
63748         * math/libm-test.inc (fma_test): Don't always expect underflow
63749         exception.
63751 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63753         [BZ #12416]
63754         * elf/tst-execstack.c: Include stackinfo.h.
63755         (do_test): Adjust test case to ensure that pthread_getattr_np
63756         behaviour remains the same after marking stack executable.
63758 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63760         * sysdeps/unix/sysv/linux/kernel-features.h
63761         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63762         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63763         kernel-features.h.
63764         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63765         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63766         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63767         kernel-features.h.
63768         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63769         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63771 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
63773         * configure.in: Define the default includes to being none.
63774         * configure: Regenerated.
63776 2012-05-25  Roland McGrath  <roland@hack.frob.com>
63778         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63779         * sysdeps/x86_64/setjmp.S: Likewise.
63780         * sysdeps/i386/bsd-setjmp.S: Likewise.
63781         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63782         * sysdeps/i386/setjmp.S: Likewise.
63783         * sysdeps/i386/__longjmp.S: Likewise.
63784         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63785         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63787         * include/stap-probe.h: New file.
63788         * configure.in: Handle --enable-systemtap.
63789         * configure: Regenerated.
63790         * config.h.in (USE_STAP_PROBE): New #undef.
63791         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63792         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63793         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63795 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63797         [BZ #13717]
63798         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63799         to 2.4.0 where earlier.
63800         * sysdeps/unix/sysv/linux/configure: Regenerated.
63801         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63802         <kernel-features.h>.
63803         [__ASSUME_32BITUIDS]: Make code unconditional.
63804         [!__ASSUME_32BITUIDS]: Remove conditional code.
63805         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
63806         <kernel-features.h>.
63807         [__ASSUME_32BITUIDS]: Make code unconditional.
63808         [!__ASSUME_32BITUIDS]: Remove conditional code.
63809         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
63810         [__ASSUME_32BITUIDS]: Make code unconditional.
63811         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
63812         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
63813         <kernel-features.h>.
63814         [__ASSUME_32BITUIDS]: Make code unconditional.
63815         [!__ASSUME_32BITUIDS]: Remove conditional code.
63816         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
63817         <kernel-features.h>.
63818         [__ASSUME_32BITUIDS]: Make code unconditional.
63819         [!__ASSUME_32BITUIDS]: Remove conditional code.
63820         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
63821         <kernel-features.h>.
63822         [__ASSUME_32BITUIDS]: Make code unconditional.
63823         [!__ASSUME_32BITUIDS]: Remove conditional code.
63824         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
63825         <kernel-features.h>.
63826         [__ASSUME_32BITUIDS]: Make code unconditional.
63827         [!__ASSUME_32BITUIDS]: Remove conditional code.
63828         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63829         <kernel-features.h>.
63830         [__ASSUME_32BITUIDS]: Make code unconditional.
63831         [!__ASSUME_32BITUIDS]: Remove conditional code.
63832         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63833         <kernel-features.h>.
63834         [__ASSUME_32BITUIDS]: Make code unconditional.
63835         [!__ASSUME_32BITUIDS]: Remove conditional code.
63836         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
63837         <kernel-features.h>.
63838         [__ASSUME_32BITUIDS]: Make code unconditional.
63839         [!__ASSUME_32BITUIDS]: Remove conditional code.
63840         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63841         <kernel-features.h>.
63842         [__ASSUME_32BITUIDS]: Make code unconditional.
63843         [!__ASSUME_32BITUIDS]: Remove conditional code.
63844         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63845         <kernel-features.h>.
63846         [__ASSUME_32BITUIDS]: Make code unconditional.
63847         [!__ASSUME_32BITUIDS]: Remove conditional code.
63848         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
63849         <kernel-features.h>.
63850         [__ASSUME_32BITUIDS]: Make code unconditional.
63851         [!__ASSUME_32BITUIDS]: Remove conditional code.
63852         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
63853         <kernel-features.h>.
63854         [__NR_setresgid] (__setresgid): Do not declare.
63855         [__ASSUME_32BITUIDS]: Make code unconditional.
63856         [!__ASSUME_32BITUIDS]: Remove conditional code.
63857         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63858         <kernel-features.h>.
63859         [__NR_setresuid] (__setresuid): Do not declare.
63860         [__ASSUME_32BITUIDS]: Make code unconditional.
63861         [!__ASSUME_32BITUIDS]: Remove conditional code.
63862         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
63863         <kernel-features.h>.
63864         [__ASSUME_32BITUIDS]: Make code unconditional.
63865         [!__ASSUME_32BITUIDS]: Remove conditional code.
63866         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
63867         <kernel-features.h>.
63868         [__ASSUME_32BITUIDS]: Make code unconditional.
63869         [!__ASSUME_32BITUIDS]: Remove conditional code.
63870         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
63871         <kernel-features.h>.
63872         [__ASSUME_32BITUIDS]: Make code unconditional.
63873         [!__ASSUME_32BITUIDS]: Remove conditional code.
63874         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
63875         <kernel-features.h>.
63876         [__ASSUME_32BITUIDS]: Make code unconditional.
63877         [!__ASSUME_32BITUIDS]: Remove conditional code.
63878         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
63879         <kernel-features.h>.
63880         [__ASSUME_32BITUIDS]: Make code unconditional.
63881         [!__ASSUME_32BITUIDS]: Remove conditional code.
63882         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
63883         <kernel-features.h>.
63884         [__ASSUME_32BITUIDS]: Make code unconditional.
63885         [!__ASSUME_32BITUIDS]: Remove conditional code.
63886         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
63887         <kernel-features.h>.
63888         [__ASSUME_32BITUIDS]: Make code unconditional.
63889         [!__ASSUME_32BITUIDS]: Remove conditional code.
63890         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
63891         <kernel-features.h>.
63892         [__ASSUME_32BITUIDS]: Make code unconditional.
63893         [!__ASSUME_32BITUIDS]: Remove conditional code.
63894         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
63895         <kernel-features.h>.
63896         [__ASSUME_32BITUIDS]: Make code unconditional.
63897         [!__ASSUME_32BITUIDS]: Remove conditional code.
63898         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63899         <kernel-features.h>.
63900         [__ASSUME_32BITUIDS]: Make code unconditional.
63901         [!__ASSUME_32BITUIDS]: Remove conditional code.
63902         * sysdeps/unix/sysv/linux/kernel-features.h
63903         (__ASSUME_SETRESUID_SYSCALL): Remove.
63904         (__ASSUME_SETRESGID_SYSCALL): Likewise.
63905         (__ASSUME_32BITUIDS): Likewise.
63906         (__ASSUME_LDT_WORKS): Likewise.
63907         (__ASSUME_O_DIRECTORY): Likewise.
63908         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63909         architecture but not kernel version.
63910         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63911         (__ASSUME_MMAP2_SYSCALL): Likewise.
63912         (__ASSUME_STAT64_SYSCALL): Likewise.
63913         (__ASSUME_IPC64): Likewise.
63914         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63915         <kernel-features.h>.
63916         [__ASSUME_32BITUIDS]: Make code unconditional.
63917         [!__ASSUME_32BITUIDS]: Remove conditional code.
63918         * sysdeps/unix/sysv/linux/opendir.c: Do not include
63919         <kernel-features.h>.
63920         [__ASSUME_O_DIRECTORY]: Make code unconditional.
63921         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63922         132096]: Remove conditional code.
63923         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63924         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63925         <kernel-features.h>.
63926         [__ASSUME_32BITUIDS]: Make code unconditional.
63927         [!__ASSUME_32BITUIDS]: Remove conditional code.
63928         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63929         <kernel-features.h>.
63930         [__ASSUME_32BITUIDS]: Make code unconditional.
63931         [!__ASSUME_32BITUIDS]: Remove conditional code.
63932         * sysdeps/unix/sysv/linux/setegid.c: Do not include
63933         <kernel-features.h>.
63934         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63935         unconditional.
63936         (__setresgid): Do not declare.
63937         [__ASSUME_32BITUIDS]: Make code unconditional.
63938         [!__ASSUME_32BITUIDS]: Remove conditional code.
63939         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63940         <kernel-features.h>.
63941         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63942         unconditional.
63943         (__setresuid): Do not declare.
63944         [__ASSUME_32BITUIDS]: Make code unconditional.
63945         [!__ASSUME_32BITUIDS]: Remove conditional code.
63946         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63947         <kernel-features.h>.
63948         [__ASSUME_32BITUIDS]: Make code unconditional.
63949         [!__ASSUME_32BITUIDS]: Remove conditional code.
63950         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63951         <kernel-features.h>.
63952         [__ASSUME_32BITUIDS]: Make code unconditional.
63953         [!__ASSUME_32BITUIDS]: Remove conditional code.
63955 2012-05-25  Richard Henderson  <rth@twiddle.net>
63957         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63958         dl_hwcap to ifunc resolver.
63959         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63960         elf_ifunc_invoke.
63961         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63962         dl_hwcap to ifunc resolver.
63963         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63965 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63967         [BZ #14153]
63968         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63969         for |x| <= 2**-26, not 2**-57.
63970         * math/libm-test.inc (acos_test): Do not allow spurious underflow
63971         exception.
63973 2012-05-24  Jeff Law  <law@redhat.com>
63975         * stdio-common/Makefile (tests): Add bug25.
63976         * stdio-common/bug25.c: New test.
63978 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63980         [BZ #13576]
63981         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
63982         multiple of MALLOC_ALIGNMENT in size.
63983         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
63985 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63987         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
63988         Require >= 256.
63989         (FILENAME_MAX): Use macro-int-constant.
63990         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
63991         (_IOFBF): Use macro-int-constant.
63992         (_IOLBF): Likewise.
63993         (_IONBF): Likewise.
63994         (SEEK_CUR): Likewise.
63995         (SEEK_END): Likewise.
63996         (SEEK_SET): Likewise.
63997         (TMP_MAX): Likewise.
63998         (EOF): Use macro-int-constant.  Require < 0.
63999         (NULL): Use macro-constant.  Require == 0.
64000         (stdin): Require type to be FILE *.
64001         (stdout): Likewise.
64002         (stderr): Likewise.
64003         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64004         macro-int-constant.
64005         (EXIT_SUCCESS): Likewise.
64006         (NULL): Use macro-constant.  Require == 0.
64007         (RAND_MAX): Use macro-int-constant.
64008         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64009         [C99-based standards] (strtof): Require function.
64010         [C99-based standards] (strtold): Likewise.
64011         [C99-based standards] (strtoll): Likewise.
64012         [C99-based standards] (strtoull): Likewise.
64013         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64014         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64015         [ISO || ISO99 || ISO11] (math.h): Likewise.
64016         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64017         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64018         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64020 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64022         [BZ #14132]
64023         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64024         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64025         * intl/dgettext.c (DCGETTEXT): Likewise.
64026         * intl/gettext.c (DCGETTEXT): Likewise.
64027         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64028         * posix/regex_internal.h (gettext): Likewise.
64029         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64030         Remove declaration.
64031         * include/argz.h (__argz_count_internal)
64032         (__argz_stringify_internal): Remove declaration.
64033         (__argz_count, __argz_stringify): Declare hidden proto.
64034         * intl/dcgettext.c: Remove use of INTDEF.
64035         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64036         * string/argz-stringify.c: Likewise.
64037         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64038         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64039         Declare hidden proto.
64040         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64041         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64042         Declare hidden proto.
64043         * include/stdio.h (__asprintf_internal): Don't declare.
64044         (__asprintf): Don't define as macro.  Declare hidden proto.
64045         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64046         (__fsetlocking): Declare hidden proto.
64047         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64048         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64049         hidden proto.
64050         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64051         (_IO_setlinebuf): Remove use of INTUSE.
64052         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64053         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64054         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64055         Remove declaration.
64056         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64057         (_IO_do_flush): Remove use of INTUSE.
64058         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64059         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64060         (_IO_adjust_column, _IO_least_wmarker)
64061         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64062         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64063         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64064         (_IO_default_doallocate, _IO_wdefault_doallocate)
64065         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64066         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64067         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64068         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64069         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64070         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64071         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64072         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64073         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64074         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64075         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64076         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64077         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64078         proto.
64079         (_IO_flush_all_internal, _IO_adjust_column_internal)
64080         (_IO_default_uflow_internal, _IO_default_finish_internal)
64081         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64082         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64083         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64084         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64085         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64086         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64087         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64088         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64089         (_IO_file_close_internal, _IO_file_close_it_internal)
64090         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64091         (_IO_file_init_internal, _IO_file_attach_internal)
64092         (_IO_file_fopen_internal, _IO_file_read_internal)
64093         (_IO_file_sync_internal, _IO_file_seek_internal)
64094         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64095         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64096         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64097         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64098         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64099         (_IO_list_all_internal, _IO_link_in_internal)
64100         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64101         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64102         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64103         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64104         (_IO_do_write_internal, _IO_padn_internal)
64105         (_IO_getline_info_internal, _IO_getline_internal)
64106         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64107         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64108         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64109         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64110         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64111         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64112         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64113         with libc_hidden_ver, remove use of INTUSE.
64114         * libio/genops.c: Likewise.
64115         * libio/freopen.c: Likewise.
64116         * libio/freopen64.c: Likewise.
64117         * libio/iofclose.c: Likewise.
64118         * libio/iofdopen.c: Likewise.
64119         * libio/iofflush.c: Likewise.
64120         * libio/iofflush_u.c: Likewise.
64121         * libio/iofgets.c: Likewise.
64122         * libio/iofgets_u.c: Likewise.
64123         * libio/iofopen.c: Likewise.
64124         * libio/iofopncook.c: Likewise.
64125         * libio/iofread.c: Likewise.
64126         * libio/iofread_u.c: Likewise.
64127         * libio/ioftell.c: Likewise.
64128         * libio/iofwrite.c: Likewise.
64129         * libio/iogetline.c: Likewise.
64130         * libio/iogets.c: Likewise.
64131         * libio/iogetwline.c: Likewise.
64132         * libio/iopadn.c: Likewise.
64133         * libio/iopopen.c: Likewise.
64134         * libio/ioseekoff.c: Likewise.
64135         * libio/ioseekpos.c: Likewise.
64136         * libio/iosetbuffer.c: Likewise.
64137         * libio/iosetvbuf.c: Likewise.
64138         * libio/ioungetc.c: Likewise.
64139         * libio/ioungetwc.c: Likewise.
64140         * libio/iovdprintf.c: Likewise.
64141         * libio/iovsprintf.c: Likewise.
64142         * libio/iovsscanf.c: Likewise.
64143         * libio/memstream.c: Likewise.
64144         * libio/obprintf.c: Likewise.
64145         * libio/oldfileops.c: Likewise.
64146         * libio/oldiofclose.c: Likewise.
64147         * libio/oldiofdopen.c: Likewise.
64148         * libio/oldiofopen.c: Likewise.
64149         * libio/oldiopopen.c: Likewise.
64150         * libio/oldstdfiles.c: Likewise.
64151         * libio/putc.c: Likewise.
64152         * libio/setbuf.c: Likewise.
64153         * libio/setlinebuf.c: Likewise.
64154         * libio/stdfiles.c: Likewise.
64155         * libio/strops.c: Likewise.
64156         * libio/vasprintf.c: Likewise.
64157         * libio/vscanf.c: Likewise.
64158         * libio/vsnprintf.c: Likewise.
64159         * libio/vswprintf.c: Likewise.
64160         * libio/wfiledoalloc.c: Likewise.
64161         * libio/wfileops.c: Likewise.
64162         * libio/wgenops.c: Likewise.
64163         * libio/wmemstream.c: Likewise.
64164         * libio/wstrops.c: Likewise.
64165         * libio/__fpurge.c: Likewise.
64166         * libio/__fsetlocking.c: Likewise.
64167         * assert/assert.c: Likewise.
64168         * debug/fgets_chk.c: Likewise.
64169         * debug/fgets_u_chk.c: Likewise.
64170         * debug/fread_chk.c: Likewise.
64171         * debug/fread_u_chk.c: Likewise.
64172         * debug/gets_chk.c: Likewise.
64173         * debug/obprintf_chk.c: Likewise.
64174         * debug/vasprintf_chk.c: Likewise.
64175         * debug/vdprintf_chk.c: Likewise.
64176         * debug/vsnprintf_chk.c: Likewise.
64177         * debug/vsprintf_chk.c: Likewise.
64178         * malloc/mtrace.c: Likewise.
64179         * misc/error.c: Likewise.
64180         * misc/syslog.c: Likewise.
64181         * stdio-common/asprintf.c: Likewise.
64182         * stdio-common/fxprintf.c: Likewise.
64183         * stdio-common/getw.c: Likewise.
64184         * stdio-common/isoc99_fscanf.c: Likewise.
64185         * stdio-common/isoc99_scanf.c: Likewise.
64186         * stdio-common/isoc99_vfscanf.c: Likewise.
64187         * stdio-common/isoc99_vscanf.c: Likewise.
64188         * stdio-common/isoc99_vsscanf.c: Likewise.
64189         * stdio-common/printf-prs.c: Likewise.
64190         * stdio-common/printf_fp.c: Likewise.
64191         * stdio-common/printf_fphex.c: Likewise.
64192         * stdio-common/printf_size.c: Likewise.
64193         * stdio-common/putw.c: Likewise.
64194         * stdio-common/scanf.c: Likewise.
64195         * stdio-common/sprintf.c: Likewise.
64196         * stdio-common/tmpfile.c: Likewise.
64197         * stdio-common/vfprintf.c: Likewise.
64198         * stdio-common/vfscanf.c: Likewise.
64199         * stdlib/strfmon_l.c: Likewise.
64200         * sunrpc/openchild.c: Likewise.
64201         * sunrpc/xdr_stdio.c: Likewise.
64202         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64203         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64205 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64207         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64209         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64210         in the third column, to generate for the shared library an IFUNC
64211         that uses _dl_vdso_vsym.
64212         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64213         * Makeconfig (object-suffixes-noshared): New variable.
64215         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64216         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64217         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64218         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64220         [BZ #14132]
64221         * include/sys/time.h (__gettimeofday): Remove macro.
64222         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64223         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64224         Remove INTDEF.
64225         (__gettimeofday): Add libc_hidden_def.
64226         (gettimeofday): Add libc_hidden_weak.
64227         * sysdeps/mach/gettimeofday.c: Likewise.
64228         * sysdeps/posix/gettimeofday.c: Likewise.
64229         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64230         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64231         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64232         (__gettimeofday_internal): Remove strong_alias.
64233         (__gettimeofday): Add libc_hidden_def.
64234         (gettimeofday): Add libc_hidden_weak.
64235         * sysdeps/unix/syscalls.list (gettimeofday):
64236         Remove __gettimeofday_internal alias.
64238 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64239             H.J. Lu  <hongjiu.lu@intel.com>
64241         [BZ #12495]
64242         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64243         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64244         (largebin_index_32_big): New.
64245         (largebin_index): Use it for 16-byte alignment.
64246         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64247         correction with front_misalign.
64249 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64253         Likewise.
64254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64255         Likewise.
64256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64257         Likewise.
64258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64259         Likewise.
64260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64261         Likewise.
64262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64263         Likewise.
64264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64265         Likewise.
64266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64267         Likewise.
64268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64269         Likewise.
64270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64271         Likewise.
64272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64273         Likewise.
64274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64275         Likewise.
64277         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64278         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64280 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64282         [BZ #10846]
64283         [BZ #14036]
64284         * math/libm-test.inc (exp_test): Add test from bug 14036.
64285         (pow_test): Add test from bug 10846.
64287         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64288         and other flags.
64289         (special_function): Do not include flags in test name.
64290         (parse_args): Likewise.
64291         * sysdeps/i386/fpu/libm-test-ulps: Update.
64292         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64293         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64294         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64297         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64298         exceptions.
64299         * math/libm-test.inc ("Philosophy"): Update comment about
64300         exception testing.
64301         (UNDERFLOW_EXCEPTION): New macro.
64302         (UNDERFLOW_EXCEPTION_OK): Likewise.
64303         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64304         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64305         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64306         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64307         (INVALID_EXCEPTION_OK): Update value.
64308         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64309         (OVERFLOW_EXCEPTION_OK): Likewise.
64310         (IGNORE_ZERO_INF_SIGN): Likewise.
64311         (test_exceptions): Handle underflow exceptions.
64312         (acos_test): Update for underflow exception expectations.
64313         (cexp_test): Likewise.
64314         (clog_test): Likewise.
64315         (clog10_test): Likewise.
64316         (csqrt_test): Likewise.
64317         (ctan_test): Likewise.
64318         (ctanh_test): Likewise.
64319         (exp_test): Likewise.
64320         (exp10_test): Likewise.
64321         (exp2_test): Likewise.
64322         (expm1_test): Likewise.
64323         (fma_test): Likewise.
64324         (j0_test): Likewise.
64325         (jn_test): Likewise.
64326         (nexttoward_test): Likewise.
64327         (pow_test): Likewise.
64328         (scalbn_test): Likewise.
64329         (scalbln_test): Likewise.
64330         (tan_test): Likewise.
64331         (y1_test): Likewise.
64332         * sysdeps/i386/fpu/libm-test-ulps: Update.
64333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64335 2012-05-23  David S. Miller  <davem@davemloft.net>
64337         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64338         (__libc_sigaction): Remove unused local variables.
64340 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64342         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64344 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64346         mktime: avoid signed integer overflow
64347         * time/mktime.c (__mktime_internal): Do not mishandle the case
64348         where diff == INT_MIN.
64350         mktime: simplify computation of average
64351         * time/mktime.c (ranged_convert): Use new time_t_avg function
64352         instead of rolling our own (probably-slower) code.
64354         mktime: do not assume signed right shift propagates sign bit
64355         * time/mktime.c (isdst_differ): New static function.
64356         (__mktime_internal): No need to normalize tm_isdst now.
64357         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64358         tm_isdst values.
64360         mktime: merge another wrapv change from gnulib
64361         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64362         from some compilers.
64364         mktime: remove incorrect attempt at unusual arithmetics
64365         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64366         The code didn't really work on such machines anyway.
64367         (TYPE_MINIMUM): Assume two's complement.
64368         (twos_complement_arithmetic): Verify that long_int and time_t
64369         are two's complement (or unsigned, in the latter case).
64371         mktime: check signed shifts on long_int and time_t, too
64372         * time/mktime.c (SHR): Check that shifts work as desired
64373         on the types long_int and time_t too, as SHR is used on
64374         such types.
64376         mktime: do not assume 'long' is wide enough
64377         * time/mktime.c (verify): Move decl up.
64378         (long_int): New type.
64379         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64380         to remove assumption in the code that 'long' is wide enough to
64381         store year values.  This assumption is not true on x32 and on
64382         some non-glibc platforms.
64384         mktime: merge wrapv change from gnulib
64385         * time/mktime.c (WRAPV): New macro.
64386         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64387         (guess_time_tm, __mktime_internal): Do not assume that signed
64388         integer overflow wraps around; modern compilers generate code
64389         where this assumption is no longer valid.
64391 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64393         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64394         Replace "jmp L(pseudo_end)" with "ret".
64395         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64396         Likewise.
64398 2012-05-23  Andreas Jaeger  <aj@suse.de>
64400         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64401         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64403 2012-05-23  Andreas Jaeger  <aj@suse.de>
64404             Maximilian Attems  <max@stro.at>
64406         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64407         New macros.
64409 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64411         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64412         code so that pseudo_end is just ret and the stack pointer is
64413         correct also for static library in error case.
64415 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64417         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64418         move to syscalls.list.
64419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64424         * manual/install.texi (Running make install): Do not mention Linux
64425         kernel version for which pt_chown is not needed.
64426         (Linux): Do not mention problems with nscd with 2.0 kernels.
64427         * INSTALL: Regenerated.
64429 2012-05-23  Andreas Jaeger  <aj@suse.de>
64431         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64432         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64433         macro.
64434         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64435         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64436         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64437         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64438         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64439         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64440         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64441         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64442         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64443         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64444         * sysdeps/unix/sysv/linux/bits/in.h
64445         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64447 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64449         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64450         (PREPARE_VERSION): Just use assert instead, it will be elided
64451         under [NDEBUG] anyway.
64453 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64455         * sysdeps/unix/sysv/linux/Makefile: Include
64456         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64457         (sysdep_routines): Remove sysctl.
64458         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64459         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64460         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64461         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64462         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64464 2012-05-22  Andreas Jaeger  <aj@suse.de>
64466         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64467         that pseudo_end is just ret and the stack pointer is correct also
64468         for static library in error case.
64470 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64472         [BZ #14122]
64473         * nss/nsswitch.c (defconfig_entries): New variable.
64474         (__nss_database_lookup): Don't leak defconfig entries.
64475         (nss_parse_service_list): Don't leak on error paths.
64476         (free_database_entries): New function.
64477         (free_defconfig): New function.
64478         (free_mem): Move common code to free_database_entries.
64480 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64482         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64483         Add arch_prctl.
64484         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64486         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64487         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64488         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64489         New macro.
64490         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64491         (INTERNAL_SYSCALL_TYPES): Likewise.
64492         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64493         (LOAD_REGS_TYPES_[1-6]): Likewise.
64494         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64495         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64497 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64499         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64500         copysignl for GLIBC_2_0.
64501         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64502         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64503         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64504         logbl for GLIBC_2_0.
64505         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64506         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64508 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64510         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64511         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64513         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64514         Use "neg %eax".
64516         * time/mktime.c: Update copyright years.
64518 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
64520         mktime: merge comment-quoting-style change from gnulib
64521         * time/mktime.c: Quote 'like this' in comments.
64522         The GNU coding standards suggest that we no longer quote `like this',
64523         as "`" and "'" are typically rendered asymmetrically nowadays.
64524         The typical gnulib style is to quote 'like this' when quoting
64525         code, and "like this" when quoting English.
64527         * time/mktime.c (compile-command): Add "-I.".
64529         mktime: merge mktime-internal.h change from gnulib
64530         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64532         mktime: merge time_r change from gnulib
64533         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64535         mktime: merge DEBUG change from gnulib
64536         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64537         case system <time.h> has a #define.
64539         mktime: merge <sys/types.h> change from gnulib
64540         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64541         since <time.t> is now guaranteed to define time_t.
64543         mktime: merge HAVE_CONFIG_H change from gnulib
64544         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64546 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64548         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64549         Use "neg %eax".
64551         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64552         __rlim_t cast.
64553         (struct rusage): Use anonymous union to pad each field to
64554         __syscall_slong_t.
64556 2012-05-21  David S. Miller  <davem@davemloft.net>
64558         * Makefules (o-iterator): Remove .s cases.
64559         (compile-command.s): Delete.
64560         (COMPILE.s): Delete.
64561         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64563 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64565         * configure.in (libc_cv_predef_stack_protector): Only consider
64566         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64567         * configure: Regenerated.
64569 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64571         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64572         New macro.  Use R*LP on int and pointer.
64573         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64574         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64575         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64576         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64578         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64579         [__WORDSIZE_TIME64_COMPAT32] instead of
64580         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64581         (struct utmp): Likewise.
64582         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64583         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64584         Renamed to ...
64585         (__WORDSIZE_TIME64_COMPAT32): This.
64586         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64587         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64588         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64589         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64590         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64591         (__WORDSIZE_TIME64_COMPAT32): New macro.
64593 2012-05-21  Andreas Jaeger  <aj@suse.de>
64595         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64596         only if [SHARED]. Add prototype for __wcschr_ia32.
64598 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64600         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64601         of %rbp unmolested in the jmp_buf while mangling the low bits.
64602         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64603         unmolested high bits of %rbp while demangling the low bits.
64604         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64606 2012-05-21  Andreas Jaeger  <aj@suse.de>
64608         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64609         * sunrpc/svc_simple.c: Use it for registerrpc.
64610         * sunrpc/xcrypt.c: Use it for passwd2des.
64612         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64614 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64616         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64617         Don't define if [__SYSCALL_WORDSIZE != 32].
64618         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64619         New macro.
64621 2012-05-21  Bruno Haible  <bruno@clisp.org>
64622             Andreas Jaeger  <aj@suse.de>
64624         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64625         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64626         inptr and inend for must_buffer_ch.
64627         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64628         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64629         * stdio-common/Makefile (tests): Remove bug15.
64630         (bug15-ENV): Remove macro.
64631         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64632         anymore.
64634 2012-05-19  Andreas Jaeger  <aj@suse.de>
64635             Roland McGrath  <roland@hack.frob.com>
64637         * manual/contrib.texi: Completely rewritten. It contains now an
64638         alphabetical list of contributors and their contributions.
64640 2012-05-21  Richard Henderson  <rth@twiddle.net>
64642         * misc/getauxval.c (__getauxval): Use unsigned long int.
64643         * misc/sys/auxv.h: Include <sys/cdefs.h>.
64644         (getauxval): Use unsigned long int.
64646 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64648         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64650 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64652         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64653         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64654         __alignof__ (long double).
64656 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64660 2012-05-20  Richard Henderson  <rth@twiddle.net>
64662         * misc/getauxval.c: New file.
64663         * misc/sys/auxv.h: New file.
64664         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64665         (routines): Add getauxval.
64666         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64667         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64668         * elf/dl-sysdep.c (_dl_auxv): Remove.
64669         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64670         * elf/dl-support.c (_dl_auxv): New variable.
64671         (_dl_aux_init): Initialize it.
64672         * manual/startup.texi (Auxiliary Vector): New node.
64673         * sysdeps/generic/bits/hwcap.h: New file.
64674         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64675         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
64676         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64677         * sysdeps/sparc/sysdep.h: ... here.  Include it.
64678         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64679         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64681         Update.
64682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64685         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64691 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64695 2012-05-19  David S. Miller  <davem@davemloft.net>
64697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64699 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64701         [BZ #14123]
64702         * math/s_ccosh.c: Include <float.h>
64703         (__ccosh): Avoid internal overflow calculating sinh and cosh
64704         values before multiplying by sin and cos values.
64705         * math/s_ccoshf.c: Likewise.
64706         * math/s_ccoshl.c: Likewise.
64707         * math/s_csin.c: Likewise.
64708         * math/s_csinf.c: Likewise.
64709         * math/s_csinl.c: Likewise.
64710         * math/s_csinh.c: Likewise.
64711         * math/s_csinhf.c: Likewise.
64712         * math/s_csinhl.c: Likewise.
64713         * math/libm-test.inc (ccos_test): Add more tests.
64714         (ccosh_test): Likewise.
64715         (csin_test): Likewise.
64716         (csinh_test): Likewise.
64717         * sysdeps/i386/fpu/libm-test-ulps: Update.
64718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64720 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
64722         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64723         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64725         * sysdeps/x86_64/x32/_itoa.h: Add comment.
64727 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64729         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64730         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64731         * sysdeps/powerpc/soft-fp/Versions: Likewise.
64732         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64733         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64734         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64735         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64736         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64737         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64738         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64739         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64740         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64741         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64742         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64743         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64744         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64745         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64746         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64747         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64748         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64749         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64750         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64751         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64752         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64753         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64754         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64755         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64756         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64757         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64758         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64759         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64761 2012-05-18  Andreas Jaeger  <aj@suse.de>
64763         * csu/.gitignore: Delete.
64765 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64767         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64768         (timex): Use __syscall_slong_t.
64770 2012-05-18  Andreas Jaeger  <aj@suse.de>
64771             Carlos O'Donell  <carlos_odonell@mentor.com>
64773         * manual/install.texi (Configuring and compiling): Update
64774         description about files modified in the source directory.
64775         * INSTALL: Regenerated.
64777 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64779         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64780         value.  Use "or" to set return value to -1.
64781         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64782         negate return value.
64784 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64786         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64787         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64788         failure if the compiler has Graphite support disabled.
64789         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64790         Likewise.
64791         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64792         (CFLAGS-memmove.c): Likewise.
64793         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64794         Likewise.
64796 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64798         * sysdeps/x86_64/x32/_itoa.h: New file.
64800         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64801         getdents system call only if kernel and user dirents have the
64802         same d_ino and d_off.
64804         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64805         LLONG_MAX != LONG_MAX.
64806         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64807         (_fitoa_word): Likewise.
64809         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
64810         years.
64811         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
64812         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64813         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64815         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64816         include <bits/wordsize.h>.  Check __x86_64__ instead of
64817         __WORDSIZE.
64818         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64819         if __x86_64__ is defined.  Use anonymous union on fpstate.
64821         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64822         anonymous union.
64824 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
64826         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64827         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64828         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64829         Refer to _rtld_local_ro instead of _rtld_global_ro.
64830         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64831         Likewise.
64832         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64833         Likewise.
64834         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64835         Likewise.
64836         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64837         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64838         of _rtld_global, and rtld_progname instead of _dl_argv[0].
64840         [BZ #10882]
64841         * sysdeps/powerpc/powerpc32/dl-machine.c
64842         (__elf_machine_runtime_setup) [PROF]: Don't reference
64843         _dl_prof_resolve.
64845 2012-05-18  Andreas Jaeger  <aj@suse.de>
64847         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64848         function only available for GCCs before 3.4 since GCC 3.4
64849         introduced a builtin.
64850         (lrint): Likewise.
64851         (llrintf): Likewise.
64852         (llrint): Likewise.
64853         (fmaxf): Likewise.
64854         (fmax): Likewise.
64855         (fminf): Likewise.
64856         (fmin): Likewise.
64857         (rint): Likewise.
64858         (rintf): Likewise.
64859         (nearbyint): Likewise.
64860         (nearbyintf): Likewise.
64861         (ceil): Likewise.
64862         (ceilf): Likewise.
64863         (floor): Likewise.
64864         (floorf): Likewise.
64866 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64868         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64869         on both fields and cast pointer to __syscall_ulong_t.
64871         * bits/types.h (__fsword_t): New type.
64872         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64873         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64874         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64875         (__FSWORD_T_TYPE): Likewise.
64876         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64877         (__FSWORD_T_TYPE): Likewise.
64878         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64879         (__FSWORD_T_TYPE): Likewise.
64880         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64881         (__FSWORD_T_TYPE): Likewise.
64882         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64883         __SWORD_TYPE with __fsword_t.
64884         (statfs64): Likewise.
64886 2012-05-17  David S. Miller  <davem@davemloft.net>
64888         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64890 2012-05-17  Andreas Jaeger  <aj@suse.de>
64892         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64893         warning.
64895 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64897         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64899 2012-05-17  Andreas Jaeger  <aj@suse.de>
64901         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64902         when it is used.
64904 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64906         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64908 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64910         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64911         * sysdeps/x86_64/tst-mallocalign1.c: New file.
64913 2012-05-17  Andreas Jaeger  <aj@suse.de>
64914             Carlos O'Donell  <carlos_odonell@mentor.com>
64916         [BZ #14059]
64917         * sysdeps/x86_64/multiarch/init-arch.h
64918         (bit_YMM_Usable): Rename to...
64919         (bit_AVX_Usable): ... this.
64920         (bit_FMA4_Usable): New macro.
64921         (bit_XMM_state): New macro.
64922         (bit_YMM_state): New macro.
64923         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64924         [__ASSEMBLER__] (index_AVX_Usable): ... this.
64925         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64926         (CPUID_OSXSAVE): New macro.
64927         (CPUID_AVX): New macro.
64928         (CPUID_FMA4): New macro.
64929         (index_YMM_Usable): Rename to...
64930         (index_AVX_Usable): ... this.
64931         (HAS_AVX): Use HAS_ARCH_FEATURE.
64932         (HAS_FMA4): Likewise.
64933         (HAS_YMM_USABLE): Remove.
64934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64935         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64936         are present.
64937         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64938         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64939         * sysdeps/x86_64/multiarch/Makefile: Likewise.
64940         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64941         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64943 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64945         * math/libm-test.c: Support platforms without multiple rounding modes.
64946         * math/bug-nextafter.c: Support platforms without FP exceptions.
64947         * math/bug-nexttoward.c: Likewise.
64948         * math/test-fenv.c: Likewise.
64949         * math/test-misc.c: Likewise.
64950         * stdlib/bug-getcontext.c: Likewise.
64952 2012-05-17  Andreas Jaeger  <aj@suse.de>
64954         * manual/examples/search.c (critter_cmp): Change signature to
64955         avoid warnings.
64956         * manual/string.texi (Collation Functions): Likewise.
64958 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64960         * bits/types.h: Fold copyright years.
64961         * bits/typesizes.h: Likewise.
64962         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64963         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64964         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64965         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64966         * time/time.h: Likewise.
64968 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
64970         [BZ #208]
64971         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64972         in instead of returning them.  Return void.
64973         (__libc_mallinfo): Accumulate over all arenas.
64974         (__malloc_stats): Adjust for change in int_mallinfo interface.
64976 2012-05-16  Roland McGrath  <roland@hack.frob.com>
64978         [BZ #10375]
64979         * configure.in (NM): Add AC_CHECK_TOOL for it.
64980         (libc_extra_cflags): New substituted variable.
64981         Check for -fstack-protector being used implicitly.
64982         * configure: Regenerated.
64983         * config.make.in (config-extra-cflags): New variable,
64984         gets @libc_extra_cflags@.
64985         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
64987         [BZ #10375]
64988         * configure.in: Check for _FORTIFY_SOURCE being predefined.
64989         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
64990         * configure: Regenerated.
64991         * config.make.in (CPPUNDEFS): New substituted variable.
64992         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
64993         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
64994         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
64996 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64998         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
64999         (mq_attr): Use __syscall_slong_t.
65001 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65003         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65004         Check __x86_64__ instead of __WORDSIZE.
65005         (_STAT_VER_LINUX): Likewise.
65006         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65007         __syscall_ulong_t and __syscall_slong_t.
65008         (stat64): Likewise.
65010 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65012         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65014 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65016         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65018 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65020         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65021         __syscall_ulong_t.
65023         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65024         include <bits/wordsize.h>.  Check __x86_64__ instead of
65025         __WORDSIZE.
65026         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65027         defined.
65028         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65030         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65031         include <bits/wordsize.h>.  Check __x86_64__ instead of
65032         __WORDSIZE.
65033         (user_regs_struct): Use "__extension__ unsigned long long"
65034         instead of "unsigned long" if __x86_64__ is defined.
65035         (user): Likewise.  Pad after pointer field if __ILP32__ is
65036         defined.
65038 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65040         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65041         versions 5 to 9.
65042         * configure: Regenerated.
65043         * manual/install.texi (texinfo): Increase version requirement to
65044         4.5 or later.
65045         * INSTALL: Regenerated.
65047         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65049 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65051         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65053         * sysdeps/x86_64/x32/ffs.c: New file.
65055         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65056         __syscall_ulong_t.
65057         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65058         defined.  Use __syscall_ulong_t.
65059         (shminfo): Use __syscall_ulong_t.
65060         (shm_info): Likewise.
65062         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65063         __syscall_ulong_t.
65065         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65066         <bits/wordsize.h>.
65067         (msgqnum_t): Use __syscall_ulong_t.
65068         (msglen_t): Likewise.
65069         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65070         __syscall_ulong_t.
65072         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65073         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65075         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65077         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65078         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65080         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65081         __syscall_slong_t.
65083         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65084         include <bits/wordsize.h>.  Check __x86_64__ instead of
65085         __WORDSIZE.
65087         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65088         "unsigned long long int" if __x86_64__ is defined.
65089         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65091         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65092         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65093         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65095         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65096         <stdint.h>.
65097         (GET_PC): Cast to uintptr_t first.
65098         (GET_FRAME): Likewise.
65099         (GET_STACK): Likewise.
65101         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65102         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65103         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65104         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65105         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65106         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65107         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65108         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65109         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65110         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65111         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65112         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65113         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65114         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65115         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65116         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65117         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65118         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65119         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65120         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65121         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65122         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65123         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65124         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65125         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65126         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65127         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65128         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65129         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65131 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65133         * Makerules (+depfiles): Also collect depfiles from .oS in
65134         $(extra-objs).
65135         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65136         .oS, $(libnldbl-routines)).
65138         * Makerules (native-compile-mkdep-flags): Define.
65139         * sunrpc/Makefile (extra-objs): Add $(addprefix
65140         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65141         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65142         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65143         calling $(make-target-directory).
65145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65147         * bits/types.h (__snseconds_t): Removed.
65148         * time/time.h (struct timespec): Replace __snseconds_t with
65149         __syscall_slong_t.
65150         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65151         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65152         Likewise.
65153         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65154         (__SNSECONDS_T_TYPE): Likewise.
65155         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65156         (__SNSECONDS_T_TYPE): Likewise.
65157         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65158         (__SNSECONDS_T_TYPE): Likewise.
65160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65162         * sysdeps/mach/hurd/bits/typesizes.h
65163         (__SYSCALL_SLONG_TYPE): New macro.
65164         (__SYSCALL_ULONG_TYPE): Likewise.
65166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65168         * bits/types.h (__syscall_slong_t): New type.
65169         (__syscall_ulong_t): Likewise.
65171         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65172         (__SYSCALL_ULONG_TYPE): Likewise.
65173         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65174         (__SYSCALL_SLONG_TYPE): Likewise.
65175         (__SYSCALL_ULONG_TYPE): Likewise.
65176         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65177         (__SYSCALL_SLONG_TYPE): Likewise.
65178         (__SYSCALL_ULONG_TYPE): Likewise.
65179         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65180         (__SYSCALL_SLONG_TYPE): Likewise.
65181         (__SYSCALL_ULONG_TYPE): Likewise.
65183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65185         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65186         Add sigaltstack-offsets.sym.
65187         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65188         <sigaltstack-offsets.h>.
65189         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65190         longjmp_msg pointer.
65191         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65192         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65193         signal stack.
65194         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65196 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65198         * elf/stackguard-macros.h: Remove file.
65199         * sysdeps/generic/stackguard-macros.h: New file.
65200         * sysdeps/i386/stackguard-macros.h: Likewise.
65201         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65202         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65203         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65204         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65205         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65206         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65207         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65208         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65209         <elf/stackguard-macros.h>.
65211         [BZ #14109]
65212         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65213         __aligned__ in attribute.
65214         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65215         (gregset_t): Likewise.
65217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65219         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65220         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65221         * sysdeps/x86_64/x32/Implies-after: New file.
65223 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65225         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65226         and access return value for _dl_profile_fixup.  Use R10_LP to
65227         load frame size.
65229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65231         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65233 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65235         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65236         * sysdeps/x86_64/x32/sysdep.h: New file.
65238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65240         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65241         * sysdeps/x86_64/setjmp.S: Likewise.
65243 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65245         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65246         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65247         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65248         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65249         remove unused global constant.
65251 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65253         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65254         include of <not-cancel.h>.
65256 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65258         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65260 2012-05-15  Jeff Law  <law@redhat.com>
65261             Andreas Jaeger  <aj@suse.de>
65263         [BZ #13594]
65264         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65265         out from...
65266         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65267         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65268         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65269         code changing __hst_map_handle.map.
65271 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65273         * configure.in (sysnames): Look for Implies-before and Implies-after
65274         files.
65275         * configure: Regenerated.
65277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65279         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65280         8-byte data alignment with LP_SIZE alignment.
65282 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65284         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65285         into R10_LP.
65287 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65289         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65293         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65294         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65295         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65296         Likewise.
65297         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65299 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65301         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65302         (stackinfo_sub_sp): Likewise.
65304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65306         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65307         RAX_LP.
65309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65311         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65312         into R*_LP.
65314 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65316         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65317         sizes into R*_LP.
65319 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65321         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65325         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65326         into R11_LP and load __x86_64_shared_cache_size_half into
65327         R8_LP.
65329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65331         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65332         R8_LP.
65334 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65336         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65337         logb for POWER7.
65338         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65339         logbf for POWER7.
65340         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65341         logbl for POWER7.
65342         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65343         powerpc32/power7/fpu/s_logb.c via #include.
65344         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65345         powerpc32/power7/fpu/s_logbf.c via #include.
65346         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65347         powerpc32/power7/fpu/s_logbl.c via #include.
65349 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65351         * README.libm: Remove file.
65353 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65355         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65356         count for x32.  Use R*_LP and omit operand-size suffix.
65358 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65360         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65361         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65362         * sysdeps/x86_64/x32/shlib-versions: New file.
65364 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65366         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65367         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65368         Use _dl_fatal_printf instead.
65370 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65372         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65373         set if not set by the user.  Do not allow for being unset.
65374         * sysdeps/unix/sysv/linux/configure: Regenerated.
65376 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65378         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65379         the `q' suffix from lea and replace .quad with ASM_ADDR.
65381 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65383         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65384         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65385         instead of $17.
65386         (PTR_DEMANGLE): Likewise.
65388 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65390         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65391         (LP_OP): Likewise.
65392         (ASM_ADDR): Likewise.
65393         (RAX_LP): Likewise.
65394         (RBP_LP): Likewise.
65395         (RBX_LP): Likewise.
65396         (RCX_LP): Likewise.
65397         (RDI_LP): Likewise.
65398         (RSI_LP): Likewise.
65399         (RSP_LP): Likewise.
65400         (R8_LP): Likewise.
65401         (R9_LP): Likewise.
65402         (R10_LP): Likewise.
65403         (R10_LP): Likewise.
65404         (R11_LP): Likewise.
65405         (R12_LP): Likewise.
65406         (R13_LP): Likewise.
65407         (R14_LP): Likewise.
65408         (R15_LP): Likewise.
65410 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65412         * sysdeps/x86_64/x32/dl-machine.h: New file.
65414 2012-05-14  Andreas Jaeger  <aj@suse.de>
65416         * manual/Makefile (subdir): Remove export of subdir.
65417         (all): Remove target.
65418         (.PHONY): Remove all from list.
65419         (mkinstalldirs): Remove.
65420         (.PHONY): Remove installdirs from list.
65421         ($(inst_infodir)/libc.info): Use make-target-directory.
65422         (installdirs): Remove.
65423         (subdir_%): Remove.
65424         (glibc-targets): Remove.
65425         (lib): Remove.
65426         (stubs): Remove.
65427         ($(objpfx)stubs ../po/manual.pot): Remove.
65428         ($(objpfx)stamp%): Remove.
65429         (make-target-directory): Remove.
65430         (subdir_install): Remove.
65431         (routines): Remove.
65432         (aux): Remove.
65433         (sources): Remove.
65434         (objects): Remove.
65435         (headers): Remove.
65437         [BZ #13750]
65438         * manual/.gitignore: Remove, it's not needed anymore.
65439         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65440         all files in it.
65441         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65442         directory.
65443         (texis): Renamed to $(objpfx)texis.
65444         (texis-path): New, contains path to generated files.
65445         (chapters.%): Use texis-path for complete path, add extra argument
65446         libc-texinfo.sh.
65447         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65448         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65449         (summary,texi, stamp-summary): Use complete path of
65450         files. Generate files in build dir.
65451         (dir-add.texi): Build in build dir.
65452         (libm-err.texi,stamp-libm-err): Likewise.
65453         (version.texi, stamp-version): Likewise.
65454         (.%c.texi): Likewise.
65455         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65456         (mostlyclean): Remove target.
65457         (realclean): Remove target.
65458         (generated): Add new variable with contents from mostlyclean and
65459         realclean, remove entries duplicated in common-mostlyclean, add
65460         stamp-libm-err and stamp-version.
65461         (generated-dirs): Add libc directory.
65462         ($(inst_infodir)/libc.info): Install files from build dir.
65464         * manual/install.texi (Configuring and compiling): Adjust since
65465         the info files are not part of the tar ball anymore.
65467 2012-05-14  Andreas Jaeger  <aj@suse.de>
65469         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65470         variable.
65472 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65474         [BZ #13717]
65475         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65476         to 2.2.0 where earlier.
65477         * sysdeps/unix/sysv/linux/configure: Regenerated.
65478         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65479         Remove conditional code.
65480         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65481         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65482         Remove conditional code.
65483         [!__NR_lchown]: Likewise.
65484         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65485         [__NR_lchown]: Likewise.
65486         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65487         comment referencing __ASSUME_LCHOWN_SYSCALL.
65488         * sysdeps/unix/sysv/linux/i386/sigaction.c
65489         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65490         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65491         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65492         Remove conditional code.
65493         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65494         (__protocol_available): Remove #if 0 code.
65495         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65496         conditional code.
65497         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65498         * sysdeps/unix/sysv/linux/kernel-features.h
65499         (__ASSUME_GETCWD_SYSCALL): Don't define.
65500         (__ASSUME_REALTIME_SIGNALS): Likewise.
65501         (__ASSUME_PREAD_SYSCALL): Likewise.
65502         (__ASSUME_PWRITE_SYSCALL): Likewise.
65503         (__ASSUME_POLL_SYSCALL): Likewise.
65504         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65505         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65506         non-SPARC.
65507         (__ASSUME_SIOCGIFNAME): Don't define.
65508         (__ASSUME_MSG_NOSIGNAL): Likewise.
65509         (__ASSUME_SENDFILE): Define unconditionally.
65510         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65511         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65512         conditional code.
65513         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65514         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65515         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65516         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65517         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65518         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65519         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65521         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65522         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65524         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65525         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65527         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65528         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65530         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65531         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65533         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65534         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65536         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65537         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65539         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65540         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65542         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65543         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65544         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65545         Remove conditional code.
65546         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65547         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65548         Remove conditional code.
65549         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65550         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65551         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65552         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65553         Remove conditional code.
65554         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65555         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65556         Remove conditional code.
65557         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65558         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65559         Remove conditional code.
65560         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65561         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65562         Remove conditional code.
65563         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65564         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65565         Remove conditional code.
65566         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65567         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65568         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65569         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65570         * sysdeps/unix/sysv/linux/sigaction.c
65571         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65572         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65573         * sysdeps/unix/sysv/linux/sigpending.c
65574         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65575         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65576         * sysdeps/unix/sysv/linux/sigprocmask.c
65577         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65578         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65579         * sysdeps/unix/sysv/linux/sigsuspend.c
65580         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65581         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65582         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65583         (__libc_missing_rt_sigs): Remove.
65584         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65585         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65586         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65587         Remove conditional code.
65588         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65589         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65590         return 1.
65591         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65592         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65593         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65594         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65596 2012-05-14  Andreas Jaeger  <aj@suse.de>
65598         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65599         it's not used in glibc.
65600         (__coshm1): Likewise.
65601         (__acosh1p): Likewise.
65602         (__sgn): Likewise.
65604         * manual/string.texi (Copying and Concatenation): Add missing
65605         variable in concat example.
65606         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65608 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65610         [BZ #14103]
65611         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65612         __builtin_clzl with __builtin_clzll.
65614 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65616         [BZ #14104]
65617         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65618         libc_freeres_ptr.
65620 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65622         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65623         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65624         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65625         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65627 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
65629         * NEWS: Update ia64 info.
65631 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
65633         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65634         used as bcopy.
65636 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
65638         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65639         * sysdeps/unix/syscalls.list (dup3): Likewise.
65640         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65641         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65643 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65645         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65646         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65648 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65650         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65651         thread pointer.
65652         (TLS_IE): Use mov/add instead of movq/addq to load thread
65653         pointer.
65654         (TLS_GD_PREFIX): New.
65655         (TLS_GD): Use it.
65657 2012-05-11  David S. Miller  <davem@davemloft.net>
65659         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65660         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65661         (_FPU_SETCW): Likewise.
65663 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65665         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65666         is 32-byte aligned.
65668 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
65670         [BZ #11837]
65671         * iconvdata/gb18030.c: Update tables.
65672         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
65673         characters specially.
65674         (BODY for TO_LOOP): Add encoding of missing ranges.
65676 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
65678         [BZ #13673]
65679         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65680         * sysdeps/mach/hurd/dup3.c: Likewise.
65681         * sysdeps/mach/hurd/readlinkat.c: Likewise.
65682         * sysdeps/powerpc/memmove.c:: Likewise.
65684 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65686         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65687         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65689 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65691         * elf/elf.h (R_X86_64_RELATIVE64): New.
65692         (R_X86_64_NUM): Updated.
65693         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65694         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
65695         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65696         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65697         tst-quad1pie tst-quad2pie
65698         (modules-names): Add tst-quadmod1 tst-quadmod2.
65699         ($(objpfx)tst-quad1): New dependency.
65700         ($(objpfx)tst-quad2): Likewise.
65701         ($(objpfx)tst-quad1pie): Likewise.
65702         ($(objpfx)tst-quad2pie): Likewise.
65703         * sysdeps/x86_64/tst-quad1.c: New file.
65704         * sysdeps/x86_64/tst-quad1pie.c: New file.
65705         * sysdeps/x86_64/tst-quad2.c: Likewise.
65706         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65707         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65708         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65709         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65710         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65712 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65714         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65715         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65716         * streams/stropts.h (t_scalar_t): Define type.
65718         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65719         (_PATH_PRESERVE): Set to "/var/lib".
65720         (_PATH_RWHODIR): Set to "/var/spool/rwho".
65722         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65723         instead of int.
65725         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65726         if __dir_mkfile succeeded.
65728         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65729         checking for _hurd_dtablesize.  Unlock it right after having
65730         finished _hurd_dtable allocation.
65732 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65734         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65735         * sysdeps/mach/hurd/configure: Regenerated.
65736         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65737         special-casing to...
65738         * sysdeps/gnu/configure.in: ... this new file.
65739         * sysdeps/unix/sysv/linux/configure: Regenerated.
65740         * sysdeps/gnu/configure: New generated file.
65742         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65743         for Linux: use nsec instead of usec, as well as:
65744         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65745         members of type struct timespec.
65746         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65747         New macros.
65748         (struct stat64): Likewise.
65749         (_STATBUF_ST_NSEC): New macro.
65750         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65752         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65753         __strtoul_internal rather than strtoul.
65755 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65757         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65758         and reject them.
65760 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65762         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65763         which preserves existing values.
65764         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65766 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65768         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65769         TIMEOUT values.  Return EINVAL for NFDS values either negative or
65770         greater than FD_SETSIZE.
65772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65774         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65775         allocated, call __vm_protect to finish enabling the existing space, and
65776         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65777         allocate the remainder.
65779 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65781         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65782         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
65784 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65786         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65787         sysdeps/mach/hurd/readlink.c.
65789         * posix/tst-sysconf.c (posix_options): Only use
65790         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65791         _POSIX_SYNCHRONIZED_IO when they are defined
65792         * sysdeps/mach/hurd/bits/posix_opt.h:
65793         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65794         (_XOPEN_REALTIME): Undefine macro.
65795         (_XOPEN_REALTIME_THREADS): Undefine macro.
65796         (_XOPEN_SHM): Undefine macro.
65797         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65798         macro to -1.
65799         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65800         macro to -1.
65801         (_POSIX_ASYNC_IO): Undefine macro.
65802         (_POSIX_PRIORITIZED_IO): Undefine macro.
65803         (_POSIX_SPIN_LOCKS): Define macro to -1.
65805         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
65806         SA_NODEFER, SA_RESETHAND.
65807         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
65808         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
65809         F_DUPFD_CLOEXEC.
65811 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65813         * elf/Makefile (pldd-modules): Define unconditionally.
65815 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65817         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65819 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65821         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65822         Return ENOENT when name is empty.
65823         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65825 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65827         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65829         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65831 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65833         Fix mlock in all cases except non-readable pages.
65834         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65835         instead of VM_PROT_ALL as parameter to __vm_wire function.
65837         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65838         (__mkdir): When path is `/', just fail with EEXIST.
65839         * sysdeps/mach/hurd/mkdirat.c: Likewise.
65841 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65843         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65844         <sys/uio.h> (for writev).
65845         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65846         and <sys/param.h> (for MIN).
65848 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65850         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65851         REQUESTED_TIME.  Properly set the remaining time and return EINTR
65852         if interrupted.
65854 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65856         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65857         Depend on against $(link-rpcuserlibs).
65859 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65861         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65862         (__libc_stack_end): Do not use attribute_relro.
65863         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65864         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65865         to libthread-provided value.
65866         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65867         attribute_relro.
65869 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65871         [BZ #3748]
65872         * bits/libc-lock.h (__libc_once_get): New macro.
65873         * sysdeps/mach/bits/libc-lock.h: Likewise.
65874         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65875         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65876         instead of using implementation details.
65878         * libio/fileops.c: Unconditionally include <kernel-features.h>.
65879         * libio/freopen.c: Likewise.
65880         * libio/freopen64.c: Likewise.
65881         * misc/syslog.c: Likewise.
65882         * nscd/connections.c: Likewise.
65883         * nscd/netgroupcache.c: Likewise.
65884         * sysdeps/posix/getcwd.c: Likewise.
65886 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65888         * math/w_ilogbf.c: Add #include <limits.h>.
65890 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65892         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65893         path instead of returning without unlocking.
65895         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65896         immediate-write ioctls.
65897         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65899 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65901         * sysdeps/mach/hurd/i386/init-first.c (init): Use
65902         __builtin_frame_address instead of making assumptions about the
65903         location of the return address relative to DATA.  Force early load of
65904         the return address.
65905         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65906         __builtin_frame_address.
65908         dup3 for GNU Hurd.
65909         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65910         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
65911         implement dup3 and do some further code clean-ups.
65912         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65913         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65915 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65917         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65919         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65920         HURD_CRITICAL_END around holding _hurd_dtable_lock.
65921         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65922         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65923         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65924         d->port.lock.
65926         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65927         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
65928         when handler == SIG_ERR, not when handler != SIG_ERR.
65930 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65932         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65933         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65934         definitions.
65936         accept4 for GNU Hurd.
65937         * include/sys/socket.h (__libc_accept4): New prototype.
65938         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
65939         to implement __libc_accept4.
65940         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65941         __libc_accept4.
65942         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65944         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65945         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65946         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65947         signal-defines.sym.
65949 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65951         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65953 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65955         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65956         assertion on O_CLOEXEC flag.
65957         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65958         * hurd/intern-fd.c: Likewise.
65959         * hurd/port2fd.c: Likewise.
65961 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65963         [BZ #3906]
65964         * bits/in.h (IPV6_PKTINFO): Define new macro.
65965         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65967 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65969         [BZ #13954]
65970         [BZ #13955]
65971         [BZ #13956]
65972         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65973         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65974         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65975         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65976         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65977         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65978         * math/libm-test.inc (logb_test) : Additional logb tests.
65980 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
65981             Andreas Jaeger  <aj@suse.de>
65983         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
65984         * configure: Regenerated.
65985         * config.h.in (LINK_OBSOLETE_RPC): New macro.
65986         * config.make.in (link-obsolete-rpc): New substituted variable.
65987         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65988         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
65989         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65990         (shared-only-routines): Don't set it under [link-obsolete-rpc],
65991         so that libc.a contains the symbols.
65992         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65993         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65994         * sunrpc/auth_none.c: Likewise.
65995         * sunrpc/auth_unix.c: Likewise.
65996         * sunrpc/authdes_prot.c: Likewise.
65997         * sunrpc/authuxprot.c: Likewise.
65998         * sunrpc/clnt_gen.c: Likewise.
65999         * sunrpc/clnt_perr.c: Likewise.
66000         * sunrpc/clnt_raw.c: Likewise.
66001         * sunrpc/clnt_simp.c: Likewise.
66002         * sunrpc/clnt_tcp.c: Likewise.
66003         * sunrpc/clnt_udp.c: Likewise.
66004         * sunrpc/clnt_unix.c: Likewise.
66005         * sunrpc/des_crypt.c: Likewise.
66006         * sunrpc/des_soft.c: Likewise.
66007         * sunrpc/get_myaddr.c: Likewise.
66008         * sunrpc/key_call.c: Likewise.
66009         * sunrpc/key_prot.c: Likewise.
66010         * sunrpc/netname.c: Likewise.
66011         * sunrpc/pm_getmaps.c: Likewise.
66012         * sunrpc/pm_getport.c: Likewise.
66013         * sunrpc/pmap_clnt.c: Likewise.
66014         * sunrpc/pmap_prot.c: Likewise.
66015         * sunrpc/pmap_prot2.c: Likewise.
66016         * sunrpc/pmap_rmt.c: Likewise.
66017         * sunrpc/publickey.c: Likewise.
66018         * sunrpc/rpc_cmsg.c: Likewise.
66019         * sunrpc/rpc_common.c: Likewise.
66020         * sunrpc/rpc_dtable.c: Likewise.
66021         * sunrpc/rpc_prot.c: Likewise.
66022         * sunrpc/rpc_thread.c: Likewise.
66023         * sunrpc/rtime.c: Likewise.
66024         * sunrpc/svc.c: Likewise.
66025         * sunrpc/svc_auth.c: Likewise.
66026         * sunrpc/svc_raw.c: Likewise.
66027         * sunrpc/svc_run.c: Likewise.
66028         * sunrpc/svc_tcp.c: Likewise.
66029         * sunrpc/svc_udp.c: Likewise.
66030         * sunrpc/svc_unix.c: Likewise.
66031         * sunrpc/svcauth_des.c: Likewise.
66032         * sunrpc/xcrypt.c: Likewise.
66033         * sunrpc/xdr.c: Likewise.
66034         * sunrpc/xdr_array.c: Likewise.
66035         * sunrpc/xdr_float.c: Likewise.
66036         * sunrpc/xdr_intXX_t.c: Likewise.
66037         * sunrpc/xdr_mem.c: Likewise.
66038         * sunrpc/xdr_rec.c: Likewise.
66039         * sunrpc/xdr_ref.c: Likewise.
66040         * sunrpc/xdr_sizeof.c: Likewise.
66041         * sunrpc/xdr_stdio.c: Likewise.
66043 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66045         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66046         change.  Update copyright years.
66048 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66050         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66052 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66053             Joseph Myers  <joseph@codesourcery.com>
66054             Paul Pluzhnikov  <ppluzhnikov@google.com>
66056         [BZ #14012]
66057         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66058         requiring rpcgen.
66059         [cross-compiling] (extra-libs): Likewise.
66060         [cross-compiling] (extra-libs-others): Likewise.
66061         [cross-compiling] (librpcsvc-routines): Likewise.
66062         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66063         [cross-compiling] (omit-deps): Likewise.
66064         (sunrpc-CPPFLAGS): New variable.
66065         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66066         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66067         (cross-rpcgen-objs): New variable.
66068         (extra-objs): Append $(cross-rpcgen-objs).
66069         ($(cross-rpcgen-objs)): New rule.
66070         ($(objpfx)cross-rpcgen): Likewise.
66071         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66072         comment.
66073         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66074         ($(objpfx)x%.stmp): Likewise.
66075         * sunrpc/proto.h [IS_IN_build] (_): Define.
66076         [IS_IN_build] (_libc_intl_domainname): Likewise.
66078 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66080         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66081         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66082         and R_X86_64_TPOFF64.
66084 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66086         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66087         sysdeps/unix/sysv/syscalls.list.
66088         (stime): Likewise.
66089         (utime): Likewise.
66090         * sysdeps/unix/sysv/syscalls.list: Remove file.
66092 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66094         [BZ #3440]
66095         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66096         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66097         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66098         (__LC_IDENTIFICATION): Make these macros useful in #if
66099         expressions, as required by C99.
66101 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66103         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66104         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66105         after this.
66107 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66109         * stdlib/longlong.h: Updated from GCC.
66111 2012-05-09  Andreas Jaeger  <aj@suse.de>
66113         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66114         default is first entry.
66115         (run_mode): Set type.
66116         (main): Remove informal message about syslog.
66117         (options): Fix typo.
66119         [BZ #14053]
66120         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66121         to asm.
66122         (lrint): Likewise.
66123         (llrintf): Likewise.
66124         (llrint): Likewise.
66125         (rint): Likewise.
66126         (rintf): Likewise.
66127         (nearbyint): Likewise.
66128         (nearbyintf): Likewise.
66130 2012-05-09  Andreas Jaeger  <aj@suse.de>
66131             Pedro Alves  <palves@redhat.com>
66133         * nscd/nscd.c (run_mode): Use enum.
66134         (main): Cleanup coding style issue.
66136 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66137             Andreas Jaeger  <aj@suse.de>
66139         * nscd/nscd.c (go_background): Replaced with...
66140         (run_mode): ... this.
66141         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66142         (options): Add -F --foreground.
66143         (main): Implement it.
66144         (parse_opt): Parse it.
66146 2012-05-09  Andreas Jaeger  <aj@suse.de>
66148         [BZ #14083]
66149         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66150         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66151         -Wconversion warning.
66152         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66153         Likewise.
66155 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66157         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66158         == 0.
66159         (LC_ALL): Use macro-int-constant.
66160         (LC_COLLATE): Likewise.
66161         (LC_CTYPE): Likewise.
66162         (LC_MESSAGES): Likewise.
66163         (LC_MONETARY): Likewise.
66164         (LC_NUMERIC): Likewise.
66165         (LC_TIME): Likewise.
66166         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66167         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66168         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66169         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66170         Specify type.
66171         [C99-based standards] (float_t): Expect type.
66172         [C99-based standards] (double_t): Expect type.
66173         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66174         type.
66175         [C99-based standards] (HUGE_VALL): Likewise.
66176         [C99-based standards] (INFINITY): Likewise.
66177         [C99-based standards] (NAN): Likewise.
66178         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66179         [C99-based standards] (FP_NAN): Likewise.
66180         [C99-based standards] (FP_NORMAL): Likewise.
66181         [C99-based standards] (FP_SUBNORMAL): Likewise.
66182         [C99-based standards] (FP_ZERO): Likewise.
66183         [C99-based standards] (FP_FAST_FMA): Use
66184         optional-macro-int-constant.  Specify type.  Require == 1.
66185         [C99-based standards] (FP_FAST_FMAF): Likewise.
66186         [C99-based standards] (FP_FAST_FMAL): Likewise.
66187         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66188         [C99-based standards] (FP_ILOGBNAN): Likewise.
66189         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66190         Specify type.
66191         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66192         [C99-based standards] (math_errhandling): Specify type.
66193         [ISO99 || ISO11] (signgam): Do not allow.
66194         [non-C99-based standards] (copysignf): Do not allow.
66195         [non-C99-based standards] (exp2f): Likewise.
66196         [non-C99-based standards] (log2f): Likewise.
66197         [non-C99-based standards] (modff): Allow.
66198         [non-C99-based standards] (erff): Do not allow.
66199         [non-C99-based standards] (erfcf): Likewise.
66200         [non-C99-based standards] (gammaf): Likewise.
66201         [non-C99-based standards] (hypotf): Likewise.
66202         [non-C99-based standards] (j0f): Likewise.
66203         [non-C99-based standards] (j1f): Likewise.
66204         [non-C99-based standards] (jnf): Likewise.
66205         [non-C99-based standards] (lgammaf): Likewise.
66206         [non-C99-based standards] (tgammaf): Likewise.
66207         [non-C99-based standards] (y0f): Likewise.
66208         [non-C99-based standards] (y1f): Likewise.
66209         [non-C99-based standards] (ynf): Likewise.
66210         [non-C99-based standards] (isnanf): Likewise.
66211         [non-C99-based standards] (acoshf): Likewise.
66212         [non-C99-based standards] (asinhf): Likewise.
66213         [non-C99-based standards] (atanhf): Likewise.
66214         [non-C99-based standards] (cbrtf): Likewise.
66215         [non-C99-based standards] (expm1f): Likewise.
66216         [non-C99-based standards] (ilogbf): Likewise.
66217         [non-C99-based standards] (log1pf): Likewise.
66218         [non-C99-based standards] (logbf): Likewise.
66219         [non-C99-based standards] (nextafterf): Likewise.
66220         [non-C99-based standards] (remainderf): Likewise.
66221         [non-C99-based standards] (rintf): Likewise.
66222         [non-C99-based standards] (scalbf): Likewise.
66223         [non-C99-based standards] (copysignl): Likewise.
66224         [non-C99-based standards] (exp2l): Likewise.
66225         [non-C99-based standards] (log2l): Likewise.
66226         [non-C99-based standards] (modfl): Allow.
66227         [non-C99-based standards] (erfl): Do not allow.
66228         [non-C99-based standards] (erfcl): Likewise.
66229         [non-C99-based standards] (gammal): Likewise.
66230         [non-C99-based standards] (hypotl): Likewise.
66231         [non-C99-based standards] (j0l): Likewise.
66232         [non-C99-based standards] (j1l): Likewise.
66233         [non-C99-based standards] (jnl): Likewise.
66234         [non-C99-based standards] (lgammal): Likewise.
66235         [non-C99-based standards] (tgammal): Likewise.
66236         [non-C99-based standards] (y0l): Likewise.
66237         [non-C99-based standards] (y1l): Likewise.
66238         [non-C99-based standards] (ynl): Likewise.
66239         [non-C99-based standards] (isnanl): Likewise.
66240         [non-C99-based standards] (acoshl): Likewise.
66241         [non-C99-based standards] (asinhl): Likewise.
66242         [non-C99-based standards] (atanhl): Likewise.
66243         [non-C99-based standards] (cbrtl): Likewise.
66244         [non-C99-based standards] (expm1l): Likewise.
66245         [non-C99-based standards] (ilogbl): Likewise.
66246         [non-C99-based standards] (log1pl): Likewise.
66247         [non-C99-based standards] (logbl): Likewise.
66248         [non-C99-based standards] (nextafterl): Likewise.
66249         [non-C99-based standards] (remainderl): Likewise.
66250         [non-C99-based standards] (rintl): Likewise.
66251         [non-C99-based standards] (scalbl): Likewise.
66252         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66253         [non-C99-based standards] (FP_*): Do not allow.
66254         [C99-based standards] (FP_*): Change to
66255         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66256         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66257         allow.
66258         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66259         (SIG_ERR): Likewise.
66260         [X/Open-based standards] (SIG_HOLD): Likewise.
66261         (SIG_IGN): Likewise.
66262         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66263         positive value.
66264         (SIGFPE): Likewise.
66265         (SIGILL): Likewise.
66266         (SIGINT): Likewise.
66267         (SIGSEGV): Likewise.
66268         (SIGTER): Likewise.
66269         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66270         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66271         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66272         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66273         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66274         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66275         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66276         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66277         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66278         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66279         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66280         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66281         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66282         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66283         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66284         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66285         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66286         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66287         [X/Open-based standards] (SIGTRAP): Likewise.
66288         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66289         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66290         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66291         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66292         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66293         allow.
66295 2012-05-08  Ian Wienand  <ianw@vmware.com>
66297         [BZ #14080]
66298         * time/tzset.c (__tzset_parse_tz): Update default rules for
66299         daylight time changes in the Energy Policy Act of 2005.
66301 2012-05-09  Andreas Jaeger  <aj@suse.de>
66303         [BZ #13983]
66304         * elf/ldconfig.c (parse_conf): Change string to make clear that
66305         ldconfig only issued a warning if ld.so.conf does not exist.
66307 2012-05-08  David S. Miller  <davem@davemloft.net>
66309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66310         movxtod instead of popping the value on the stack.
66312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66314 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66316         * config.h.in: Add HAVE_ARM_PCS_VFP.
66318 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66320         [BZ #13979]
66321         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66322         checking but the checks are disabled for any reason.
66324 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66326         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66327         and ELF64_R_TYPE with ELFW(R_TYPE).
66329 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66331         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66332         (ulimit): Likewise.
66334         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66335         (settimeofday): Likewise.
66337 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66339         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66340         a struct th_u2 inside the union, and move tu_block/tu_code into
66341         a new th_u3 union of tu_block/tu_code inside of that.  Move
66342         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66343         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66344         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66345         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66346         (th_stuff): Change to th_u1.tu_stuff.
66347         (th_data): Define.
66348         (th_msg): Change to th_u1.th_u2.tu_data.
66350 2012-05-07  David S. Miller  <davem@davemloft.net>
66352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66354         [BZ #14074]
66355         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66356         (SETUP_PIC_REG): Use it.
66357         (SETUP_PIC_REG_LEAF): Use it.
66359 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66361         [BZ #13885]
66362         [BZ #13923]
66363         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66364         USE_AS_EXPM1L.
66365         (EXPL_FINITE): Likewise.
66366         (FLDLOG): Likewise.
66367         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66368         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66369         e_expl.S.
66370         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66371         USE_AS_EXPM1L.
66372         (EXPL_FINITE): Likewise.
66373         (FLDLOG): Likewise.
66374         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66375         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66376         e_expl.S.
66377         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66378         test of -max_value argument for long double.
66379         * sysdeps/i386/fpu/libm-test-ulps: Update.
66380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66382 2012-05-06  David S. Miller  <davem@davemloft.net>
66384         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66385         quad soft-float symbols whose references which are compiler
66386         generated.
66387         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66389 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66391         [BZ #13884]
66392         [BZ #13914]
66393         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66394         USE_AS_EXP10L.
66395         (EXPL_FINITE): Likewise.
66396         (FLDLOG): Likewise.
66397         (c0): Likewise.
66398         (c1): Likewise.
66399         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66400         Adjust comments for base varying.
66401         (__expl_finite): Change alias to EXPL_FINITE.
66402         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66403         e_expl.S.
66404         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66405         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66406         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66407         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66408         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66409         USE_AS_EXP10L.
66410         (EXPL_FINITE): Likewise.
66411         (FLDLOG): Likewise.
66412         (c0): Likewise.
66413         (c1): Likewise.
66414         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66415         Adjust comments for base varying.
66416         (__expl_finite): Change alias to EXPL_FINITE.
66417         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66418         tests for bugs.
66419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66421         [BZ #14064]
66422         * math/libm-test.inc (check_float_internal): Correct ulp
66423         calculation for subnormal expected results.
66425 2012-05-06  Andreas Jaeger  <aj@suse.de>
66427         * Makeconfig (+math-flags): New, set to -frounding-math.
66428         (+cflags): Add +math-flags so that all of glibc gets compiled with
66429         it.
66431         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66433 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66435         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66436         Disable one test.
66438         [BZ #13787]
66439         [BZ #13922]
66440         [BZ #14036]
66441         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66442         (__ieee754_expl): Allow for and saturate large arguments.
66443         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66444         (u_threshold): Likewise.
66445         (__exp): Call __ieee754_exp before checking for overflow and
66446         underflow.
66447         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66448         (u_threshold): Likewise.
66449         (__expf): Call __ieee754_expf before checking for overflow and
66450         underflow.
66451         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66452         (u_threshold): Likewise.
66453         (__expl): Call __ieee754_expl before checking for overflow and
66454         underflow.
66455         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66456         (__ieee754_expl): Allow for and saturate large arguments.
66457         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66458         missing overflow exception on overflow.
66459         (expm1_test): Do not allow missing overflow exception on overflow.
66461         * sysdeps/i386/fpu/e_expl.c: Move to ...
66462         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66463         rather than using inline asm.
66464         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66465         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66466         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66468         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66469         (nice): Likewise.
66470         (poll): Likewise.
66471         (signal): Likewise.
66472         (time): Likewise.
66473         (times): Likewise.
66475 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66477         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66478         sysdeps/unix/common/syscalls.list.
66479         (fchmod): Likewise.
66480         (fchown): Likewise.
66481         (ftruncate): Likewise.
66482         (getrusage): Likewise.
66483         (gettimeofday): Likewise.
66484         (setpgid): Likewise.
66485         (setregid): Likewise.
66486         (setreuid): Likewise.
66487         (sigaction): Likewise.
66488         (truncate): Likewise.
66489         (vhangup): Likewise.
66490         * sysdeps/unix/common/syscalls.list: Remove file.
66491         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66492         * sysdeps/unix/sysv/linux/Implies: Likewise.
66494 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66496         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66498         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66499         Moved to ...
66500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66501         Here.
66502         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66503         to ...
66504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66505         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66506         to ...
66507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66508         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66509         to ...
66510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66511         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66512         to ...
66513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66514         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66515         to ...
66516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66517         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66518         to ...
66519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66520         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66521         to ...
66522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66523         Here.
66524         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66525         to ...
66526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66527         Here.
66528         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66529         to ...
66530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66531         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66532         Moved to ...
66533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66534         Here.
66535         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66536         to ...
66537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66539 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66541         * sysdeps/unix/common/bits/dirent.h: Remove file.
66542         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66544         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66545         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66546         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66547         * sysdeps/unix/bsd/isatty.c: Likewise.
66548         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66549         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66550         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66552 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66554         [BZ #13563]
66555         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66556         long double comparison inaccuracies.
66557         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66560 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66562         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66563         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66565 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66567         [BZ #14049]
66568         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66569         nonzero digits before rounding a hex value.
66570         * stdlib/tst-strtod.c (tests): Add another test.
66572 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66574         * sysdeps/s390/fpu/libm-test-ulps: Update.
66576 2012-05-03  Andreas Jaeger  <aj@suse.de>
66578         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66579         does not get optimized out.
66580         (malloc_opt_barrier): New.
66582 2012-05-03  Andreas Jaeger  <aj@suse.de>
66583             Roland McGrath  <roland@hack.frob.com>
66585         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66586         intermediate file deletion.
66587         (generated): Add .symlist files.
66589 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66591         [BZ #13775]
66592         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66593         Redirect under this condition.
66594         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66595         [__USE_GNU] (__dprintf_chk): Not under this condition.
66596         [__USE_GNU] (__vdprintf_chk): Likewise.
66597         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66598         under this condition.
66599         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66600         [__USE_XOPEN2K8] (dprintf): Define under this condition.
66601         [__USE_XOPEN2K8] (vdprintf): Likewise.
66602         [__USE_GNU] (__dprintf_chk): Not under this condition.
66603         [__USE_GNU] (__vdprintf_chk): Likewise.
66604         [__USE_GNU] (dprintf): Likewise.
66605         [__USE_GNU] (vdprintf): Likewise.
66607 2012-05-03  Roland McGrath  <roland@hack.frob.com>
66609         * elf/Makefile (common-generated): Set this instead of generated for
66610         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
66611         $(all-built-dso)-derived lists.
66613 2012-05-03  Andreas Jaeger  <aj@suse.de>
66615         * sysdeps/i386/fpu/libm-test-ulps: Update.
66617         * FAQ: Removed.
66618         * FAQ.in: Likewise.
66619         * scripts/gen-FAQ.pl: Likewise.
66620         * manual/install.texi (Installation): Point to online location of
66621         FAQ.
66622         * Makefile (files-for-dist): Remove FAQ.
66623         (FAQ): Remove.
66625 2012-05-02  Allan McRae  <allan@archlinux.org>
66627         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66628         (LDFLAGS-reldepmod5.so): Likewise.
66629         (LDFLAGS-reldep6mod1.so): Likewise.
66630         (LDFLAGS-reldep6mod4.so): Likewise.
66631         (LDFLAGS-reldep8mod3.so): Likewise.
66632         (LDFLAGS-unload4mod1.so): Likewise.
66633         (LDFLAGS-unload4mod2.so): Likewise.
66634         (LDFLAGS-tst-initorder): Likewise.
66635         (LDFLAGS-tst-initordera2.so): Likewise.
66636         (LDFLAGS-tst-initordera3.so): Likewise.
66637         (LDFLAGS-tst-initordera4.so): Likewise.
66638         (LDFLAGS-tst-initorderb2.so): Likewise.
66639         (LDFLAGS-noload): Likewise.
66640         (LDFLAGS-next): Likewise.
66641         (LDFLAGS-order2mod1.so): Likewise.
66642         (LDFLAGS-order2mod2.so): Likewise.
66643         (LDFLAGS-tst-initorder2): Likewise.
66644         (LDFLAGS-tst-initorder2a.so): Likewise.
66645         (LDFLAGS-tst-initorder2b.so): Likewise.
66646         (LDFLAGS-tst-initorder2c.so): Likewise.
66647         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66649 2012-05-02  David S. Miller  <davem@davemloft.net>
66651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66653 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
66655         [BZ #14055]
66656         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66658 2012-05-02  Andreas Jaeger  <aj@suse.de>
66660         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66661         since we manipulate rounding mode.
66662         (CPPFLAGS-test-idouble.c): Likewise.
66663         (CPPFLAGS-test-ifloat.c): Likewise.
66664         (CFLAGS-test-ldouble.c): Likewise.
66665         (CFLAGS-test-double.c): Likewise.
66666         (CFLAGS-test-float.c): Likewise.
66667         (CFLAGS-test-misc.c): Likewise.
66668         (CFLAGS-test-test-fenv.c): Likewise.
66670 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66672         [BZ #2550]
66673         [BZ #2570]
66674         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66675         comparisons to determine direction to adjust input.
66677 2012-05-01  Roland McGrath  <roland@hack.frob.com>
66679         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66680         output to the target.
66682         * scripts/localplt.awk: New file.
66683         * elf/Makefile ($(objpfx)check-localplt): Target removed.
66684         (check-localplt-CFLAGS): Variable removed.
66685         ($(all-built-dso:=.jmprel)): New static pattern rule.
66686         (generated): Add those targets.
66687         (localplt-built-dso): New variable.
66688         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66690         * elf/check-localplt.c: File removed.
66692         * scripts/check-execstack.awk: New file.
66693         * elf/Makefile ($(objpfx)check-execstack): Target removed.
66694         (check-execstack-CFLAGS): Variable removed.
66695         ($(objpfx)check-execstack.h): Target removed.
66696         ($(objpfx)execstack-default): New target.
66697         (generated): Add that instead of check-execstack.h.
66698         ($(all-built-dso:=.phdr)): New static pattern rule.
66699         (generated): Add those targets.
66700         * elf/check-execstack.c: File removed.
66702         * scripts/check-textrel.awk: New file.
66703         * elf/Makefile ($(objpfx)check-textrel): Target removed.
66704         (check-textrel-CFLAGS): Variable removed.
66705         (all-built-dso): Use := to define.o
66706         ($(all-built-dso:=.dyn)): New static pattern rule.
66707         (generated): Add those targets.
66708         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66709         * config.make.in (READELF): New substituted variable.
66710         * elf/check-textrel.c: File removed.
66712 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66714         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66715         allow.
66716         * conform/data/ctype.h-data [C99-based standards] (isblank):
66717         Expect function.
66718         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66719         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66720         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66721         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66722         Specify type.  Require positive value.
66723         (EILSEQ): Likewise.
66724         (ERANGE): Likewise.
66725         [ISO || POSIX] (EILSEQ): Do not expect.
66726         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66727         Specify type.  Require positive value.
66728         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66729         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66730         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66731         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66732         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66733         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66734         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66735         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66736         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66737         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66738         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66739         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66740         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66741         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66742         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66743         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66744         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66745         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66746         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66747         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66748         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66749         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66750         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66751         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66752         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66753         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66754         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66755         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66756         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66757         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66758         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66759         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66760         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66761         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66762         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66763         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66764         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66765         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66766         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66767         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66768         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66769         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66770         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66771         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66772         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66773         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66774         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66775         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66776         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66777         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66778         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66779         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66780         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66781         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66782         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66783         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66784         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66785         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66786         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66787         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66788         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66789         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66790         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66791         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66792         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66793         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66794         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66795         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66796         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66797         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66798         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66799         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66800         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66801         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66802         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
66803         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
66804         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
66805         Require >= 2.
66806         (FLT_ROUNDS): Expect as macro, not constant.
66807         (FLT_MANT_DIG): Use macro-int-constant.
66808         (DBL_MANT_DIG): Likewise.
66809         (LDBL_MANT_DIG): Likewise.
66810         (FLT_DIG): Likewise.
66811         (DBL_DIG): Likewise.
66812         (LDBL_DIG): Likewise.
66813         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
66814         (DBL_MIN_EXP): Likewise.
66815         (LDBL_MIN_EXP): Likewise.
66816         (FLT_MAX_EXP): Use macro-int-constant.
66817         (DBL_MAX_EXP): Likewise.
66818         (LDBL_MAX_EXP): Likewise.
66819         (FLT_MAX_10_EXP): Likewise.
66820         (DBL_MAX_10_EXP): Likewise.
66821         (LDBL_MAX_10_EXP): Likewise.
66822         (FLT_MAX): Use macro-constant.
66823         (DBL_MAX): Likewise.
66824         (LDBL_MAX): Likewise.
66825         (FLT_EPSILON): Use macro-constant.  Give upper bound.
66826         (DBL_EPSILON): Likewise.
66827         (LDBL_EPSILON): Likewise.
66828         (FLT_MIN): Likewise.
66829         (DBL_MIN): Likewise.
66830         (LDBL_MIN): Likewise.
66831         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66832         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66833         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66834         [ISO11] (FLT_HAS_SUBNORM): Likewise.
66835         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66836         [ISO11] (DBL_DECIMAL_DIG): Likewise.
66837         [ISO11] (FLT_DECIMAL_DIG): Likewise.
66838         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66839         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66840         [ISO11] (FLT_TRUE_MIN): Likewise.
66841         [ISO11] (LDBL_TRUE_MIN): Likewise.
66842         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66843         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66844         (SCHAR_MIN): Use macro-int-constant.  Specify type.
66845         (SCHAR_MAX): Likewise.
66846         (UCHAR_MAX): Likewise.
66847         (CHAR_MIN): Likewise.
66848         (CHAR_MAX): Likewise.
66849         (MB_LEN_MAX): Use macro-int-constant.
66850         (SHRT_MIN): Use macro-int-constant.  Specify type.
66851         (SHRT_MAX): Likewise.
66852         (USHRT_MAX): Likewise.
66853         (INT_MAX): Likewise.
66854         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
66855         bound negative.
66856         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66857         bound with "U".
66858         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66859         bound with "L".
66860         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
66861         bound negative.  Suffix upper bound with "L".
66862         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66863         bound with "UL".
66864         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66865         Specify type.
66866         [C99-based standards] (LLONG_MAX): Likewise.
66867         [C99-based standards] (ULLONG_MAX): Likewise.
66868         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
66869         == 0.
66870         [ISO11] (max_align_t): Require type.
66871         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66873         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66874         from $CFLAGS, without defining away __attribute__ calls.
66875         (checknamespace): Use $CFLAGS_namespace.
66877         * conform/conformtest.pl (@keywords): Only include C99 keywords
66878         for standards based on C99 or C11.
66880         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66881         Disable tests.
66882         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66883         UNIX98]: Likewise.
66885         * conform/conformtest.pl: Handle "macro-int-constant" and test for
66886         usability of symbols in #if.
66888         * conform/conformtest.pl: If macro or constant types start
66889         "promoted:", expect the symbol to be of the following type
66890         promoted by the integer promotions.
66892         * conform/conformtest.pl: Parse all "constant" and "macro" lines
66893         in one place.  Also handle "macro-constant".
66895         * conform/conformtest.pl: Only accept expected macro values with
66896         "==".  Parse all "macro" lines in one place.
66897         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66899         * conform/conformtest.pl: Handle braced types on "constant" lines
66900         instead of handling "typed-constant".
66901         * conform/data/signal.h-data: Use "constant" instead of
66902         "typed-constant".
66904         * conform/conformtest.pl: Handle "optional-" at start of lines in
66905         one place rather than duplicating several cases.  Handle each
66906         format of "macro" line with initial "optional-".
66908         * conform/conformtest.pl: Only accept expected constant or
66909         optional-constant values with "==".  Parse all "constant" lines in
66910         one place.  Parse all "optional-constant" lines in one place.
66911         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66912         * conform/data/fmtmsg.h-data: Likewise.
66913         * conform/data/netinet/in.h-data: Likewise.
66914         * conform/data/tar.h-data: Likewise.
66915         * conform/data/limits.h-data: Use "==" form on "constant" and
66916         "optional-constant" lines.
66918         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66919         Use -std=c99 for XOPEN2K.
66920         (@knownproblems): Remove.
66921         (newtoken): Don't check %isknown.
66923         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66924         Do not expect macro.
66925         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66926         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66927         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66928         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66929         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66930         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66931         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66932         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66933         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66934         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66935         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66936         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66937         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66938         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66939         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66940         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66941         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66942         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66943         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66944         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66945         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66946         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66947         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66948         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66949         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66950         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66951         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66952         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66953         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66954         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66955         [XPG3] (acosh): Likewise.
66956         [XPG3] (asinh): Likewise.
66957         [XPG3] (atanh): Likewise.
66958         [XPG3] (cbrt): Likewise.
66959         [XPG3] (expm1): Likewise.
66960         [XPG3] (ilogb): Likewise.
66961         [XPG3] (log1p): Likewise.
66962         [XPG3] (logb): Likewise.
66963         [XPG3] (nextafter): Likewise.
66964         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66965         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66966         [XPG3] (remainder): Likewise.
66967         [XPG3] (rint): Likewise.
66968         [XPG3 || XPG4 || UNIX98] (round): Likewise.
66969         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66970         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66971         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66972         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66973         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66974         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66975         [UNIX98 || XOPEN2K] (scalb): Expect.
66976         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
66977         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
66978         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
66979         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
66980         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
66981         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
66982         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
66983         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
66984         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
66985         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
66986         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
66987         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
66988         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
66989         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
66990         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
66991         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
66992         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
66993         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
66994         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
66995         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
66996         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
66997         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
66998         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
66999         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67000         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67001         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67002         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67003         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67004         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67005         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67006         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67007         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67008         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67009         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67010         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67011         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67012         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67013         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67014         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67015         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67016         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67017         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67018         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67019         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67020         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67021         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67022         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67023         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67024         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67025         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67026         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67027         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67028         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67029         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67030         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67031         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67032         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67033         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67034         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67035         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67036         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67037         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67038         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67039         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67040         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67041         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67042         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67043         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67044         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67045         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67046         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67047         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67048         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67049         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67050         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67051         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67052         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67053         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67054         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67055         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67056         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67057         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67058         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67059         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67060         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67061         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67062         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67063         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67064         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67065         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67066         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67067         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67068         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67069         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67070         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67071         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67072         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67073         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67074         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67075         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67076         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67077         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67078         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67079         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67080         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67081         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67082         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67083         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67084         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67085         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67086         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67087         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67088         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67089         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67090         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67091         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67092         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67093         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67094         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67095         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67096         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67097         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67098         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67099         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67100         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67101         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67102         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67103         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67104         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67105         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67106         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67107         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67108         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67109         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67110         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67111         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67112         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67114         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67115         _XOPEN_SOURCE_EXTENDED for XPG4.
67117         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67119         * Makeconfig (localtime): Remove variable.
67120         (inst_localtime-file): Likewise.
67122 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67125         Update.
67126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67127         Update.
67128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67129         Update.
67130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67131         Update.
67132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67133         Update.
67134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67135         Update.
67136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67137         Update.
67138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67139         Update.
67140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67141         Update.
67143 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67145         [BZ #2550]
67146         [BZ #2570]
67147         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67148         comparisons to determine direction to adjust input.
67149         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67150         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67151         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67152         Likewise.
67153         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67154         Likewise.
67155         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67156         Likewise.
67157         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67158         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67159         Likewise.
67160         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67161         Likewise.
67162         * math/libm-test.inc (nexttoward_test): Add more tests.
67164 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67166         [BZ #14040]
67167         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67168         in version GLIBC_2.1, not GLIBC_2.0.
67169         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67170         Likewise.
67172 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67174         [BZ #13942]
67175         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67176         (1 - x) * (1 + x).
67177         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67178         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67179         * math/libm-test.inc (acos_test): Add more tests.
67180         (asin_test): Likewise.
67181         * sysdeps/i386/fpu/libm-test-ulps: Update.
67182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67184         [BZ #14034]
67185         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67186         of square root.
67187         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67188         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67189         * math/libm-test.inc (acos_test_tonearest): New function.
67190         (acos_test_towardzero): Likewise.
67191         (acos_test_downward): Likewise.
67192         (acos_test_upward): Likewise.
67193         (asin_test_tonearest): Likewise.
67194         (asin_test_towardzero): Likewise.
67195         (asin_test_downward): Likewise.
67196         (asin_test_upward): Likewise.
67197         (main): Call the new functions.
67198         * sysdeps/i386/fpu/libm-test-ulps: Update.
67199         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67201         [BZ #13884]
67202         [BZ #13924]
67203         * math/e_exp10.c: Include <float.h>.
67204         (__ieee754_exp10): Handle underflow here rather than multiplying
67205         large negative argument by M_LN10.
67206         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67207         of __ieee754_expf.
67208         * math/e_exp10l.c: Include <float.h>.
67209         (__ieee754_exp10l): Handle underflow here rather than multiplying
67210         large negative argument by M_LN10l.
67211         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67212         spurious overflow exception on underflow.
67214 2012-04-29  Marek Polacek  <polacek@redhat.com>
67216         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67217         (__fortify_function): New macro.
67218         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67219         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67220         __extern_always_inline.
67221         * libio/bits/stdio2.h: Likewise.
67222         * libio/bits/stdio.h: Likewise.
67223         * string/string.h: Likewise.
67224         * string/bits/string3.h: Likewise.
67225         * include/stdio.h: Likewise.
67226         * stdlib/bits/stdlib.h: Likewise.
67227         * stdlib/stdlib.h: Likewise.
67228         * rt/bits/mqueue2.h: Likewise.
67229         * rt/mqueue.h: Likewise.
67230         * posix/bits/unistd.h: Likewise.
67231         * posix/unistd.h: Likewise.
67232         * io/bits/poll2.h: Likewise.
67233         * io/bits/fcntl2.h: Likewise.
67234         * io/fcntl.h: Likewise.
67235         * io/sys/poll.h: Likewise.
67236         * misc/bits/syslog.h: Likewise.
67237         * misc/bits/syslog-ldbl.h: Likewise.
67238         * misc/sys/syslog.h: Likewise.
67239         * socket/bits/socket2.h: Likewise.
67240         * socket/sys/socket.h: Likewise.
67241         * debug/tst-chk1.c: Likewise.
67242         * wcsmbs/bits/wchar2.h: Likewise.
67243         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67244         * wcsmbs/wchar.h: Likewise.
67246 2012-04-29  Andreas Jaeger  <aj@suse.de>
67248         * Makerules (tests): Remove enable-check-abi protection.
67249         (check-abi-warn): Remove.
67250         (check-abi-%): Remove check-abi-warn usage.
67252         * configure.in: Remove check-abi configure option.
67253         * configure: Regenerated.
67254         * config.make.in (enable-check-abi): Remove.
67256 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67258         [BZ #14033]
67259         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67260         double functions to double *_finite functions.
67262         [BZ #13941]
67263         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67264         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67265         LDBL_MIN_EXP.
67266         * stdio-common/Makefile (tests): Add tst-sprintf3.
67267         * stdio-common/tst-sprintf3.c: New file.
67269         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67270         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67272 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67274         * conform/conformtest.pl: Remove duplicate typed-constant
67275         handling.
67277 2012-04-28  David S. Miller  <davem@davemloft.net>
67279         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67280         (check-abi-%): Remove AWK script prerequisite and explicit
67281         abilist directory.
67282         (check-abi): Rewrite to just diff the symlist with the abilist.
67283         (config-tls, config-abi-config): Delete, no longer used.
67284         (update-abi-%): Remove AWK script and explicit abilist directory.
67285         (update-abi): Rewrite to simply compare and conditionally copy the
67286         symlist and the sysdep abilist file.  Remove update-abi-config
67287         checks.
67288         * abilist/ld.abilist: Remove.
67289         * abilist/libBrokenLocale.abilist: Remove.
67290         * abilist/libanl.abilist: Remove.
67291         * abilist/libcrypt.abilist: Remove.
67292         * abilist/libdl.abilist: Remove.
67293         * abilist/librt.abilist: Remove.
67294         * abilist/libthread_db.abilist: Remove.
67295         * abilist/libutil.abilist: Remove.
67296         * scripts/extract-abilist.awk: Remove.
67297         * scripts/merge-abilist.awk: Remove.
67298         * sysdeps/generic/libcidn.abilist: New file.
67299         * sysdeps/generic/libnss_compat.abilist: New file.
67300         * sysdeps/generic/libnss_db.abilist: New file.
67301         * sysdeps/generic/libnss_dns.abilist: New file.
67302         * sysdeps/generic/libnss_files.abilist: New file.
67303         * sysdeps/generic/libnss_hesiod.abilist: New file.
67304         * sysdeps/generic/libnss_nis.abilist: New file.
67305         * sysdeps/generic/libnss_nisplus.abilist: New file.
67306         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67307         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67308         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67309         file.
67310         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67311         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67312         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67313         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67314         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67315         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67316         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67317         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67318         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67319         file.
67320         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67321         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67322         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67323         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67324         file.
67325         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67326         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67327         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67328         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67329         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67330         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67331         file.
67332         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67333         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67334         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67335         file.
67336         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67337         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67338         New file.
67339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67340         New file.
67341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67342         New file.
67343         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67344         New file.
67345         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67346         New file.
67347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67348         New file.
67349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67350         New file.
67351         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67352         New file.
67353         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67354         New file.
67355         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67356         New file.
67357         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67358         New file.
67359         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67360         New file.
67361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67362         New file.
67363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67364         file.
67365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67366         New file.
67367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67368         New file.
67369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67370         file.
67371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67372         New file.
67373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67374         New file.
67375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67376         file.
67377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67378         New file.
67379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67380         New file.
67381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67382         New file.
67383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67384         New file.
67385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67386         New file.
67387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67388         New file.
67389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67391         file.
67392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67393         New file.
67394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67395         file.
67396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67397         file.
67398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67399         file.
67400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67401         file.
67402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67403         file.
67404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67405         New file.
67406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67407         file.
67408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67409         file.
67410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67411         New file.
67412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67413         file.
67414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67416         file.
67417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67418         New file.
67419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67420         file.
67421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67422         file.
67423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67424         file.
67425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67426         file.
67427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67428         file.
67429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67430         New file.
67431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67432         file.
67433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67434         file.
67435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67436         New file.
67437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67438         file.
67439         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67440         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67441         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67442         file.
67443         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67444         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67445         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67446         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67447         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67448         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67449         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67450         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67451         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67452         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67455         file.
67456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67457         New file.
67458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67459         file.
67460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67461         file.
67462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67463         file.
67464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67465         file.
67466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67467         file.
67468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67469         New file.
67470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67471         New file.
67472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67473         file.
67474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67475         New file.
67476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67477         file.
67478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67480         file.
67481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67482         New file.
67483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67484         file.
67485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67486         file.
67487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67488         file.
67489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67490         file.
67491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67492         file.
67493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67494         New file.
67495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67496         New file.
67497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67498         file.
67499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67500         New file.
67501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67502         file.
67504 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67506         * conform/conformtest.pl: Fix typo in handling typed-constant from
67507         allow-header.
67509 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67511         * README: Cut down references to pre-2.6 Linux kernels and
67512         Linuxthreads.  Update lists of configurations in libc and ports
67513         and sort alphabetically.  Say "or newer" with Linux kernel version
67514         requirements.
67516         * config.h.in [IS_IN_build]: Allow compiling without optimization.
67518 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67520         [BZ #887]
67521         * math/libm-test.inc (logb_test_downward): New test to expose
67522         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67523         rounding mode.
67525 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67527         [BZ #14027]
67528         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67529         to be done.
67530         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67531         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67533 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
67535         * sysdeps/unix/i386/brk.S: Remove file.
67536         * sysdeps/unix/i386/dl-brk.S: Likewise.
67537         * sysdeps/unix/i386/pipe.S: Likewise.
67538         * sysdeps/unix/i386/sigreturn.S: Likewise.
67539         * sysdeps/unix/i386/syscall.S: Likewise.
67540         * sysdeps/unix/i386/vfork.S: Likewise.
67541         * sysdeps/unix/i386/wait.S: Likewise.
67543         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67544         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67546         * configure.in (arm*-none*): Do not allow without
67547         --enable-hacker-mode.
67548         (netbsd*): Remove case setting base_os.
67549         (386bsd*): Likewise.
67550         (freebsd*): Likewise.
67551         (bsdi*): Likewise.
67552         (osf*): Likewise.
67553         (sunos*): Likewise.
67554         (ultrix*): Likewise.
67555         (newsos*): Likewise.
67556         (dynix*): Likewise.
67557         (*bsd*): Likewise.
67558         (sysv*): Likewise.
67559         (isc*): Likewise.
67560         (esix*): Likewise.
67561         (sco*): Likewise.
67562         (minix*): Likewise.
67563         (irix4*): Likewise.
67564         (irix6*): Likewise.
67565         (solaris[2-9]*): Likewise.
67566         (none): Likewise.
67567         * configure: Regenerated.
67569 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67571         [BZ #11521]
67572         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67573         overflow or cancellation in calculating denominator.
67574         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67575         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67576         down expression to avoid unexpected rounding in newer GCCs.
67577         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67579 2012-04-26  David S. Miller  <davem@davemloft.net>
67581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67582         long-double compat symbols.
67583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67597 2012-04-25  David S. Miller  <davem@davemloft.net>
67599         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67600         HWCAP_* values only after the memory barriers have been defined.
67601         (atomic_full_barrier): Define.
67602         (atomic_read_barrier): Define.
67603         (atomic_write_barrier): Define.
67605 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67607         * shlib-versions: Add libgcc_s version information.
67608         * sysdeps/generic/libgcc_s.h: Remove.
67609         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67610         libgcc_s.h.
67611         * sysdeps/gnu/unwind-resume.c: Likewise.
67612         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67614 2012-04-25  David S. Miller  <davem@davemloft.net>
67616         * sysdeps/unix/sparc/brk.S: Delete.
67617         * sysdeps/unix/sparc/dl-brk.S: Delete.
67618         * sysdeps/unix/sparc/pipe.S: Delete.
67619         * sysdeps/unix/sparc/sysdep.S: Delete.
67620         * sysdeps/unix/sparc/sysdep.h: Delete.
67621         * sysdeps/unix/sparc/vfork.S: Delete.
67622         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67623         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67624         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67625         (ret_ERRVAL, r0, r1, MOVE): Define.
67626         (JUMPTARGET): Remove.
67627         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67628         sysdeps/unix/sparc/sysdep.h
67629         (ENTRY, END): Remove.
67630         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67632 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
67634         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67635         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67636         -DIS_IN_build.
67638         * timezone/README: Update upstream location and email address for
67639         tzcode and tzdata.
67640         * timezone/zdump.c: Update from tzcode 2012b.
67641         * timezone/zic.c: Likewise.
67643         * configure.in (libc_cv_as_needed): Remove test.
67644         * configure: Regenerated.
67645         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67646         conditional definition.
67647         [$(have-as-needed) != yes] (no-as-needed): Likewise.
67648         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67649         * config.make.in (have-as-needed): Remove variable.
67651 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67652             Paul Pluzhnikov  <ppluzhnikov@google.com>
67654         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67655         strings correctly.
67657 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
67659         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67660         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67661         * sysdeps/sh/strlen.S: Likewise.
67663 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67665         * sysdeps/unix/fork.S: Remove file.
67666         * sysdeps/unix/i386/fork.S: Likewise.
67667         * sysdeps/unix/sparc/fork.S: Likewise.
67669         * sysdeps/unix/system.c: Remove file.
67670         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67672         * sysdeps/unix/getegid.S: Remove file.
67673         * sysdeps/unix/geteuid.S: Likewise.
67675 2012-04-24  Roland McGrath  <roland@hack.frob.com>
67677         * scripts/check-localplt.awk: New file.
67678         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67679         of diff.
67680         * scripts/data/localplt-generic.data: Add a comment.
67682         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67683         NODE when __dir_mkfile failed.
67684         * sysdeps/mach/hurd/symlinkat.c: Likewise.
67685         Reported by Ludovic Courtès <ludo@gnu.org>.
67687 2012-04-24  Andreas Jaeger  <aj@suse.de>
67689         * Makerules (common-clean): Also remove gen-as-const-headers
67690         files.
67692 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67694         * Makerules (native-compile): Do not change working directory for
67695         build.  Use $(OUTPUT_OPTION) in command.
67696         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67698 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67700         [BZ #13886]
67701         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67702         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67703         * math/libm-test.inc (floor_test): Add more tests.
67704         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67706 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67708         * sysdeps/unix/getdents.c: Remove file.
67709         * sysdeps/unix/sysv/getdents.c: Likewise.
67710         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67712         * sysdeps/unix/syscalls.list (madvise): Add syscall from
67713         sysdeps/unix/mman/syscalls.list.
67714         (mmap): Likewise.
67715         (mprotect): Likewise.
67716         (msync): Likewise.
67717         (munmap): Likewise.
67718         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67719         * sysdeps/unix/mman/syscalls.list: Remove.
67720         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67722         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67723         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67724         * configure: Regenerated.
67725         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67726         $(libgcc_s_suffix).
67727         * config.make.in (libgcc_s_suffix): Remove variable.
67729 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
67731         * sysdeps/unix/sysv/gethostname.c: Move to ...
67732         * sysdeps/posix/gethostname.c: ... here.
67734         * sysdeps/unix/execve.S: Remove file.
67736         * sysdeps/unix/_exit.S: Remove file.
67738 2012-04-23  Andreas Jaeger  <aj@suse.de>
67740         [BZ #13739]
67741         * manual/Makefile: Remove make dist support, there's no
67742         need for a stand-alone documentation tar ball.
67743         (TEXI2DVI): Define always, it's not in Makeconfig.
67744         (dist): Removed.
67745         (tar-it): Removed.
67746         (edition): Removed.
67747         (glibc-doc-$(edition).tar): Removed
67748         (%.Z): Removed.
67749         (%.gz): Removed.
67750         (%.uu): Removed.
67751         (ETAGS): Remove, it's in Makeconfig.
67752         (move-if-change): Remove, it's in Makeconfig.
67754 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
67756         [BZ #13970]
67757         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67758         (strtod, strtof, strtold, strtol, strtoul, strtoq)
67759         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67760         (strtod_l, strtof_l, strtold_l): Remove __wur.
67761         It is not necessarily an error to ignore strtol's return value.
67762         One can reliably look at the stored endptr to decide whether
67763         the number had valid syntax.
67765 2012-04-21  Andreas Jaeger  <aj@suse.de>
67767         [BZ #13739]
67768         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67770 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
67772         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67773         * sysdeps/unix/sysv/Versions: Remove file.
67775 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
67777         [BZ #13927]
67778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67780 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
67782         [BZ #7064]
67783         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67784         version from __vm86.
67786 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
67788         * sysdeps/unix/common/lxstat.c: Remove file.
67789         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67791         * sysdeps/unix/sysv/Makefile: Remove file.
67793         * sysdeps/unix/sysv/direct.h: Remove file.
67795         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67796         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67797         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67798         * sysdeps/unix/sysv/bits/signum.h: Likewise.
67799         * sysdeps/unix/sysv/bits/stat.h: Likewise.
67800         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67801         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
67803         * sysdeps/unix/sysv/setrlimit.c: Remove file.
67805         * sysdeps/unix/xmknod.c: Remove file.
67806         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
67808         * sysdeps/unix/sysv/settimeofday.c: Remove file.
67810         * sysdeps/unix/sysv/i386/time.S: Remove file.
67812         * sysdeps/unix/fxstat.c: Remove file.
67813         * sysdeps/unix/xstat.c: Likewise.
67814         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67816         * sysdeps/unix/sysv/sigaction.c: Remove file.
67818         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67819         (sysdep_headers): Remove variable.
67820         [termio.h not in sysdep_headers] (generated): Likewise.
67821         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67822         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67823         * sysdeps/unix/sysv/tcdrain.c: Likewise.
67824         * sysdeps/unix/sysv/tcflow.c: Likewise.
67825         * sysdeps/unix/sysv/tcflush.c: Likewise.
67826         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67827         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67828         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67829         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67830         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67832         * sysdeps/unix/siglist.c: Remove file.
67834         * sysdeps/unix/getppid.S: Remove file.
67836         * sysdeps/unix/mkdir.c: Remove file.
67837         * sysdeps/unix/rmdir.c: Likewise.
67839 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
67841         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67842         ERR_MAX value.
67843         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67844         errlist-compat value.
67846 2012-04-18  David S. Miller  <davem@davemloft.net>
67848         * sysdeps/generic/memcopy.h (reg_char): Delete.
67849         * debug/strcat_chk.c: Use char, not reg_char.
67850         * debug/strcpy_chk.c: Likewise.
67851         * debug/strncat_chk.c: Likewise.
67852         * debug/strncpy_chk.c: Likewise.
67853         * string/memchr.c: Likewise.
67854         * string/memrchr.c: Likewise.
67855         * string/rawmemchr.c: Likewise.
67856         * string/strcat.c: Likewise.
67857         * string/strchr.c: Likewise.
67858         * string/strchrnul.c: Likewise.
67859         * string/strcmp.c: Likewise.
67860         * string/strcpy.c: Likewise.
67861         * string/strncat.c: Likewise.
67862         * string/strncmp.c: Likewise.
67863         * string/strncpy.c: Likewise.
67865 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67867         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67868         __builtin_memcopy is called when src and dest ranges are known to not
67869         overlap.
67871 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67873         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67874         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67875         fwd_align_merge macro call.
67876         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67877         bwd_align_merge macro call.
67878         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67880 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67882         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67883         bwd_align_merge macros.
67884         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67885         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67886         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67888 2012-04-18  David S. Miller  <davem@davemloft.net>
67890         * sysdeps/sparc/sparc64/memcopy.h: Delete.
67892 2012-04-18  Andreas Jaeger  <aj@suse.de>
67894         [BZ# 6794]
67895         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67896         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67897         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67899         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67900         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67901         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67903         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67904         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67905         Adjust for changed ldbl-128 files.
67907         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67908         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67909         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67911 2012-04-17  David S. Miller  <davem@davemloft.net>
67913         * sysdeps/sparc/sparc32/memcopy.h: Delete.
67915 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
67917         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67918         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67919         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67920         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67921         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67922         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67924 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67926         [BZ #6794]
67927         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67928         * math/libm-test.inc: Add ilogb errno and exception tests.
67929         * math/w_ilogb.c: New file: ilogb wrapper.
67930         * math/w_ilogbf.c: New file: ilogbf wrapper.
67931         * math/w_ilogbl.c: New file: ilogbl wrapper.
67932         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67933         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67934         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67935         exception being thrown with 0.0 as argument.
67936         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67937         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67938         exception being thrown with 0.0 as argument.
67939         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67940         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67941         exception being thrown with 0.0 as argument.
67942         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67943         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67944         exception being thrown with 0.0 as argument.
67945         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67946         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67947         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67948         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67949         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67950         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67951         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67952         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67953         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67955 2012-04-17  Petr Baudis  <pasky@ucw.cz>
67957         * include/sys/uio.h: Change __vector to __iovec to avoid clash
67958         with altivec.
67960 2012-04-16  Marek Polacek  <polacek@redhat.com>
67962         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67964 2012-04-16  Marek Polacek  <polacek@redhat.com>
67966         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67967         operands of fdivp instruction.
67969 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67971         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67972         * elf/tst-auditmod3b.c: Likewise.
67973         * elf/tst-auditmod4b.c: Likewise.
67974         * elf/tst-auditmod5b.c: Likewise.
67975         * elf/tst-auditmod6b.c: Likewise.
67976         * elf/tst-auditmod6c.c: Likewise.
67977         * elf/tst-auditmod7b.c: Likewise.
67978         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
67979         * sysdeps/x86_64/preconfigure.in: Likewise.
67980         * sysdeps/x86_64/preconfigure: Regenerated.
67982 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67984         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
67985         __ILP32__.
67987 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
67989         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67990         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
67992 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
67994         [BZ #13973]
67995         * locale/iso-639.def: Fix gl language name. Spotted by
67996         Yaron Shahrabani.
67998 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68000         [BZ #2074]
68001         * libio/libio.h (__io_write_fn): Update comment.
68003 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68005         [BZ #2074]
68006         * stdio.texi (Hook Functions): The user provided writer function
68007         is not allowed to return -1.
68009 2012-04-11  David S. Miller  <davem@davemloft.net>
68011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68013 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68015         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68016         Add a leading slash to rtkaio.
68018 2012-04-11  Jim Meyering  <meyering@redhat.com>
68020         [BZ #11959]
68021         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68022         It is not necessarily an error to ignore fwrite's return
68023         value.  One can reliably use ferror to test for errors after
68024         the fact.
68026 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68028         * bits/types.h (__snseconds_t): New type.
68029         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68031         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68032         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68033         (__SNSECONDS_T_TYPE): Likewise.
68034         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68035         (__SNSECONDS_T_TYPE): Likewise.
68036         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68037         (__SNSECONDS_T_TYPE): Likewise.
68039 2012-04-10  Andreas Jaeger  <aj@suse.de>
68041         [BZ #2636]
68042         * manual/time.texi (Processor Time): Return type of times is
68043         elapsed real time since an arbitrary point in the past.
68044         (CPU Time): Move CLK_TCK from here...
68045         (Processor Time): ...to here.  Correct description.
68046         * manual/conf.texi (Constants for Sysconf): Correct description of
68047         _SC_CLK_TCK.
68049 2012-04-10  David S. Miller  <davem@davemloft.net>
68051         [BZ #13967]
68052         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68053         where the is a gap between DT_REL(A) and DT_JMPREL.
68055 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68057         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68058         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68059         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68061 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68063         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68064         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68065         (dl_main): Handle --inhibit-cache.
68066         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68067         _dl_inhibit_cache.
68068         * elf/dl-load.c (_dl_map_object): Use it.
68069         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68071 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68073         [BZ #13872]
68074         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68075         (__ieee754_powl): Saturate large exponents rather than testing for
68076         overflow of y*log2(x).
68077         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68078         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68079         exceptions.
68081         [BZ #11521]
68082         * math/s_ctan.c: Include <float.h>.
68083         (__ctan): Avoid internal overflow or cancellation in calculating
68084         denominator.
68085         * math/s_ctanf.c: Likewise.
68086         * math/s_ctanl.c: Likewise.
68087         * math/s_ctanh.c: Likewise.
68088         * math/s_ctanhf.c: Likewise.
68089         * math/s_ctanhl.c: Likewise.
68090         * math/libm-test.inc (ctan_test): Add more tests.
68091         (ctanh_test): Likewise.
68092         * sysdeps/i386/fpu/libm-test-ulps: Update.
68093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68095 2012-04-09  Andreas Jaeger  <aj@suse.de>
68097         [BZ #6894]
68098         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68099         is an optional BSD extension.
68101         [BZ #10254]
68102         * manual/stdio.texi (Opening Streams): Document additional fopen
68103         parameters.
68105 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68107         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68108         %eax without telling the compiler.
68110 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68112         [BZ # 13963]
68113         * manual/install.texi: Use sourceware.org.
68115 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68117         [BZ #13873]
68118         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68119         (__ieee754_pow): Generate overflow and underflow using huge*huge
68120         and tiny*tiny rather than just returning constant infinity or zero
68121         for large exponents.
68122         * math/libm-test.inc (pow_test): Require overflow exceptions for
68123         applicable cases of large exponents.
68125         [BZ #706]
68126         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68127         (__ieee754_pow): Use iterative multiplication algorithm only for
68128         integer exponents with absolute value below 1024.  Check for odd
68129         integer exponents when using algorithm for real exponents.
68130         * math/libm-test.inc (pow_test): Add more tests.
68131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68133 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68135         [BZ #13705]
68136         * math/libm-test.inc (exp_test): Do not allow overflow exception
68137         on underflow test.
68139 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68141         [BZ #13705]
68142         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68143         instead of __kernel_standard_f.
68145 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68147         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68148         * sysdeps/x86_64/memset_chk.S: Likewise.
68150 2012-04-08  Andreas Jaeger  <aj@suse.de>
68152         [BZ #10153]
68153         * manual/startup.texi (Environment Access): Describe return value
68154         for putenv and setenv.
68156         [BZ #6895]
68157         * manual/filesys.texi (Directory Entries): Add description for
68158         DT_LNK.
68160         [BZ #6890]
68161         * manual/filesys.texi (Directory Entries): Clarify that it's file
68162         system not operating system in the description of DT_UNKNOWN.
68164         [BZ #6578]
68165         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68167 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68169         [BZ #6649]
68170         * manual/llio.texi (Opening and Closing Files): Add cross
68171         reference to explain mode argument.
68173 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68175         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68176         * sysdeps/x86_64/memset_chk.S: Likewise.
68178 2012-04-07  David S. Miller  <davem@davemloft.net>
68180         * elf/elf.h (R_SPARC_WDISP10): Define.
68181         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68182         R_SPARC_SIZE32.
68183         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68184         R_SPARC_SIZE64 and R_SPARC_H34.
68186 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68188         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68189         conditions and remove no longer applicable assertion.
68191 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68193         * bits/byteswap.h: Include <features.h>.
68194         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68195         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68197 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68199         * bits/byteswap.h (__bswap_16): Removed.
68200         Include <bits/byteswap-16.h> to get __bswap_16.
68201         * sysdeps/i386/bits/byteswap.h: Likewise.
68202         * sysdeps/s390/bits/byteswap.h: Likewise.
68203         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68204         * bits/byteswap-16.h: New file.
68205         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68206         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68207         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68208         * string/Makefile (headers): Add bits/byteswap-16.h.
68210 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68212         [BZ #13895]
68213         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68214         extra indirection.
68215         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68216         * nss/tst-nss-static.c: New.
68218 2012-04-06  Robert Millan  <rmh@gnu.org>
68220         [BZ #6486]
68221         * manual/llio.texi (File Position Primitive): lseek
68222         refers to WHENCE when it really means OFFSET.
68224 2012-04-06  Andreas Jaeger  <aj@suse.de>
68226         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68227         strncmp declarations.
68229         * abilist/libc.abilist: Add __poll and __ppoll.
68231 2012-04-05  David S. Miller  <davem@davemloft.net>
68233         * scripts/check-local-headers.sh: Accept a host triplet in the
68234         path matched by the exclude regexp.
68236         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68237         definition.
68238         * sysdeps/powerpc/powerpc32/dl-machine.h
68239         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68240         * sysdeps/s390/s390-32/dl-machine.h
68241         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68242         * sysdeps/sparc/sparc32/dl-machine.h
68243         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68244         * sysdeps/sparc/sparc64/dl-machine.h
68245         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68247         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68248         lazy binding.
68249         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68250         undefined symbol errors.
68252         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68253         DT_NEEDED entries.
68255 2012-04-05  Michael Matz  <matz@suse.de>
68257         [BZ #13592]
68258         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68260 2012-04-05  Andreas Jaeger  <aj@suse.de>
68262         [BZ #13908]
68263         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68264         comment.
68266 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68268         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68269         which ROUND is no valid rounding mode.
68271 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68273         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68274         read again.
68275         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68277 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68279         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68280         an exception using FPU order intentionally.
68282 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68284         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68285         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68286         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68287         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68289 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68291         [BZ #12340]
68292         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68293         EINVAL when BUFLEN is too smal.
68295 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68297         [BZ #13553]
68298         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68299         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68301 2012-04-03  Andreas Jaeger  <aj@suse.de>
68303         [BZ #13938]
68304         * manual/setjmp.texi (System V contexts): Fix sentence.
68306         [BZ #13926]
68307         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68308         New macro for this case.
68309         [!__GNUC__] (__bswap_64): New inline function for this case.
68310         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68311         * bits/byteswap.h: Likewise.
68312         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68313         ull, guard with __GLIBC_HAVE_LONG_LONG.
68315         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68316         __GLIBC_HAVE_LONG_LONG.
68318         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68319         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68321 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68323         [BZ #13691]
68324         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68325         inptr and inend, rather than using last_ch.
68327 2012-04-02  David S. Miller  <davem@davemloft.net>
68329         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68330         * stdio-common/printf-parse.h (read_int): Change return type to
68331         'int', return -1 on INT_MAX overflow.
68332         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68333         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68334         overflows INT_MAX.  Check for overflow of in-format-string precision
68335         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68336         SIZE_MAX not INT_MAX for integer overflow test.
68337         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68338         skip the construct in the format string but do not record anything.
68339         * stdio-common/bug22.c: Adjust to test both width/prevision
68340         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68341         explicitly for proper errno values.
68343 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68345         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68346         CHAR_MAX.
68347         * string/test-strcmp.c [! WIDE]: Likewise.
68348         * time/tst-mktime2.c: Likewise for INT_MAX.
68349         * string/test-string.h: #include <sys/param.h> for MIN.
68351         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68352         * sysdeps/i386/init-first.c (init): Likewise.
68353         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68354         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68355         * sysdeps/sh/init-first.c (init): Likewise.
68357 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68359         * po/ru.po: Update from translation team.
68360         * po/vi.po: Likewise.
68362 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68364         * resolv/nss_dns/dns-host.c: Merge copyright years.
68366 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68368         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68369         Optimize memcpy with prefetch if
68370         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68371         src, dst pointers have unequal 16 byte alignments.
68373 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68375         [BZ #13928]
68376         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68377         from a CNAME entry and return the minimum ttl for the query.
68378         (gaih_getanswer_slice): Likewise.
68380 2012-03-30  Jeff Law  <law@redhat.com>
68382         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68383         due to long keys.
68384         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68385         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68387         * resolv/nss_dns/dns-host.c: Update copyright year.
68389 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68391         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68392         requests to save a system call.  Fix check that all bytes are sent.
68394         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68395         comments for sendmmsg.
68397 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68399         [BZ #13691]
68400         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68401         with only 1 character between 0x0041 and 0x01b0.
68402         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68403         * wcsmbs/tst-mbsnrtowcs.c: New file.
68405 2012-03-29  David S. Miller  <davem@davemloft.net>
68407         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68408         small copies by hand.
68410 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68412         [BZ #13761]
68413         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68414         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68415         group memberships.
68417 2012-03-28  David S. Miller  <davem@davemloft.net>
68419         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68420         that branches into memcpy.
68421         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68422         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68423         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68424         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68425         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68426         bits.
68427         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68428         implementation too.
68429         * sysdeps/sparc/mempcpy.S: New file.
68431         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68432         the IFUNC routine in the libc case.
68433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68435         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68436         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68437         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68438         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68439         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68440         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68441         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68442         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68444         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68445         loop to 256 bytes instead of 64 bytes and fix test signedness.
68447         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68448         * sysdeps/sparc/sparc32/Makefile: rather than here...
68449         * sysdeps/sparc/sparc64/Makefile: and here.
68451 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68453         * malloc/mallocbug.c: Avoid warnings about unused variables.
68455 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68457         [BZ #13760]
68458         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68459         in the right place. Discard and retry query if response is
68460         larger than input buffer size.
68462 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68464         [BZ #369]
68465         [BZ #2678]
68466         [BZ #3866]
68467         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68468         x for large integer exponent.
68469         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68470         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68471         sign of result as needed afterwards.
68472         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68473         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68474         result for underflowing pow the same as for overflow.
68475         (__kernel_standard_l): Handle powl overflow and underflow here
68476         rather than calling __kernel_standard.
68477         * math/libm-test.inc (pow_test): Add more tests.
68479         [BZ #3868]
68480         [BZ #13879]
68481         [BZ #13910]
68482         [BZ #13911]
68483         [BZ #13912]
68484         [BZ #13913]
68485         [BZ #13915]
68486         [BZ #13916]
68487         [BZ #13917]
68488         [BZ #13918]
68489         [BZ #13919]
68490         [BZ #13920]
68491         [BZ #13921]
68492         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68493         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68494         (__kernel_standard_l): New function.
68495         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68496         __kernel_standard.
68497         * math/w_acosl.c (__acosl): Likewise.
68498         * math/w_asinl.c (__asinl): Likewise.
68499         * math/w_atan2l.c (__atan2l): Likewise.
68500         * math/w_atanhl.c (__atanhl): Likewise.
68501         * math/w_coshl.c (__coshl): Likewise.
68502         * math/w_exp10l.c (__exp10l): Likewise.
68503         * math/w_exp2l.c (__exp2l): Likewise.
68504         * math/w_fmodl.c (__fmodl): Likewise.
68505         * math/w_hypotl.c (__hypotl): Likewise.
68506         * math/w_j0l.c (__j0l, __y0l): Likewise.
68507         * math/w_j1l.c (__j1l, __y1l): Likewise.
68508         * math/w_jnl.c (__jnl, __ynl): Likewise.
68509         * math/w_lgammal.c (__lgammal): Likewise.
68510         * math/w_log10l.c (__log10l): Likewise.
68511         * math/w_log2l.c (__log2l): Likewise.
68512         * math/w_logl.c (__logl): Likewise.
68513         * math/w_powl.c (__powl): Likewise.
68514         * math/w_remainderl.c (__remainderl): Likewise.
68515         * math/w_scalbl.c (sysv_scalbl): Likewise.
68516         * math/w_sinhl.c (__sinhl): Likewise.
68517         * math/w_sqrtl.c (__sqrtl): Likewise.
68518         * math/w_tgammal.c (__tgammal): Likewise.
68519         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68520         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68521         * math/libm-test.inc (acos_test): Add more tests.
68522         (acosh_test): Likewise.
68523         (asin_test): Likewise.
68524         (atanh_test): Likewise.
68525         (exp_test): Likewise.
68526         (exp10_test): Likewise.
68527         (exp2_test): Likewise.
68528         (expm1_test): Likewise.
68529         (lgamma_test): Likewise.
68530         (log_test): Likewise.
68531         (log10_test): Likewise.
68532         (log1p_test): Likewise.
68533         (log2_test): Likewise.
68534         (pow_test): Do not allow some spurious overflow exceptions.
68535         (sqrt_test): Add more tests.
68536         (tgamma_test): Likewise.
68537         (y0_test): Likewise.
68538         (y1_test): Likewise.
68539         (yn_test): Likewise.
68541 2012-03-27  Anton Blanchard  <anton@samba.org>
68543         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68544         MAP_HUGETLB.
68545         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68546         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68547         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68549 2012-03-27  David S. Miller  <davem@davemloft.net>
68551         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68553         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68554         have-as-vis3 check.
68556 2012-03-27  Andreas Jaeger  <aj@suse.de>
68558         * sysdeps/x86_64/elf/configure.in: Moved to ...
68559         * sysdeps/x86_64/configure.in: ... here.
68560         * sysdeps/x86_64/elf/start.S: Moved to ...
68561         * sysdeps/x86_64/start.S: ... here.
68562         * sysdeps/x86_64/elf/configure: Delete.
68564         * sysdeps/x86_64/configure.in: Merge contents from
68565         sysdeps/i386/configure.in (without i686 check).
68567         * sysdeps/i386/elf/Versions: Merge into ...
68568         * sysdeps/i386/Versions: ... this.
68569         * sysdeps/i386/elf/Versions: Delete file.
68570         * sysdeps/i386/elf/start.S: Moved to ...
68571         * sysdeps/i386/start.S: ...here.
68572         * sysdeps/i386/elf/configure.in: Merge into...
68573         * sysdeps/i386/configure.in: ...here.
68574         * sysdeps/i386/elf/configure.in: Delete file.
68575         * sysdeps/i386/elf/configure: Delete file.
68577         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68578         * debug/backtracesyms.c: ... here.
68579         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68580         * debug/backtracesymsfd.c: ... here.
68581         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68582         * sysdeps/generic/ifunc-sel.h: ... here.
68584         * sysdeps/unix/i386/start.c: Delete file.
68585         * sysdeps/unix/sparc/start.c: Delete file.
68586         * sysdeps/unix/start.c: Delete file.
68588         * sysdeps/sh/elf/configure.in: Moved to ...
68589         * sysdeps/sh/configure.in: ... here.
68590         * sysdeps/sh/elf/start.S: Moved to ...
68591         * sysdeps/sh/start.S: ... here.
68592         * sysdeps/sh/elf/configure: Delete file.
68594         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68595         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68596         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68597         * sysdeps/powerpc/powerpc64/entry.h: ... here.
68598         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68599         * sysdeps/powerpc/powerpc64/start.S: here.
68600         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68601         * sysdeps/powerpc/powerpc64/Makefile: ... this.
68602         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68603         * sysdeps/powerpc/powerpc64/configure.in: ... this.
68604         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68606         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68607         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68608         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68609         * sysdeps/powerpc/powerpc32/start.S: ... here.
68610         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68611         * sysdeps/powerpc/powerpc32/configure.in: ... this.
68612         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68614         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68615         * sysdeps/powerpc/ifunc-sel.h: ... here.
68616         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68617         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68619         * sysdeps/sparc/elf/configure.in: Moved to ...
68620         * sysdeps/sparc/configure.in: ... here.
68621         * sysdeps/sparc/elf/configure: Delete file.
68622         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68623         * sysdeps/sparc/sparc32/start.S: ... here.
68624         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68625         * sysdeps/sparc/sparc64/start.S: ... here.
68626         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68627         * sysdeps/sparc/sparc32/Makefile: ... this.
68628         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68629         * sysdeps/sparc/sparc64/Makefile: ... this.
68631         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68632         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68633         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68634         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68635         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68636         * sysdeps/s390/s390-32/setjmp.S: ... here.
68637         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68638         * sysdeps/s390/s390-32/configure.in: ... here.
68639         * sysdeps/s390/s390-32/elf/configure: Delete file.
68640         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68641         * sysdeps/s390/s390-32/start.S: ... here.
68643         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68644         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68645         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68646         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68647         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68648         * sysdeps/s390/s390-64/setjmp.S: ... here.
68649         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68650         * sysdeps/s390/s390-64/configure.in: ... here
68651         * sysdeps/s390/s390-64/elf/configure: Delete file.
68652         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68653         * sysdeps/s390/s390-64/start.S: ... here.
68654         * sysdeps/s390/s390-64/elf/configure: Delete.
68656         * configure.in: Remove support for elf directories in sysdeps.
68658         * configure: Regenerated.
68659         * sysdeps/i386/configure: Regenerated.
68660         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68661         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68662         * sysdeps/s390/s390-32/configure: Regenerated.
68663         * sysdeps/s390/s390-64/configure: Regenerated.
68664         * sysdeps/sh/configure: Regenerated.
68665         * sysdeps/sparc/configure: Regenerated.
68666         * sysdeps/x86_64/configure: Regenerated.
68668 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
68670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68672         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68673         denormal result into account.
68675 2012-03-25  Roland McGrath  <roland@hack.frob.com>
68677         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68678         Reported by Allan McRae <allan@archlinux.org>.
68680 2012-03-23  Jeff Law  <law@redhat.com>
68682         * nss/getnssent.c (__nss_getent): Fix typo.
68684 2012-03-23  David S. Miller  <davem@davemloft.net>
68686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68688 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
68690         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68691         to pad to uint64_t for each field.
68692         (dl_tls_index): Replace unsigned long with uint64_t.
68694 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
68695         Paul Pluzhnikov  <ppluzhnikov@google.com>
68697         [BZ #6528]
68698         * grp/Makefile (otherlibs): Don't set it.
68699         * inet/Makefile (otherlibs): Likewise.
68700         * login/Makefile (otherlibs): Likewise.
68701         * nscd/Makefile (otherlibs): Likewise.
68702         * posix/Makefile (otherlibs): Likewise.
68703         * pwd/Makefile (otherlibs): Likewise.
68704         * rt/Makefile (otherlibs): Likewise.
68705         * sunrpc/Makefile (otherlibs): Likewise.
68706         * nss/Makefile (otherlibs): Likewise.
68707         Add libnss_files to routines and static-only-routines.
68708         ($(objpfx)getent): Remove rule.
68709         * resolv/Makefile: Add libnss_dns and libresolv to routines and
68710         static-only-routines.
68712 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68714         [BZ #13892]
68715         * math/s_cexp.c: Include <float.h>.
68716         (__cexp): Handle exp result overflowing not necessarily
68717         overflowing both real and imaginary parts of result.
68718         * math/s_cexpf.c: Likewise.
68719         * math/s_cexpl.c: Likewise.
68720         * math/libm-test.inc (cexp_test): Add more tests.
68721         * sysdeps/i386/fpu/libm-test-ulps: Update.
68722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68724 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68726         * include/link.h (ELFW): New macro.
68727         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68728         Replace ELF64_R_TYPE with ELFW(R_TYPE).
68730 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68732         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68733         with uint64_t.
68735 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68737         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68738         declaration.
68739         (struct La_x32_retval): Likewise.
68741 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68743         * sysdeps/x86_64/preconfigure.in: New file.
68744         * sysdeps/x86_64/preconfigure: New generated file.
68746 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68748         [BZ #13824]
68749         * math/e_exp2l.c: Include <float.h>.
68750         (__ieee754_exp2l): Handle overflow and underflow cases
68751         separately.  Only pass fractional part of argument to
68752         __ieee754_expl.
68753         * math/libm-test.inc (exp2_test): Add more tests.
68755         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68756         negating x to take absolute value.
68757         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68758         Likewise.
68759         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68760         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68761         Likewise.
68762         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68763         computing low part if x was negated.
68764         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68766 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68768         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68769         la_x32_gnu_pltexit.
68770         (pltexit): Cast int_retval to ptrdiff_t.
68771         * elf/tst-auditmod3b.c: Likewise.
68772         * elf/tst-auditmod4b.c: Likewise.
68773         * elf/tst-auditmod5b.c: Likewise.
68774         * elf/tst-auditmod6b.c: Likewise.
68775         * elf/tst-auditmod6c.c: Likewise.
68776         * elf/tst-auditmod7b.c: Likewise.
68778         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68779         and x32_gnu_pltexit.
68781         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68782         __ELF_NATIVE_CLASS.
68783         (La_x32_regs): New macro.
68784         (La_x32_retval): Likewise.
68785         (la_x32_gnu_pltenter): New function prototype.
68786         (la_x32_gnu_pltexit): Likewise.
68788 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
68790         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68791         exponent.
68793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68795         * configure.in (libc_cv_cc_nofma): Check for option to disable
68796         generation of FMA instructions.
68797         * configure: Regenerate.
68798         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68799         * sysdeps/ieee754/dbl-64/Makefile: New file.
68800         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68801         Remove brandred-fma4.
68802         (CFLAGS-brandred-fma4.c): Remove.
68803         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
68804         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
68805         define.
68806         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
68807         define.
68809 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68811         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68812         LLONG_MAX != LONG_MAX.
68813         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68814         (_fitoa_word): Likewise.
68815         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68816         LLONG_MAX != LONG_MAX.
68817         * stdio-common/_itowa.h: Include <_itoa.h>.
68818         (_itowa_word): Use _ITOA_WORD_TYPE on value.
68819         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
68820         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
68821         only if not defined.
68822         (_ITOA_WORD_TYPE): Likewise.
68823         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68824         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68826 2012-03-21  David S. Miller  <davem@davemloft.net>
68828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68830 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68832         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68833         of x86_64 when setting libc_cv_slibdir, libdir and
68834         libc_cv_localedir.
68835         * sysdeps/unix/sysv/linux/configure: Regenerated.
68837 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68839         * manual/lang.texi (Old Varargs): Remove section.
68840         (How Variadic): Update menu.
68841         (va_start): Do not mention varargs.h.
68843 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68844             Joseph Myers  <joseph@codesourcery.com>
68846         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68847         link test.
68848         * configure: Regenerated.
68850 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68852         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68853         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68854         conformtest.pl
68856 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68858         * NOTES: Remove.
68859         * Makefile (files-for-dist): Remove NOTES.
68860         (NOTES): Remove rule.
68861         * README: Don't refer to NOTES.
68862         * manual/creature.texi: Don't include macros.texi.
68863         * manual/intro.texi (creature.texi): Remove comment referring to
68864         NOTES.
68866         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68867         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68868         * configure: Regenerated.
68869         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68870         LIBC_TRY_CC_OPTION.
68871         (libc_cv_as_i686): Likewise.
68872         (libc_cv_cc_avx): Likewise.
68873         (libc_cv_cc_sse2avx): Likewise.
68874         (libc_cv_cc_fma4): Likewise.
68875         (libc_cv_cc_novzeroupper): Likewise.
68876         * sysdeps/i386/configure: Regenerated.
68878         [BZ #13883]
68879         * sysdeps/i386/fpu/s_cexp.S: Remove.
68880         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68881         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68882         * math/libm-test.inc (cexp_test): Add more tests.
68883         * sysdeps/i386/fpu/libm-test-ulps: Update.
68884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68886 2012-03-21  Allan McRae  <allan@archlinux.org>
68888         * timezone/Makefile: Do not install iso3166.tab and zone.tab
68890 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68892         [BZ #13871]
68893         * math/w_exp2.c: Do not include <float.h>.
68894         (o_threshold, u_threshold): Remove.
68895         (__exp2): Calculate result before checking finiteness and calling
68896         __kernel_standard.
68897         * math/w_exp2f.c: Likewise.
68898         * math/w_exp2l.c: Likewise.
68899         * math/libm-test.inc (exp2_test): Require overflow exception for
68900         1e6 input.
68902         [BZ #3866]
68903         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68904         range of signed 64-bit integers before using fistpll.  Remove
68905         checks for whether integers fit in mantissa bits.
68906         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68907         the range of signed 32-bit integers before using fistpl.  Remove
68908         checks for whether integers fit in mantissa bits.
68909         * sysdeps/i386/fpu/e_powl.S (p64): New object.
68910         (__ieee754_powl): Test for y outside the range of signed 64-bit
68911         integers before using fistpll.  Reduce 64-bit values to 63-bit
68912         ones as needed.
68913         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68914         divide-by-zero is raised for zero to large negative powers.
68915         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68916         (__ieee754_powl): Test for y outside the range of signed 64-bit
68917         integers before using fistpll.  Reduce 64-bit values to 63-bit
68918         ones as needed.
68919         * math/libm-test.inc (pow_test): Add more tests.
68921 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68923         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68924         <stdio-common/_itoa.h>.
68925         * debug/segfault.c: Likewise.
68926         * elf/dl-cache.c: Likewise.
68927         * elf/dl-minimal.c: Likewise.
68928         * elf/dl-misc.c: Likewise.
68929         * elf/dl-sysdep.c: Likewise.
68930         * elf/dl-version.c: Likewise.
68931         * elf/rtld.c: Likewise.
68932         * hurd/hurdsock.c: Likewise.
68933         * hurd/lookup-retry.c: Likewise.
68934         * malloc/malloc.c: Likewise.
68935         * malloc/mtrace.c: Likewise.
68936         * nscd/nscd_getgr_r.c: Likewise.
68937         * nscd/nscd_getpw_r.c: Likewise.
68938         * nscd/nscd_getserv_r.c: Likewise.
68939         * posix/getopt_init.c: Likewise.
68940         * posix/wordexp.c: Likewise.
68941         * stdio-common/_itoa.c: Likewise.
68942         * stdio-common/printf_fphex.c: Likewise.
68943         * stdio-common/vfprintf.c: Likewise.
68944         * string/_strerror.c: Likewise.
68945         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68946         * sysdeps/i386/i686/hp-timing.h: Likewise.
68947         * sysdeps/mach/_strerror.c: Likewise.
68948         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68949         * sysdeps/mach/hurd/sethostid.c: Likewise.
68950         * sysdeps/mach/hurd/xmknodat.c: Likewise.
68951         * sysdeps/mach/xpg-strerror.c: Likewise.
68952         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68953         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68954         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68955         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68956         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68957         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68958         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68959         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68960         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68961         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68962         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68963         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68964         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68965         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68966         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68967         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68968         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68969         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68970         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68971         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68972         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68974         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
68976         * stdio-common/_itoa.h: Moved to ...
68977         * sysdeps/generic/_itoa.h: Here.
68979         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
68981         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
68982         instead of "_itoa.h" and "_itowa.h".
68983         * stdio-common/vfprintf.: Likewise.
68985 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68987         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
68988         <bits/wordsize.h>.
68989         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
68990         (__signbit): Likwise.
68991         (llrintf): Likwise.
68992         (llrint): Likwise.
68994 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68996         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
68997         __WORDSIZE != 64.
68999 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69001         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69002         OVERFLOW_EXCEPTION_OK.
69003         * math/libm-test.inc ("Philosophy"): Update comment about
69004         exception testing.
69005         (OVERFLOW_EXCEPTION): Define.
69006         (OVERFLOW_EXCEPTION_OK): Likewise.
69007         (INVALID_EXCEPTION_OK): Renumber.
69008         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69009         (IGNORE_ZERO_INF_SIGN): Likewise.
69010         (test_exceptions): Handle FE_OVERFLOW.
69011         (exp10_test): Expect overflow exceptions.
69012         (exp2_test): Likewise.
69013         (expm1_test): Likewise.
69014         (nextafter_test): Likewise.
69015         (pow_test): Likewise.
69016         (scalbn_test): Likewise.
69017         (scalbln_test): Likewise.
69019 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69021         * sysdeps/x86_64/bits/atomic.h
69022         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69023         64bit integer.
69024         (atomic_exchange_acq): Likewise.
69025         (__arch_exchange_and_add_body): Likewise.
69026         (__arch_add_body): Likewise.
69027         (atomic_add_negative): Likewise.
69028         (atomic_add_zero): Likewise.
69030 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69032         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69033         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69035 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69037         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69038         Check __x86_64__ instead of __WORDSIZE.
69040 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69042         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69044 2012-03-19  David S. Miller  <davem@davemloft.net>
69046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69048         * sysdeps/sparc/fpu/fenv_private.h: New file.
69049         * sysdeps/sparc/fpu/math_private.h: Use it.
69050         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69051         Remove.
69052         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69053         (libc_feholdexcept_setroundl): Remove.
69054         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69055         Remove.
69056         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69057         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69059 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69061         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69062         int64_t instead of long int.
69063         (INSERT_WORDS64): Likwise.
69065 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69067         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69068         _Unwind_GetCFA return to _Unwind_Ptr first.
69070 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69072         [BZ #13629]
69073         * math/s_clog.c: Include <float.h>.
69074         (__clog): Scale large or subnormal inputs.
69075         * math/s_clogf.c: Likewise.
69076         * math/s_clogl.c: Likewise.
69077         * math/s_clog10.c: Include <float.h>.
69078         (M_LOG10_2): Define.
69079         (__clog10): Scale large or subnormal inputs.
69080         * math/s_clog10f.c: Likewise.
69081         * math/s_clog10l.c: Likewise.
69082         * math/libm-test.inc (clog_test): Add more tests.
69083         (clog10_test): Likewise.
69084         * sysdeps/i386/fpu/libm-test-ulps: Update.
69085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69087         [BZ #11451]
69088         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69089         x and y.
69090         * math/libm-test.inc (atan2_test): Add another test.
69092         * Makerules (common-objdir-compile): Remove.
69093         * sysdeps/unix/Makefile (config-generated): Do not add
69094         $(unix-generated) to variable.
69095         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69096         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69097         Remove rule.
69098         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69099         Likewise.
69100         [generic bits/local_lim.h] (before-compile): Do not append to
69101         variable.
69102         [generic bits/local_lim.h] (common-generated): Likewise.
69103         [generic sys/param.h] (before-compile): Do not append to variable.
69104         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69105         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69106         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69107         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69108         include.
69109         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69110         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69111         [generic sys/param.h] ($(addprefix
69112         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69113         [generic sys/param.h] (common-generated): Do not append to
69114         variable.
69115         [generic sys/param.h] (sysdep_headers): Likewise.
69116         [generic bits/errno.h] (before-compile): Do not append to
69117         variable.
69118         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69119         rule.
69120         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69121         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69122         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69123         [generic bits/errno.h] (common-generated): Do not append to
69124         variable.
69125         [generic bits/ioctls.h] (before-compile): Do not append to
69126         variable.
69127         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69128         rule.
69129         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69130         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69131         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69132         rule.
69133         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69134         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69135         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69136         [generic bits/ioctls.h] (common-generated): Do not append to
69137         variable.
69138         [generic sys/syscall.h] (syscall.h): Remove variable.
69139         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69140         rule.
69141         [generic sys/syscall.h] (before-compile): Do not append to
69142         variable.
69143         [generic sys/syscall.h] (common-generated): Likewise.
69144         * sysdeps/unix/errnos-tmpl.c: Remove file.
69145         * sysdeps/unix/errnos.awk: Likewise.
69146         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69147         * sysdeps/unix/ioctls.awk: Likewise.
69148         * sysdeps/unix/mk-local_lim.c: Likewise.
69149         * sysdeps/unix/snarf-ioctls: Likewise.
69151 2012-03-19  Richard Henderson  <rth@twiddle.net>
69153         * sysdeps/i386/fpu/fenv_private.h: New file.
69154         * sysdeps/i386/fpu/math_private.h: Use it.
69155         (math_opt_barrier, math_force_eval): Remove.
69156         (libc_feholdexcept_setround_53bit): Remove.
69157         (libc_feupdateenv_53bit): Remove.
69158         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69159         (math_opt_barrier, math_force_eval): Remove.
69160         (libc_feholdexcept): Remove.
69161         (libc_feholdexcept_setround): Remove.
69162         (libc_fetestexcept, libc_fesetenv): Remove.
69163         (libc_feupdateenv_test): Remove.
69164         (libc_feupdateenv, libc_feholdsetround): Remove.
69165         (libc_feresetround): Remove.
69167         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69168         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69170         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69171         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69172         (libc_feupdateenv_testl): New.
69173         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69174         (libc_feupdateenv_testf): New.
69175         (libc_feupdateenv): Use libc_feupdateenv_test.
69176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69177         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69179         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69180         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69181         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69182         (libc_feresetround_noex): New.
69183         (libc_feresetround_noexf): New.
69184         (libc_feresetround_noexl): New.
69185         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69186         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69187         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69188         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69189         SET_RESTORE_ROUND.
69190         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69191         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69192         (__cos): Likewise.
69193         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69194         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69195         SET_RESTORE_ROUND_NOEX.
69196         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69197         SET_RESTORE_ROUND_NOEXF.
69198         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69199         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69200         (libc_feholdsetroundf): New.
69201         (libc_feresetround, libc_feresetroundf): New.
69203         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69204         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69205         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69207         * sysdeps/generic/math_private.h: Include <fenv.h>.
69208         (default_libc_feholdexcept): New.
69209         (default_libc_feholdexcept_setround): New.
69210         (default_libc_fesetenv, default_libc_feupdateenv): New.
69211         (libc_feholdexcept): Only define if undefined.
69212         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69213         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69214         (libc_feholdexcept_setroundl): Likewise.
69215         (libc_feholdexcept_setround_53bit): Likewise.
69216         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69217         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69218         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69219         (libc_feupdateenv_53bit): Likewise.
69220         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69221         (libc_feholdexcept): Convert from macro to inline function.
69222         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69223         (libc_fesetenv, libc_feupdateenv): Likewise.
69225         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69226         not previously defined.
69227         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69228         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69229         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69230         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69231         * sysdeps/ieee754/flt-32/math_private.h: New file.
69232         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69233         math_private.h below SET_FLOAT_WORD.
69234         (__isnan, __isinf_ns, __finite): Remove.
69235         (__isnanf, __isinf_nsf, __finitef): Remove.
69237 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69241 2012-03-17  David S. Miller  <davem@davemloft.net>
69243         [BZ #6471]
69244         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69245         for 2.16.
69247 2012-03-16  David S. Miller  <davem@davemloft.net>
69249         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69250         warnings.
69252         [BZ #6471]
69253         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69254         properly.
69255         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69256         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69257         sysdep_routines when subdir is sysvipc.
69258         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69259         __getshmlba helper.
69261         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69263 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69265         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69266         [__LP64__].
69268 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69270         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69271         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69272         (__lround): Renamed to ...
69273         (__llround): This.  Replace long int with long long int.
69274         Define lround functions as aliases of llround functions.
69275         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69277 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69279         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69280         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69281         adresses to uintptr_t.  Replace "long int" and "unsigned long
69282         int" with "greg_t" on va_arg.
69284 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69286         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69287         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69289         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69290         Move e_machine check before EI_CLASS check.  Handle x32
69291         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69292         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69293         SKIP_EM_IA_64 and include
69294         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69296         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69297         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69298         (add_system_dir): New macro.
69300         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69301         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69303 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69305         [BZ #2551]
69306         [BZ #2552]
69307         [BZ #2553]
69308         [BZ #2554]
69309         [BZ #2562]
69310         [BZ #2563]
69311         [BZ #2565]
69312         [BZ #2566]
69313         [BZ #2576]
69314         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69315         (y0): Likewise.
69316         * math/w_j0f.c (j0f): Likewise.
69317         (y0f): Likewise.
69318         * math/w_j0l.c (__j0l): Likewise.
69319         (__y0l): Likewise.
69320         * math/w_j1.c (j1): Likewise.
69321         (y1): Likewise.
69322         * math/w_j1f.c (j1f): Likewise.
69323         (y1f): Likewise.
69324         * math/w_j1l.c (__j1l): Likewise.
69325         (__y1l): Likewise.
69326         * math/w_jn.c (jn): Likewise.
69327         (yn): Likewise.
69328         * math/w_jnf.c (jnf): Likewise.
69329         (ynf): Likewise.
69330         * math/w_jnl.c (__jnl): Likewise.
69331         (__ynl): Likewise.
69332         * math/libm-test.inc (j0_test): Add more tests.
69333         (j1_test): Likewise.
69334         (jn_test): Likewise.  Add trailing semicolon to existing test.
69335         (y0_test): Likewise.
69336         (y1_test): Likewise.
69337         * sysdeps/i386/fpu/libm-test-ulps: Update.
69338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69340         [BZ #13851]
69341         [BZ #13854]
69342         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69343         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69344         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69345         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69346         (__tanl): Set errno for infinite argument.
69347         * sysdeps/i386/fpu/mptan.c: Remove.
69348         * sysdeps/i386/fpu/s_tan.S: Likewise.
69349         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69350         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69351         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69352         * math/libm-test.inc (tan_test): Add more tests and enable more
69353         tests for double and long double.
69354         * sysdeps/i386/fpu/libm-test-ulps: Update.
69355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69357 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69359         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69360         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69362 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69364         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69365         * configure.in: Use it for both main tree and add-ons.
69366         * configure: Regenerated.
69368 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69370         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69372 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69374         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69375         in comment.
69377         [BZ #13851]
69378         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69379         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69380         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69381         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69382         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69383         infinite argument.
69384         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69385         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69386         != 0 for prec == 2.
69387         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69388         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69389         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69390         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69391         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69392         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69393         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69394         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69395         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69396         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69397         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69398         * math/libm-test.inc (cos_test): Add more tests and enable more
69399         tests for long double.
69400         (sin_test): Likewise.
69401         (sincos_test): Likewise.
69402         * sysdeps/i386/fpu/libm-test-ulps: Update.
69403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69405 2012-03-16  David S. Miller  <davem@davemloft.net>
69407         * sysdeps/sparc/fpu/math_private.h: New file.
69409 2012-03-15  David S. Miller  <davem@davemloft.net>
69411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69412         file.
69413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69415         file.
69416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69421         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69422         sysdep routines.
69423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69425         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69426         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69428         * sysdeps/sparc/sparc-ifunc.h: New file.
69429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69430         sparc-ifunc.h
69431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69433         Likewise.
69434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69435         Likewise.
69436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69440         Likewise.
69441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69446         Likewise.
69447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69448         Likewise.
69449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69455         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69456         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69457         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69463         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69464         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69467         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69468         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69469         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69470         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69471         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69472         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69474 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69476         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69477         scaling.
69478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69480 2012-03-15  Andreas Jaeger  <aj@suse.de>
69482         [BZ #13852]
69483         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69484         ieee754/flt-32 implementation for sin, cos and sincos.
69485         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69486         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69487         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69488         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69489         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69490         ieee754/flt-32 implementation for tan.
69492         * math/libm-test.inc (cos_test): Enable some large input tests for
69493         float as well
69494         (sin_test): Likewise.
69495         (sincos_test): Likewise.
69496         (tan_test): Add tests for large input.
69498         * sysdeps/i386/fpu/libm-test-ulps: Update.
69500 2012-03-15  Andreas Jaeger  <aj@suse.de>
69502         [BZ #13658]
69503         * math/libm-test.inc (cos_test): Add more test cases.
69504         (sin_test): Likewise.
69505         (sincos_test): Likewise.
69507 2012-03-15  Andreas Jaeger  <aj@suse.de>
69509         [BZ #13837]
69510         * math/libm-test.inc (cos_test): Add a test case for large input
69511         value.
69512         (sin_test): Likewise.
69513         (sincos_test): Likewise.
69515 2012-03-15  Andreas Jaeger  <aj@suse.de>
69516             Joseph Myers  <joseph@codesourcery.com>
69518         [BZ #13658]
69519         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69520         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69521         * sysdeps/i386/fpu/branred.c: Likewise.
69522         * sysdeps/i386/fpu/dosincos.c: Likewise.
69523         * sysdeps/i386/fpu/mpa.c: Likewise.
69524         * sysdeps/i386/fpu/s_cos.S: Likewise.
69525         * sysdeps/i386/fpu/s_sin.S: Likewise.
69526         * sysdeps/i386/fpu/s_sincos.S: Likewise.
69527         * sysdeps/i386/fpu/sincos32.c: Likewise.
69529         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69530         Define.
69531         (libc_feupdateenv_53bit): Define.
69532         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69533         Define.
69534         (libc_feupdateenv_53bit): Define.
69536         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69537         53 bit (without extend i386 double precision).
69539         * math/libm-test.inc (sincos_test): Add tests for large input.
69540         (sin): Likewise.
69541         (cos): Likewise.
69543         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69545 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69549 2012-03-15  David S. Miller  <davem@davemloft.net>
69551         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69552         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69553         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69554         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69564         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69565         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69567         file.
69568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69570         file.
69571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69573         file.
69574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69576         file.
69577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69578         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69579         fmin/fmax sysdep routines.
69580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69582 2012-03-14  David S. Miller  <davem@davemloft.net>
69584         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69585         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69588         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69589         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69590         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69591         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69593         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69596         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69597         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69601         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69602         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69603         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69604         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69605         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69606         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69607         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69608         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69609         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69610         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69611         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69612         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69613         routines.
69614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69615         file.
69616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69618         file.
69619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69621         file.
69622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69624         file.
69625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69627         file.
69628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69630         file.
69631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69632         file.
69633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69634         file.
69635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69636         file.
69637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69638         New file.
69639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69640         file.
69641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69642         file.
69643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69645         file.
69646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69648         file.
69649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69651         file.
69652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69654         VIS3 routines.
69656         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69657         New file.
69659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69661         * sysdeps/sparc/configure.in: New file.
69662         * sysdeps/sparc/configure: Generate.
69663         * configure.in (libc_cv_sparc_as_vis3): Substitute.
69664         * configure: Regenerate.
69665         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69666         * config.make.in (have-as-vis3): New.
69667         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69668         available use -Av9d instead of -Av9a.
69669         * sysdeps/sparc/sparc64/Makefile: Likewise.
69670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69672         New file.
69673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69674         file.
69675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69676         New file.
69677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69678         file.
69679         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69680         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69681         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69682         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69683         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69685         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69686         fzeros/fnegs to load 0x80000000 into a float register instead of
69687         using the stack.
69688         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69690 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69692         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69693         bits/syscall.h.
69694         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69695         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69696         ($(inst_includedir)/bits/syscall.h): Remove rule.
69697         ($(objpfx)bits/syscall.d): Include instead of
69698         $(objpfx)syscall-list.d.
69699         (generated): Change syscall-list.h and syscall-list.d to
69700         bits/syscall.h and bits/syscall.d.
69702 2012-03-14  Roland McGrath  <roland@hack.frob.com>
69704         [BZ #13846]
69705         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69707 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69709         [BZ #13841]
69710         * math/s_csqrt.c: Include <float.h>.
69711         (__csqrt): Scale large or subnormal inputs.
69712         * math/s_csqrtf.c: Likewise.
69713         * math/s_csqrtl.c: Likewise.
69714         * math/libm-test.inc (csqrt_test): Add more tests.
69715         * sysdeps/i386/fpu/libm-test-ulps: Update.
69716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69718         [BZ #13840]
69719         * math/libm-test.inc (hypot_test): Add more tests.
69721 2012-03-13  David S. Miller  <davem@davemloft.net>
69723         [BZ #13840]
69724         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69725         double-precision for the calculation instead of scaling.
69727 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
69729         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69730         manipulate bits before adding and subtracting TWO52[sx].
69731         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69732         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69733         Likewise.
69734         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69736 2012-03-13  David S. Miller  <davem@davemloft.net>
69738         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69739         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69740         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69741         rtld-global-offsets.h
69742         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69744         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69745         large parameters.
69747         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69749         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69750         'err' in the ifdef scope in which it is actually used.
69752         * nss/nss_db/db-init.c: Include string.h
69754 2012-03-12  David S. Miller  <davem@davemloft.net>
69756         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69757         masking out of the most significant byte of random value used.
69758         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69759         Fix coding style in previous change.
69761         * sysdeps/unix/sysv/linux/kernel-features.h
69762         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69763         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69764         expression.
69765         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69766         later.
69768 2012-03-11  David S. Miller  <davem@davemloft.net>
69770         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69771         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69772         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69773         for 'resultvar' otherwise things get truncated on 64-bit.
69775         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69776         Fix masking out of the most significant byte of random value used.
69778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69780 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
69782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69784 2012-03-09  David S. Miller  <davem@davemloft.net>
69786         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69787         variables with appropriate CPP guards.
69788         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69789         from the frame pointer, not the stack pointer.  Correct layout
69790         comments.  Fix test on resulting framesize and the management of
69791         the outregs buffer for pltexit.  Preserve floating point return
69792         values across _dl_call_pltexit call.
69793         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69794         framesize and the management of the outregs buffer for pltexit.
69795         Preserve floating point return values across _dl_call_pltexit
69796         call.
69797         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69798         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69799         (la_sparc64_gnu_pltexit): New functions.
69800         (print_exit): Fix format string for return register value.
69802 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
69804         * sunrpc/Makefile (others): Add rpcgen.
69805         ($(objpfx)rpcgen): Remove special build rule and dependency on
69806         libc.
69807         * sunrpc/rpcgen.c: New file.
69809 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
69811         [BZ #13673]
69812         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69813         * stdio-common/bug-vfprintf-nargs.c: Likewise.
69814         * sysdeps/i386/crti.S: Likewise.
69815         * sysdeps/i386/crtn.S: Likewise.
69816         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69817         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69818         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69819         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69820         * sysdeps/sh/crti.S: Likewise.
69821         * sysdeps/sh/crtn.S: Likewise.
69822         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69824         [BZ #13673]
69825         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69826         with URL.
69827         * locale/programs/locfile-kw.gperf: Likewise.
69828         * locale/programs/charmap-kw.h: Regenerated.
69829         * locale/programs/locfile-kw.h: Likewise.
69831         [BZ #13673]
69832         * intl/plural.y: Replace FSF snail mail address with URL.
69833         * intl/plural.c: Regenerated.
69835 2012-03-09  Richard Henderson  <rth@twiddle.net>
69837         * include/math_private.h: Remove file.
69838         * math/math_private.h: Move file ...
69839         * sysdeps/generic/math_private.h: ... here.
69841         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69842         * sysdeps/powerpc/fpu/math_private.h: Likewise.
69843         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69845         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69846         and <math_private.h>.
69847         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69848         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69849         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69850         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69851         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69852         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69853         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69854         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69855         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69856         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69857         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69858         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69859         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69860         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69861         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69862         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69863         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69864         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69865         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69866         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69867         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69868         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69869         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69870         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69871         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69872         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69873         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69874         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69875         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69876         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69877         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69878         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69879         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69880         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69881         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69882         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69883         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69884         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69885         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69886         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69887         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69888         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69889         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69890         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69891         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69892         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69893         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69894         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69895         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69896         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69897         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69898         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69899         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69900         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69901         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69902         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69903         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69904         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69905         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69906         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69907         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69908         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69909         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69910         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69911         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69912         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69913         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69914         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69915         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69916         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69917         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69918         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69919         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69920         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69921         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69922         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69923         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69924         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69925         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69926         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69927         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69928         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69929         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69930         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69931         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69932         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69933         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69934         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69935         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69936         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69937         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69938         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69939         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69940         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69941         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69942         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69943         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69944         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69945         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69946         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69947         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69948         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69949         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69950         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69951         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69952         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69953         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69954         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69955         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69956         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69957         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69958         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69959         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69960         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69961         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69962         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69963         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69964         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69965         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69966         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69967         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69968         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69969         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69970         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69971         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69972         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69973         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69974         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69975         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69976         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
69977         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
69978         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69979         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69980         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
69981         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
69982         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69983         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69984         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69985         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
69986         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69987         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69988         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69989         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69990         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
69991         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
69992         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69993         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69994         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69995         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
69996         * sysdeps/ieee754/k_standard.c: Likewise.
69997         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69998         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69999         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70000         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70001         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70002         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70003         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70004         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70005         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70006         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70007         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70008         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70009         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70010         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70011         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70012         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70013         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70014         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70015         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70016         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70017         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70018         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70019         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70020         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70021         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70022         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70023         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70024         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70025         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70026         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70027         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70028         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70029         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70030         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70031         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70032         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70033         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70034         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70035         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70036         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70037         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70038         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70039         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70040         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70041         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70042         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70043         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70044         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70045         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70046         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70047         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70048         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70049         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70050         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70051         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70052         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70053         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70054         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70055         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70056         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70057         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70058         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70059         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70060         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70061         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70062         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70063         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70064         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70065         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70066         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70067         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70069         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70070         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70071         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70072         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70073         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70074         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70075         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70076         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70077         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70078         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70079         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70080         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70081         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70082         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70083         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70084         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70085         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70086         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70087         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70088         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70089         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70090         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70091         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70092         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70093         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70094         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70095         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70096         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70097         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70098         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70099         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70100         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70101         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70102         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70103         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70104         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70105         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70106         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70107         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70108         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70109         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70110         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70111         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70112         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70113         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70114         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70115         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70116         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70117         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70118         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70119         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70120         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70121         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70122         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70123         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70124         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70125         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70126         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70127         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70128         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70129         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70130         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70131         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70132         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70133         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70134         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70135         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70136         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70137         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70138         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70139         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70140         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70141         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70142         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70143         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70144         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70145         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70146         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70147         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70148         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70149         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70150         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70151         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70152         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70153         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70154         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70155         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70156         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70157         * sysdeps/ieee754/s_lib_version.c: Likewise.
70158         * sysdeps/ieee754/s_matherr.c: Likewise.
70159         * sysdeps/ieee754/s_signgam.c: Likewise.
70160         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70161         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70162         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70163         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70164         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70165         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70166         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70167         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70168         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70169         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70170         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70171         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70172         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70173         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70174         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70175         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70176         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70177         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70178         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70179         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70180         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70182 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70184         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70185         * sunrpc/rpc_main.c: Likewise.
70186         * sunrpc/rpc_svcout.c: Likewise.
70188 2012-03-09  David S. Miller  <davem@davemloft.net>
70190         * include/math_private.h: New file.
70192 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70194         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70195         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70196         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70197         from <bits/socket_type.h>.
70198         (enum __socket_type): Don't define here.
70199         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70200         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70201         bits/socket_type.h.
70203         [BZ #13566]
70204         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70205         checking __USE_GNU.
70207         * Makerules ($(inst_includedir)/%.h): New rule.
70208         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70209         (install-others): Remove variable setting.
70210         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70212 2012-03-08  Richard Henderson  <rth@twiddle.net>
70214         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70215         from macro to inline function; merge with the
70216         !__LIBC_INTERNAL_MATH_INLINES version.
70217         (__ieee754_sqrtf): Likewise.
70219         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70220         to inline function.
70221         (__rintf, __floor, __floorf): Likewise.
70223         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70224         macro to inline function.
70225         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70227         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70228         not <math/math_private.h>.
70230 2012-03-08  David S. Miller  <davem@davemloft.net>
70232         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70233         copyright year.
70234         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70236 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70238         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70239         normalization.
70240         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70241         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70243 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70245         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70246         be defined individually, they must be defined as a block.  Define
70247         S for printing a string instead of hidint the different by using a
70248         macro for adding the 'l'.
70249         * stdio-common/tst-fphex-wide.c: Adjust.
70251 2012-03-07  Marek Polacek  <polacek@redhat.com>
70253         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70255 2012-03-08  Marek Polacek  <polacek@redhat.com>
70257         [BZ #13806]
70258         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70259         * stdio-common/tst-fphex.c: Define a few macros to make the
70260         test reusable.  Use them.
70261         * stdio-common/tst-fphex-wide.c: New file.
70263 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70265         [BZ #6911]
70266         * manual/macros.texi (gnusystems): New macro.
70267         (nongnusystems): Likewise.
70268         (gnulinuxhurdsystems): Likewise.
70269         (gnuhurdsystems): Likewise..
70270         (gnulinuxsystems): Likewise.
70271         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70272         variants of the GNU system, not "GNU system".
70273         * manual/conf.texi: Likewise.
70274         * manual/errno.texi: Likewise.  Update example of errno macro
70275         expansion.
70276         * manual/filesys.texi: Likewise.
70277         (getumask): Document as specific to GNU/Hurd.
70278         * manual/install.texi: Likewise.  Reword some references to
70279         GNU/Linux.
70280         * manual/intro.texi: Likewise.
70281         * manual/io.texi: Likewise.
70282         (File Name Portability): Detail which constraints are inapplicable
70283         to all GNU systems and which are only inapplicable to GNU/Hurd.
70284         * manual/job.texi: Likewise.
70285         * manual/llio.texi: Likewise.
70286         (O_NOCTTY): Document as present on GNU/Linux.
70287         * manual/maint.texi: Likewise.
70288         * manual/memory.texi: Likewise.
70289         * manual/pattern.texi: Likewise.
70290         * manual/pipe.texi: Likewise.
70291         * manual/process.texi: Likewise.
70292         * manual/resource.texi: Likewise.
70293         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70294         child on GNU/Hurd.
70295         * manual/setjmp.texi: Likewise.
70296         * manual/signal.texi: Likewise.
70297         * manual/startup.texi: Likewise.
70298         * manual/stdio.texi: Likewise.
70299         * manual/terminal.texi: Likewise.
70300         (ONLCR): Document as POSIX.
70301         (OXTABS): Document availability on GNU/Linux as XTABS.
70302         (ONOEOT): Document availability separately from other bits.
70303         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70304         * manual/time.texi: Likewise.
70305         * manual/users.texi: Likewise.
70306         * INSTALL: Regenerated.
70307         * sysdeps/gnu/errlist.c: Regenerated.
70309         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70310         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70311         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70312         puts.
70313         * configure: Regenerated.
70315 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70317         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70318         default includes instead of AC_HEADER_CHECK.
70319         * sysdeps/i386/configure: Regenerated.
70321         [BZ #10716]
70322         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70323         * math/s_cacoshf.c (__cacoshf): Likewise.
70324         * math/s_cacoshl.c (__cacoshl): Likewise.
70325         * math/s_casinh.c (__casinh): Set signs of result from argument.
70326         * math/s_casinhf.c (__casinhf): Likewise.
70327         * math/s_casinhl.c (__casinhl): Likewise.
70328         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70329         (casinh_test): Add more tests.
70330         * sysdeps/i386/fpu/libm-test-ulps: Update.
70331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70333 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70335         * po/zh_TW.po: Update from translation team.
70337         * login/Makefile (distribute): Remove variable.
70338         * catgets/Makefile: Likewise.
70339         * mach/Makefile: Likewise.
70340         * malloc/Makefile: Likewise.
70341         * misc/Makefile: Likewise.
70342         * iconv/Makefile: Likewise.
70343         * nscd/Makefile: Likewise.
70344         * hurd/Makefile: Likewise.
70345         * manual/Makefile: Likewise.
70346         * locale/Makefile: Likewise.
70347         * intl/Makefile: Likewise.
70348         * conform/Makefile: Likewise.
70349         * nss/Makefile: Likewise.
70350         * time/Makefile: Likewise.
70351         * soft-fp/Makefile: Likewise.
70352         * dirent/Makefile: Likewise.
70353         * gmon/Makefile: Likewise.
70354         * po/Makefile: Likewise.
70355         * rt/Makefile: Likewise.
70356         * socket/Makefile: Likewise.
70357         * math/Makefile: Likewise.
70358         * signal/Makefile: Likewise.
70359         * debug/Makefile: Likewise.
70360         * elf/Makefile: Likewise.
70361         * timezone/Makefile: Likewise.
70362         * stdlib/Makefile: Likewise.
70363         * iconvdata/Makefile: Likewise.
70364         * sunrpc/Makefile: Likewise.
70365         * io/Makefile: Likewise.
70366         * argp/Makefile: Likewise.
70367         * inet/Makefile: Likewise.
70368         * hesiod/Makefile: Likewise.
70369         * grp/Makefile: Likewise.
70370         * csu/Makefile: Likewise.
70371         * wctype/Makefile: Likewise.
70372         * crypt/Makefile: Likewise.
70373         * libio/Makefile: Likewise.
70374         * string/Makefile: Likewise.
70375         * nis/Makefile: Likewise.
70376         * resolv/Makefile: Likewise.
70377         * stdio-common/Makefile: Likewise.
70378         * wcsmbs/Makefile: Likewise.
70379         * dlfcn/Makefile: Likewise.
70380         * posix/Makefile: Likewise.
70382         [BZ #6959]
70383         * timezone/Makefile: Don't install timezone files, just the programs
70384         and scripts.
70386 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70388         * nss/databases.def: Add missing gshadow entry.
70390         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70392 2012-03-06  Marek Polacek  <polacek@redhat.com>
70394         [BZ #13726]
70395         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70396         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70397         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70398         * stdio-common/tst-long-dbl-fphex.c: New file.
70400 2012-03-06  David S. Miller  <davem@davemloft.net>
70402         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70403         (set_obp_int): New function.
70404         (get_obp_int): New function.
70405         (__get_clockfreq_via_dev_openprom): Likewise.
70406         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70407         Avoid unused variable warnings on 'val' and use builtin_expect.
70408         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70409         __builtin_expect.
70410         (INLINE_CLONE_SYSCALL): Likewise.
70412 2012-03-05  David S. Miller  <davem@davemloft.net>
70414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70416 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70420         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70421         only for |x| >= 40.
70422         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70424 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70426         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70427         Replace gettimeofday with __vdso_gettimeofday.
70429         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70430         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70431         __vdso_clock_gettime and __vdso_getcpu.
70433         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70434         time with __vdso_time.
70436 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70438         * manual/lang.texi (size_t): Note types to which size_t may be
70439         equivalent with the GNU C Library, but do not describe when
70440         differences between them are significant.
70442 2012-03-05  Andreas Jaeger  <aj@suse.de>
70444         * sysdeps/i386/fpu/libm-test-ulps: Update.
70446 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70448         [BZ #3976]
70449         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70450         (__ieee754_pow): Save and restore rounding mode and use
70451         round-to-nearest for main computations.
70452         * math/libm-test.inc (pow_test_tonearest): New function.
70453         (pow_test_towardzero): Likewise.
70454         (pow_test_downward): Likewise.
70455         (pow_test_upward): Likewise.
70456         (main): Call the new functions.
70457         * sysdeps/i386/fpu/libm-test-ulps: Update.
70458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70460         [BZ #3976]
70461         * math/libm-test.inc (cosh_test_tonearest): New function.
70462         (cosh_test_towardzero): Likewise.
70463         (cosh_test_downward): Likewise.
70464         (cosh_test_upward): Likewise.
70465         (sinh_test_tonearest): Likewise.
70466         (sinh_test_towardzero): Likewise.
70467         (sinh_test_downward): Likewise.
70468         (sinh_test_upward): Likewise.
70469         (main): Call the new functions.
70470         * sysdeps/i386/fpu/libm-test-ulps: Update.
70471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70473 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70475         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70476         default stack guard is set in last bytes.
70477         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70479 2012-03-05  Kees Cook  <keescook@chromium.org>
70481         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70483         [BZ #13656]
70484         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70485         possibly allocate from heap instead of stack.
70486         * stdio-common/bug-vfprintf-nargs.c: New file.
70487         * stdio-common/Makefile (tests): Add nargs overflow test.
70489 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70493 2012-03-03  Marek Polacek  <polacek@redhat.com>
70495         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70496         * math/math_private.h: Likewise.
70497         * stdlib/tst-strtod.c: Likewise.
70498         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70499         * sysdeps/x86_64/bits/atomic.h: Likewise.
70501 2012-03-02  David S. Miller  <davem@davemloft.net>
70503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70507         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70508         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70509         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70510         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70512 2012-03-02  Roland McGrath  <roland@hack.frob.com>
70514         [BZ #13792]
70515         * manual/examples/README: New file, says the example source files
70516         can be used under GPL>=2.
70517         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70518         line containing just "*/".
70519         * manual/examples/add.c: Add copyright header (GPL>=2).
70520         * manual/examples/argp-ex1.c: Likewise.
70521         * manual/examples/argp-ex2.c: Likewise.
70522         * manual/examples/argp-ex3.c: Likewise.
70523         * manual/examples/argp-ex4.c: Likewise.
70524         * manual/examples/atexit.c: Likewise.
70525         * manual/examples/db.c: Likewise.
70526         * manual/examples/dir.c: Likewise.
70527         * manual/examples/dir2.c: Likewise.
70528         * manual/examples/execinfo.c: Likewise.
70529         * manual/examples/filecli.c: Likewise.
70530         * manual/examples/filesrv.c: Likewise.
70531         * manual/examples/fmtmsgexpl.c: Likewise.
70532         * manual/examples/genpass.c: Likewise.
70533         * manual/examples/inetcli.c: Likewise.
70534         * manual/examples/inetsrv.c: Likewise.
70535         * manual/examples/isockad.c: Likewise.
70536         * manual/examples/longopt.c: Likewise.
70537         * manual/examples/memopen.c: Likewise.
70538         * manual/examples/memstrm.c: Likewise.
70539         * manual/examples/mkfsock.c: Likewise.
70540         * manual/examples/mkisock.c: Likewise.
70541         * manual/examples/mygetpass.c: Likewise.
70542         * manual/examples/pipe.c: Likewise.
70543         * manual/examples/popen.c: Likewise.
70544         * manual/examples/rprintf.c: Likewise.
70545         * manual/examples/search.c: Likewise.
70546         * manual/examples/select.c: Likewise.
70547         * manual/examples/setjmp.c: Likewise.
70548         * manual/examples/sigh1.c: Likewise.
70549         * manual/examples/sigusr.c: Likewise.
70550         * manual/examples/stpcpy.c: Likewise.
70551         * manual/examples/strdupa.c: Likewise.
70552         * manual/examples/strftim.c: Likewise.
70553         * manual/examples/strncat.c: Likewise.
70554         * manual/examples/subopt.c: Likewise.
70555         * manual/examples/swapcontext.c: Likewise.
70556         * manual/examples/termios.c: Likewise.
70557         * manual/examples/testopt.c: Likewise.
70558         * manual/examples/testpass.c: Likewise.
70559         * manual/examples/timeval_subtract.c: Likewise.
70561         [BZ #13792]
70562         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70563         function to ...
70564         * manual/timeval_subtract.c.texi: ... here, new file.
70566 2012-03-02  David S. Miller  <davem@davemloft.net>
70568         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70570 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70572         [BZ #3976]
70573         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70574         (__sin): Save and restore rounding mode and use round-to-nearest
70575         for all computations.
70576         (__cos): Save and restore rounding mode and use round-to-nearest
70577         for all computations.
70578         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70579         <fenv.h>.
70580         (tan): Save and restore rounding mode and use round-to-nearest for
70581         all computations.
70582         * math/libm-test.inc (cos_test_tonearest): New function.
70583         (cos_test_towardzero): Likewise.
70584         (cos_test_downward): Likewise.
70585         (cos_test_upward): Likewise.
70586         (sin_test_tonearest): Likewise.
70587         (sin_test_towardzero): Likewise.
70588         (sin_test_downward): Likewise.
70589         (sin_test_upward): Likewise.
70590         (tan_test_tonearest): Likewise.
70591         (tan_test_towardzero): Likewise.
70592         (tan_test_downward): Likewise.
70593         (tan_test_upward): Likewise.
70594         (main): Call the new functions.
70595         * sysdeps/i386/fpu/libm-test-ulps: Update.
70596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70598         [BZ #10135]
70599         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70600         small n, then large n, before computing and testing k+n.
70601         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70602         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70603         Likewise.
70604         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70605         Likewise.
70606         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70607         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70608         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70609         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70610         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70611         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70612         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70613         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70614         * math/libm-test.inc (scalbn_test): Add more tests.
70615         (scalbln_test): Likewise.
70617         * manual/filesys.texi (mode_t): Describe constraints on size and
70618         signedness, not exact equivalence to a particular type.
70619         (ino_t): Likewise.
70620         (ino64_t): Likewise.
70621         (dev_t): Likewise.
70622         (nlink_t): Likewise.
70623         (blkcnt_t): Likewise.
70624         (blkcnt64_t): Likewise.
70625         * manual/llio.texi (off_t): Likewise.
70627         [BZ #3976]
70628         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70629         (__ieee754_exp): Save and restore rounding mode and use
70630         round-to-nearest for all computations.
70631         * math/libm-test.inc (exp_test_tonearest): New function.
70632         (exp_test_towardzero): Likewise.
70633         (exp_test_downward): Likewise.
70634         (exp_test_upward): Likewise.
70635         (main): Call the new functions.
70636         * sysdeps/i386/fpu/libm-test-ulps: Update.
70637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70639 2012-03-01  Chris Demetriou  <cgd@google.com>
70641         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70642         have predictable order.
70644 2012-03-01  David S. Miller  <davem@davemloft.net>
70646         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70648         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70649         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70650         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70651         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70653         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70654         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70655         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70657         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70658         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70659         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70660         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70661         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70665         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70666         * sysdeps/sparc/fpu/libm-test-ulps: to here.
70667         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70669         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70670         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70671         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70672         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70673         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70674         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70675         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70676         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70677         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70678         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70679         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70680         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70681         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70682         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70683         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70684         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70685         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70686         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70687         * sysdeps/sparc/elf/configure: Regenerated.
70689 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
70691         * configure.in (AS, LD): Require binutils 2.20 or later.
70692         * configure: Regenerated.
70693         * manual/install.texi (Tools for Compilation): Give binutils 2.20
70694         as required minimum version.
70695         * INSTALL: Regenerated.
70697         [BZ #2541]
70698         [BZ #4108]
70699         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70700         before squaring exponent.
70701         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70702         bottom long double and 27 bits of top long double before squaring
70703         exponent.
70704         * math/libm-test.inc (erfc_test): Add more tests.
70705         * sysdeps/i386/fpu/libm-test-ulps: Update.
70706         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70709 2012-03-01  Kai Tietz  <ktietz@redhat.com>
70711         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70712         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70713         containing bit-fields.
70714         * soft-fp/extended.h (_FP_UNION_E): Likewise.
70715         * soft-fp/single.h (_FP_UNION_S): Likewise.
70716         * soft-fp/double.h (_FP_UNION_D): Likewise.
70718 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70720         [BZ #13786]
70721         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70722         not include ../strcmp.S.
70723         [USE_AS_STRNCASECMP_L]: Likewise.
70724         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70725         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70726         * sysdeps/i386/i686/multiarch/strncase_l-c.c
70727         (__strncasecmp_l_ia32): Define as alias to
70728         __strncasecmp_l_nonascii.
70730         [BZ #5794]
70731         * math/libm-test.inc (expm1_test): Add test for bug 5794.
70732         * sysdeps/i386/fpu/libm-test-ulps: Update.
70733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70735         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70738 2012-02-29  Jeff Law  <law@redhat.com>
70740         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70741         out of bounds read.
70743 2012-02-29  Marek Polacek  <polacek@redhat.com>
70745         [BZ #13706]
70746         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70747         * elf/Makefile: Add rules to run tst-unused-dep.out.
70749 2012-02-28  David S. Miller  <davem@davemloft.net>
70751         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70752         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70753         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70754         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70755         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70756         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70758 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70760         * math/libm-test.inc (llround_test): Move one test from
70761         lround_test.  Use TEST_f_L in moved test.
70762         (lround_test): Move misplaced test to llround_test.  Add testcase
70763         from bug 2561.
70765 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
70767         * sysdeps/x86_64/fpu/e_expf.S: New file.
70768         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70770 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
70772         [BZ #13637]
70773         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70774         of remain_len that may cause incomplete multi-byte character and
70775         false match.
70776         * posix/bug-regex33.c: New file.
70777         * posix/Makefile (tests): Add bug-regex33.
70779 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
70781         * manual/macros.texi: New file.
70782         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70783         * manual/libc.texinfo: Include macros.texi.
70784         * manual/creatute.texi: Likewise.
70785         * manual/install.texi: Likewise.
70786         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70787         @glibcadj{} in references to the GNU C Library.
70788         * manual/charset.texi: Likewise.
70789         * manual/conf.texi: Likewise.
70790         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
70791         when not using those macros.
70792         * manual/creature.texi: Likewise.
70793         * manual/crypt.texi: Likewise.
70794         * manual/errno.texi: Likewise.
70795         * manual/filesys.texi: Likewise.
70796         * manual/header.texi: Likewise.
70797         * manual/install.texi: Likewise.
70798         * manual/intro.texi: Likewise.
70799         * manual/io.texi: Likewise.
70800         * manual/job.texi: Likewise.
70801         * manual/lang.texi: Likewise.
70802         * manual/libc.texiinfo: Likewise.
70803         * manual/llio.texi: Likewise.
70804         * manual/locale.texi: Likewise.
70805         * manual/maint.texi: Likewise.
70806         * manual/math.texi: Likewise.
70807         * manual/memory.texi: Likewise.
70808         * manual/message.texi: Likewise.
70809         * manual/nss.texi: Likewise.
70810         * manual/pattern.texi: Likewise.
70811         * manual/process.texi: Likewise.
70812         * manual/resource.texi: Likewise.
70813         * manual/search.texi: Likewise.
70814         * manual/setjmp.texi: Likewise.
70815         * manual/signal.texi: Likewise.
70816         * manual/socket.texi: Likewise.
70817         * manual/startup.texi: Likewise.
70818         * manual/stdio.texi: Likewise.
70819         * manual/string.texi: Likewise.
70820         * manual/sysinfo.texi: Likewise.
70821         * manual/syslog.texi: Likewise.
70822         * manual/terminal.texi: Likewise.
70823         * manual/time.texi: Likewise.
70824         * manual/users.texi: Likewise.
70825         * INSTALL: Regenerated.
70826         * NOTES: Regenerated.
70827         * sysdeps/gnu/errlist.c: Regenerated.
70829 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
70831         * include/dirent.h: Include <dirstream.h> before
70832         <dirent/dirent.h>.
70834 2012-02-28  David S. Miller  <davem@davemloft.net>
70836         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70837         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70838         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70839         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70841 2012-02-27  David S. Miller  <davem@davemloft.net>
70843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70845         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70846         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70849         frame pointer instead of stack pointer relative arg slot.
70850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70851         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70852         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70854 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
70856         [BZ #3992]
70857         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70859 2012-02-27  David S. Miller  <davem@davemloft.net>
70861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70865         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70866         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70867         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70868         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70870 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70872         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70873         later.  Allow versions 5-9.
70874         * configure: Regenerated.
70875         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70876         required minimum version and 4.6 as recommended version.  Do not
70877         mention bugs in GCC 2.7 and 2.8.
70878         * INSTALL: Regenerated.
70880 2012-02-27  David S. Miller  <davem@davemloft.net>
70882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70886         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70887         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70888         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70889         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70891         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70892         manipulate bits before adding and subtracting TWO112[sx].
70893         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70895 2012-02-27  Roland McGrath  <roland@hack.frob.com>
70897         [BZ #13775]
70898         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70899         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70900         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70901         being in POSIX, because they are in 1003.1-2008.
70903         * rt/tst-aio.c: Include <fcntl.h>.
70904         * rt/tst-aio7.c: Likewise.
70905         * rt/tst-aio64.c: Likewise.
70907         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70909 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70911         * manual/install.texi (--with-headers): Describe headers as
70912         interface headers, not private headers.
70913         (Specific advice for GNU/Linux systems): Describe use of headers
70914         from "make headers_install", not private headers from older
70915         kernels.
70916         * INSTALL: Regenerated.
70917         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70918         Change to 2.6.19.
70919         * sysdeps/unix/sysv/linux/configure: Regenerated.
70921         * manual/llio.texi (fclean): Remove documentation.
70923         * manual/Makefile (libc-texi-generated): New variable.  Include
70924         version.texi.
70925         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70926         $(libc-texi-generated), not duplicated list of files.
70927         (version.texi, stamp-version): New rules.
70928         (realclean): Remove $(libc-texi-generated), not individual files
70929         from that list.  Do not remove dir-add.texinfo.
70930         * manual/libc.texinfo: Comment out uses of edition numbers and
70931         references to printed manual.  Remove last-updated dates.
70932         (EDITION): Comment out.
70933         (ISBN): Likewise.
70934         (VERSION, UPDATED): Remove.
70935         (version.texi): Include.
70937 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
70939         * sysdeps/posix/spawni.c: Include <signal.h>.
70940         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70941         * sysdeps/pthread/aio_fsync.c: Likewise.
70943 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
70945         * conform/Makefile (tests): Run only when not cross-compiling and
70946         when fast-check is not defined.
70948         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70949         * conform/data/limits.h-data: Fixes for POSIX2008.
70950         * conform/run-conformtest.sh: Run all tests.
70951         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70952         headers.
70953         * include/bits/dlfcn.h: Likewise.
70954         * include/langinfo.h: Likewise.
70955         * include/monetary.h: Likewise.
70956         * include/sys/poll.h: Likewise.
70958         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70959         for __USE_GNU.
70960         * posix/spawn.h: Define __need_sigset_t.
70961         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70962         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70963         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
70964         to get sigevent_t only.
70965         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70966         only for __USE_GNU.
70967         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70968         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70969         process_vm_writev only for __USE_GNU.
70970         * termios/termios.h: Declare tcgetsid also for POSIX2008.
70972         * conform/Makefile: For now ignore errors from run-conformtest.
70973         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
70974         POSIX to avoid namespace pollution.  Don't prepend headers.
70975         * conform/data/aio.h-data: Fixes for POSIX testing.
70976         * conform/data/fcntl.h-data: Likewise.
70977         * conform/data/glob.h-data: Likewise.
70978         * conform/data/grp.h-data: Likewise.
70979         * conform/data/pthread.h-data: Likewise.
70980         * conform/data/pwd.h-data: Likewise.
70981         * conform/data/signal.h-data: Likewise.
70982         * conform/data/spawn.h-data: Likewise.
70983         * conform/data/stdio.h-data: Likewise.
70984         * conform/data/stdlib.h-data: Likewise.
70985         * conform/data/stropts.h-data: Likewise.
70986         * conform/data/sys/mman.h-data: Likewise.
70987         * conform/data/sys/stat.h-data: Likewise.
70988         * conform/data/sys/types.h-data: Likewise.
70989         * conform/data/sys/wait.h-data: Likewise.
70990         * conform/data/time.h-data: Likewise.
70991         * conform/data/unistd.h-data: Likewise.
70992         * conform/data/utime.h-data: Likewise.
70994         * io/sys/stat.h: fchmod was always in POSIX.
70995         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
70996         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
70997         * rt/aio.h: Define __need_timespec before including <time.h>.
70998         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
70999         struct.  Add forward declaration of pthread_attr_t and use it in
71000         sigevent.
71001         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71002         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71003         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71004         always remove CLK_TCK definition.
71006 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71008         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71010 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71012         * conform/run-conformtest.sh: New file.
71013         * conform/Makefile: Run run-conformtest for tests.
71014         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71015         support.
71017         * conform/data/uchar.h-data: New file.
71018         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71019         * conform/data/arpa/inet.h-data: Likewise.
71020         * conform/data/assert.h-data: Likewise.
71021         * conform/data/complex.h-data: Likewise.
71022         * conform/data/cpio.h-data: Likewise.
71023         * conform/data/ctype.h-data: Likewise.
71024         * conform/data/dirent.h-data: Likewise.
71025         * conform/data/dlfcn.h-data: Likewise.
71026         * conform/data/errno.h-data: Likewise.
71027         * conform/data/fcntl.h-data: Likewise.
71028         * conform/data/float.h-data: Likewise.
71029         * conform/data/fmtmsg.h-data: Likewise.
71030         * conform/data/fnmatch.h-data: Likewise.
71031         * conform/data/ftw.h-data: Likewise.
71032         * conform/data/glob.h-data: Likewise.
71033         * conform/data/grp.h-data: Likewise.
71034         * conform/data/iconv.h-data: Likewise.
71035         * conform/data/inttypes.h-data: Likewise.
71036         * conform/data/langinfo.h-data: Likewise.
71037         * conform/data/libgen.h-data: Likewise.
71038         * conform/data/limits.h-data: Likewise.
71039         * conform/data/locale.h-data: Likewise.
71040         * conform/data/math.h-data: Likewise.
71041         * conform/data/monetary.h-data: Likewise.
71042         * conform/data/mqueue.h-data: Likewise.
71043         * conform/data/ndbm.h-data: Likewise.
71044         * conform/data/net/if.h-data: Likewise.
71045         * conform/data/netdb.h-data: Likewise.
71046         * conform/data/netinet/in.h-data: Likewise.
71047         * conform/data/nl_types.h-data: Likewise.
71048         * conform/data/poll.h-data: Likewise.
71049         * conform/data/pthread.h-data: Likewise.
71050         * conform/data/pwd.h-data: Likewise.
71051         * conform/data/regex.h-data: Likewise.
71052         * conform/data/sched.h-data: Likewise.
71053         * conform/data/search.h-data: Likewise.
71054         * conform/data/semaphore.h-data: Likewise.
71055         * conform/data/setjmp.h-data: Likewise.
71056         * conform/data/signal.h-data: Likewise.
71057         * conform/data/spawn.h-data: Likewise.
71058         * conform/data/stdarg.h-data: Likewise.
71059         * conform/data/stdio.h-data: Likewise.
71060         * conform/data/stdlib.h-data: Likewise.
71061         * conform/data/string.h-data: Likewise.
71062         * conform/data/strings.h-data: Likewise.
71063         * conform/data/stropts.h-data: Likewise.
71064         * conform/data/sys/ipc.h-data: Likewise.
71065         * conform/data/sys/mman.h-data: Likewise.
71066         * conform/data/sys/msg.h-data: Likewise.
71067         * conform/data/sys/resource.h-data: Likewise.
71068         * conform/data/sys/select.h-data: Likewise.
71069         * conform/data/sys/sem.h-data: Likewise.
71070         * conform/data/sys/shm.h-data: Likewise.
71071         * conform/data/sys/socket.h-data: Likewise.
71072         * conform/data/sys/stat.h-data: Likewise.
71073         * conform/data/sys/statvfs.h-data: Likewise.
71074         * conform/data/sys/time.h-data: Likewise.
71075         * conform/data/sys/timeb.h-data: Likewise.
71076         * conform/data/sys/times.h-data: Likewise.
71077         * conform/data/sys/types.h-data: Likewise.
71078         * conform/data/sys/uio.h-data: Likewise.
71079         * conform/data/sys/un.h-data: Likewise.
71080         * conform/data/sys/utsname.h-data: Likewise.
71081         * conform/data/sys/wait.h-data: Likewise.
71082         * conform/data/syslog.h-data: Likewise.
71083         * conform/data/tar.h-data: Likewise.
71084         * conform/data/termios.h-data: Likewise.
71085         * conform/data/utime.h-data: Likewise.
71086         * conform/data/utmpx.h-data: Likewise.
71087         * conform/data/varargs.h-data: Likewise.
71088         * conform/data/wchar.h-data: Likewise.
71089         * conform/data/wctype.h-data: Likewise.
71090         * conform/data/wordexp.h-data: Likewise.
71092         * include/stropts.h: New file.
71093         * include/uchar.h: New file.
71094         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71095         * include/assert.h: Likewise.
71096         * include/ctype.h: Likewise.
71097         * include/dirent.h: Likewise.
71098         * include/dlfcn.h: Likewise.
71099         * include/fcntl.h: Likewise.
71100         * include/fnmatch.h: Likewise.
71101         * include/glob.h: Likewise.
71102         * include/grp.h: Likewise.
71103         * include/libio.h: Likewise.
71104         * include/locale.h: Likewise.
71105         * include/math.h: Likewise.
71106         * include/net/if.h: Likewise.
71107         * include/netdb.h: Likewise.
71108         * include/netinet/in.h: Likewise.
71109         * include/pthread.h: Likewise.
71110         * include/pwd.h: Likewise.
71111         * include/regex.h: Likewise.
71112         * include/sched.h: Likewise.
71113         * include/search.h: Likewise.
71114         * include/setjmp.h: Likewise.
71115         * include/signal.h: Likewise.
71116         * include/stdio.h: Likewise.
71117         * include/stdlib.h: Likewise.
71118         * include/string.h: Likewise.
71119         * include/sys/cdefs.h: Likewise.
71120         * include/sys/mman.h: Likewise.
71121         * include/sys/msg.h: Likewise.
71122         * include/sys/resource.h: Likewise.
71123         * include/sys/select.h: Likewise.
71124         * include/sys/socket.h: Likewise.
71125         * include/sys/stat.h: Likewise.
71126         * include/sys/statvfs.h: Likewise.
71127         * include/sys/time.h: Likewise.
71128         * include/sys/times.h: Likewise.
71129         * include/sys/uio.h: Likewise.
71130         * include/sys/utsname.h: Likewise.
71131         * include/sys/wait.h: Likewise.
71132         * include/termios.h: Likewise.
71133         * include/time.h: Likewise.
71134         * include/ulimit.h: Likewise.
71135         * include/unistd.h: Likewise.
71136         * include/utime.h: Likewise.
71137         * include/wchar.h: Likewise.
71138         * include/wctype.h: Likewise.
71139         * include/wordexp.h: Likewise.
71141         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71143         * time/time.h: TIME_UTC must be a macro.
71144         Make timespec_get available for ISO C11 only as well.
71146 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71148         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71149         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71151 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71153         * configure.in: Use -o not -a in test for unsupported multi-arch.
71155 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71157         * manual/texinfo.tex: Update to version 2012-01-19.16.
71159 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71161         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71163 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71165         [BZ #13738]
71166         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71167         * manual/fdl-1.3.texi: New file.
71168         * manual/fdl-1.1.texi: File removed.
71170         [BZ #13738]
71171         * manual/libc.texinfo (FDL_VERSION): New @set.
71172         Use it for mention of FDL in cover text.
71173         (Documentation License): Use it in @include file name.
71175 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71176             Roland McGrath  <roland@hack.frob.com>
71178         [BZ #5461]
71179         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71180         (not LONG_LONG_MAX and LONG_LONG_MIN.
71181         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71182         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71183         name.
71184         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71186 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71188         [BZ #2547]
71189         [BZ #11365]
71190         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71191         manipulate bits before adding and subtracting TWO23[sx].
71192         * math/libm-test.inc (nearbyint_test): Add more tests.
71194 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71196         [BZ #2548]
71197         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71198         bits before adding and subtracting TWO23[sx].
71199         * math/libm-test.inc (rint_test): Add more tests.
71200         (rint_test_tonearest): Likewise.
71201         (rint_test_towardzero): Likewise.
71202         (rint_test_downward): Likewise.
71203         (rint_test_upward: Likewise.
71205 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71207         [BZ #10110]
71208         * include/stdc-predef.h: New file.  Extracted from features.h.
71209         * include/features.h: Include stdc-predef.h.
71210         * Makefile (headers): Add stdc-predef.h.
71211         * CONFORMANCE (Compiler limitations): Update.
71213 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71215         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71217 2012-02-21  David S. Miller  <davem@davemloft.net>
71219         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71220         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71222 2012-02-20  David S. Miller  <davem@davemloft.net>
71224         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71225         using a normal save/restore sequence, rather than allocating a
71226         dummy stack frame just to store a frame pointer and restore.
71227         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71229 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71231         * manual/install.texi: Fix stray word in line-wrapped comment.
71233 2012-02-20  David S. Miller  <davem@davemloft.net>
71235         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71236         both binutils and gcc support GOTDATA.
71238         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71239         "rd %pc" in the PIC register setup sequences.
71241         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71242         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71243         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71244         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71245         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71246         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71247         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71248         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71249         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71250         (SYSCALL_ERROR_HANDLER): Likewise.
71251         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71252         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71253         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71254         (SYSCALL_ERROR_HANDLER): Likewise.
71256         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71257         (HAVE_GCC_GOTDATA): New.
71258         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71259         relocation support in both binutils and gcc.
71260         * sysdeps/sparc/elf/configure: Regenerate.
71262         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71263         * sysdeps/sparc/sparc32/elf/configure: Delete.
71264         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71265         * sysdeps/sparc/sparc64/elf/configure: Delete.
71266         * sysdeps/sparc/elf/configure.in: New file.
71267         * sysdeps/sparc/elf/configure: Generate.
71269         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71270         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71271         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71272         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71273         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71275 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71277         * manual/install.texi: Do not mention specific glibc version
71278         numbers.
71279         * manual/libc.texinfo (VERSION, UPDATED): Update.
71280         (@copying): Use @copyright{} and range of years.
71282 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71284         [BZ #13695]
71285         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71286         [crti.S not in sysdirs] (generated): Do not append.
71287         [crti.S not in sysdirs] (omit-deps): Likewise.
71288         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71289         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71290         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71291         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71292         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71293         Likewise.
71294         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71295         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71296         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71297         * csu/defs.awk: Remove file.
71298         * sysdeps/generic/initfini.c: Likewise.
71299         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71300         variable.
71301         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71302         Likewise.
71304 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71306         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71307         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71308         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71309         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71310         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71311         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71312         <bits/epoll.h>.
71313         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71314         (__EPOLL_PACKED): Define to empty if not defined by
71315         <bits/epoll.h>.
71316         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71318         bits/epoll.h.
71320 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71322         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71323         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71324         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71325         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71326         <bits/timerfd.h>.
71327         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71328         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71329         bits/timerfd.h.
71331 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71333         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71334         in C locale.
71335         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71336         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71337         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71340 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71342         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71343         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71345 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71347         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71348         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71349         defined.
71350         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71351         Likewise.
71352         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71353         entry for 2.16.
71355 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71357         * math/w_acos.c: Use non-signaling floating-point comparisons.
71358         * math/w_acosf.c: Likewise.
71359         * math/w_acosh.c: Likewise.
71360         * math/w_acoshf.c: Likewise.
71361         * math/w_acoshl.c: Likewise.
71362         * math/w_acosl.c: Likewise.
71363         * math/w_asin.c: Likewise.
71364         * math/w_asinf.c: Likewise.
71365         * math/w_asinl.c: Likewise.
71366         * math/w_atanh.c: Likewise.
71367         * math/w_atanhf.c: Likewise.
71368         * math/w_atanhl.c: Likewise.
71369         * math/w_exp2.c: Likewise.
71370         * math/w_exp2f.c: Likewise.
71371         * math/w_exp2l.c: Likewise.
71372         * math/w_j0.c: Likewise.
71373         * math/w_j0f.c: Likewise.
71374         * math/w_j0l.c: Likewise.
71375         * math/w_j1.c: Likewise.
71376         * math/w_j1f.c: Likewise.
71377         * math/w_j1l.c: Likewise.
71378         * math/w_jn.c: Likewise.
71379         * math/w_jnf.c: Likewise.
71380         * math/w_log.c: Likewise.
71381         * math/w_log10.c: Likewise.
71382         * math/w_log10f.c: Likewise.
71383         * math/w_log10l.c: Likewise.
71384         * math/w_log2.c: Likewise.
71385         * math/w_log2f.c: Likewise.
71386         * math/w_log2l.c: Likewise.
71387         * math/w_logf.c: Likewise.
71388         * math/w_logl.c: Likewise.
71389         * math/w_sqrt.c: Likewise.
71390         * math/w_sqrtf.c: Likewise.
71391         * math/w_sqrtl.c: Likewise.
71392         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71393         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71394         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71395         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71396         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71398 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71400         [BZ #9739]
71401         * manual/string.texi (strnlen): Use correct parameter name in
71402         equivalent expression.
71404 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71406         [BZ #11174]
71407         * manual/users.texi (seteuid): Consistently use neweuid for
71408         argument name.
71410 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71412         [BZ #13704]
71413         * manual/nss.texi (Services in the NSS configuration): Correct
71414         list of services in example configuration file.
71416 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71418         [BZ #11322]
71419         * manual/arith.texi: Remove statements about negative zero
71420         behaving identically to zero.
71422 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71424         [BZ #5993]
71425         * manual/install.texi: Do not document upgrading from libc5.
71427 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71429         [BZ #4596]
71430         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71432 2012-02-18  David S. Miller  <davem@davemloft.net>
71434         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71435         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71436         %o7 across the call.
71437         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71438         instead.
71439         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71440         SETUP_PIC_REG_LEAF.
71441         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71442         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71443         * sysdeps/sparc/crtn.S: Likewise.
71445 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71447         * aout/Makefile: Remove.
71449 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71451         [BZ #13058]
71452         * manual/examples/argp-ex1.c (main): Format definition in GNU
71453         style.
71454         * manual/examples/argp-ex2.c (main): Likewise.
71455         * manual/examples/argp-ex3.c (main): Likewise.
71456         * manual/examples/argp-ex4.c (main): Likewise.
71457         * manual/examples/longopt.c (main): Use new-style prototype
71458         definition.
71459         * manual/examples/strncat.c (main): Specify return type and use
71460         (void) for arguments.
71461         * manual/examples/subopt.c (main): Use char **argv argument.
71463 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71465         [BZ #5077]
71466         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71467         rounding modes.
71469 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71471         [BZ #6907]
71472         * manual/string.texi (strchr): Change when strchrnul is
71473         recommended.
71475 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71477         [BZ #174]
71478         * manual/locale.texi (setlocale): Document LOCPATH.
71480 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71482         [BZ #10210]
71483         * manual/process.texi (execle): Move @dots{} before last argument.
71485 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71487         [BZ #12047]
71488         * manual/charset.texi (Generic Charset Conversion): Fix typo
71489         (LC_TYPE -> LC_CTYPE).
71491 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71493         [BZ #5805]
71494         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71495         (scalbnf): Likewise.
71496         (scalbnl): Likewise.
71497         (scalbln): Likewise.
71498         (scalblnf): Likewise.
71499         (scalblnl): Likewise.
71500         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71501         (vwarnx): Likewise.
71502         (verr): Likewise.
71503         (verrx): Likewise.
71504         * manual/filesys.texi (telldir): Use braces around return type.
71505         * manual/llio.texi (mmap): Add space after comma.
71506         (mmap64): Likewise.
71507         * manual/math.texi (jn): Use @var{} on parameter names.
71508         (jnf): Likewise.
71509         (jnl): Likewise.
71510         (yn): Likewise.
71511         (ynf): Likewise.
71512         (ynl): Likewise.
71513         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71514         line.
71515         * manual/resource.texi (ulimit): Use @dots{} instead of literal
71516         "...".
71517         (sched_get_priority_min): Remove semicolon on @deftypefun line.
71518         (sched_get_priority_max): Likewise.
71519         * manual/signal.texi (sigvec): Add space after comma.
71520         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71521         names.
71522         (if_indextoname): Likewise.
71523         (if_freenameindex): Likewise.
71524         (sendto): Use ',' instead of '.' in prototype.
71525         * manual/startup.texi (syscall): Use @dots{} instead of literal
71526         "...".
71527         * manual/stdio.texi (__fpending): Separate initial words of
71528         paragraph from @deftypefun line.
71529         * manual/syslog.texi (syslog): Use @dots{} instead of literal
71530         "...".
71531         (vsyslog): Use @var{} on parameter names.
71532         * manual/terminal.texi (stty): Use @var{} on parameter names.
71533         * manual/users.texi (getutmp): Use @var{} on parameter names.
71534         (getutmpx): Likewise.
71536 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71538         [BZ #6884]
71539         * manual/stdio.texi (fopen): Fix typos in description of
71540         ",ccs=STRING".
71542 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71544         [BZ #4026]
71545         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71546         get clock_id definition.
71548 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71550         [BZ #4822]
71551         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71552         (madvise): Cast every argument to void on its own.
71554 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71556         [BZ #9902]
71557         * manual/startup.texi (Exit Status): Fix typo.
71559 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71561         [BZ #10140]
71562         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71563         * manual/examples/argp-ex2.c: Likewise.
71564         * manual/examples/argp-ex3.c: Likewise.
71566 2012-02-16  Richard Henderson  <rth@redhat.com>
71568         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71569         * sysdeps/s390/s390-32/initfini.c: Remove.
71570         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71571         * sysdeps/s390/s390-64/initfini.c: Remove.
71573 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71575         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71576         compiler output for sysdeps/generic/initfini.c.
71577         * sysdeps/sh/elf/initfini.c: Remove file.
71579 2012-02-16  David S. Miller  <davem@davemloft.net>
71581         [BZ #11494]
71582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71584         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71585         * sysdeps/sparc/crti.S: New file.
71586         * sysdeps/sparc/crtn.S: New file.
71587         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71588         * sysdeps/sparc/sparc64/Makefile: Likewise.
71590 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71592         [BZ #3335]
71593         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71595 2012-02-15  Roland McGrath  <roland@hack.frob.com>
71597         [BZ #4822]
71598         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71600         * mach/devstream.c (cookie_io_functions_t): Macro removed.
71601         (write, read, close): Likewise.
71602         Patch by Aurelien Jarno <aurelien@aurel32.net>.
71604 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
71606         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71607         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71608         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71609         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71610         <bits/signalfd.h>.
71611         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71612         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71613         bits/signalfd.h.
71615 2012-02-14  Marek Polacek  <polacek@redhat.com>
71617         * sysdeps/x86_64/crti.S: New file.
71618         * sysdeps/x86_64/crtn.S: New file.
71619         * sysdeps/x86_64/elf/initfini.c: Remove file.
71621 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71623         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71624         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71625         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71626         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71627         <bits/inotify.h>.
71628         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71629         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71630         bits/inotify.h.
71632 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71634         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71635         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71636         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71637         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71638         <bits/eventfd.h>.
71639         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71641         bits/eventfd.h.
71643 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
71645         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71646         __feraiseexcept instead of feraiseexcept.
71648         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71649         nanosleep invocations.
71650         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71651         strings, and add error checking for a nanosleep invocations.
71653 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
71655         Replace FSF snail mail address with URLs, as per GNU coding standards.
71656         Most of the snail mail addresses were wrong anyway, and omitting
71657         them makes the source code easier to maintain.  Almost all of the
71658         changes are to license notices and to locale LC_IDENTIFICATION
71659         addresses, except for this one:
71660         * manual/libc.texinfo: In "Published by", give the FSF's URL,
71661         not its snail mail address.
71663 2012-02-09  Richard Henderson  <rth@twiddle.net>
71665         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71666         of kernel-features.h.
71668         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71670 2012-02-08  Marek Polacek  <polacek@redhat.com>
71672         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71673         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71674         * sysdeps/gnu/_G_config.h: Likewise.
71675         * sysdeps/generic/_G_config.h: Likewise.
71677 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
71679         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71680         tests.
71681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71683         * sysdeps/powerpc/powerpc32/crti.S: New file.
71684         * sysdeps/powerpc/powerpc32/crtn.S: New file.
71685         * sysdeps/powerpc/powerpc64/crti.S: New file.
71686         * sysdeps/powerpc/powerpc64/crtn.S: New file.
71688         * Makeconfig (have-initfini): Don't set.
71689         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71690         * configure.in (nopic_initfini): Don't substitute.
71691         * config.h.in (HAVE_INITFINI): Don't #undef.
71692         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71693         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71695 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
71697         Support crti.S and crtn.S provided directly by architectures.
71698         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71699         [crti.S in sysdirs] (omit-deps): Likewise.
71700         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71701         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71702         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71703         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71704         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71705         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71706         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71707         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71708         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71709         compiler output for sysdeps/generic/initfini.c.
71710         * sysdeps/i386/elf/Makefile: Remove file.
71711         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71713 2012-02-07  Marek Polacek  <polacek@redhat.com>
71715         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71716         * sysdeps/gnu/_G_config.h: Likewise.
71717         * sysdeps/mach/hurd/_G_config.h: Likewise.
71719 2012-02-07  Marek Polacek  <polacek@redhat.com>
71721         * math/Makefile (tests): Add tst-CMPLX2.
71722         * math/tst-CMPLX2.c: New file.
71724 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
71726         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71728         * math/libm-test.inc (jn_test): Add missing L suffix.
71730 2012-02-06  Marek Polacek  <polacek@redhat.com>
71732         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71733         * sysdeps/i386/fpu/e_powf.S: Likewise.
71734         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71735         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71736         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71737         * sysdeps/i386/fpu/e_pow.S: Likewise.
71738         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71739         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71740         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71741         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71742         * sysdeps/i386/fpu/e_log2.S: Likewise.
71743         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71744         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71745         * sysdeps/i386/fpu/e_powl.S: Likewise.
71746         * sysdeps/i386/fpu/s_log1p.S: Likewise.
71747         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71748         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71749         * sysdeps/i386/fpu/e_logl.S: Likewise.
71750         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71751         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71752         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71753         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71754         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71755         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71756         * sysdeps/i386/fpu/e_log.S: Likewise.
71757         * sysdeps/i386/fpu/s_cexp.S: Likewise.
71758         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71759         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71760         * sysdeps/i386/fpu/e_logf.S: Likewise.
71761         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71762         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71763         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71764         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71765         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71766         * sysdeps/i386/fpu/e_log10.S: Likewise.
71767         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71768         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71769         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71770         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71771         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71772         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71773         * sysdeps/i386/asm-syntax.h: Likewise.
71774         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71775         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71776         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71777         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71778         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71779         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71780         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71781         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71782         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71783         * sysdeps/powerpc/sysdep.h: Likewise.
71784         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71785         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71787 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71789         [BZ #411]
71790         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71792 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71794         * sysdeps/i386/sysdep.h: Include <features.h>.
71795         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71796         version.
71798 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
71800         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71801         Define.
71802         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
71803         LOAD_PIC_REG_STR.
71805 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71807         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
71808         (SETUP_PIC_REG): Use GET_PC_THUNK.
71809         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
71810         macro.
71812 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71814         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71815         for non-PIC compilation.
71816         (SETUP_PIC_REG): Add .p2align directive.
71817         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71818         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71819         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71820         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71821         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71822         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71823         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71824         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71825         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71826         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71827         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71828         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71829         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71830         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71831         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71832         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71833         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71834         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71835         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71836         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71837         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71838         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71839         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71840         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71841         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71842         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71843         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71844         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71845         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71846         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71847         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71848         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71849         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71850         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71851         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71852         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71853         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71854         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71855         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71856         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71857         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71859 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71861         * math/tst-CMPLX.c: Include <stdio.h>.
71863 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
71865         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71866         float.
71867         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71868         * sysdeps/sparc/bits/mathdef.h: Likewise.
71870 2012-01-31  Marek Polacek  <polacek@redhat.com>
71872         * libio/libio.h: Don't define _PARAMS.
71873         * locale/programs/config.h: Don't define PARAMS.
71874         * stdlib/strtol_l.c: Likewise.
71875         (__strtol_l): Remove PARAMS from the prototype.
71877 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
71879         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
71880         names.  Just use the correct names.  Remove unnecessary wrapper
71881         functions.
71882         * malloc/arena.c: Likewise.
71883         * malloc/hooks.c: Likewise.
71885         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71886         ARENA_TEST says not to.  Simplify test for creation of a new arena.
71887         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71889 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
71891         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71892         into tail calls.
71893         (update_get_addr): New function.
71894         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71895         GET_ADDR_MODULE parameter.
71897 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71899         * crypt/cert.c: Remove __STDC__ conditionals.
71900         * crypt/crypt-entry.c: Likewise.
71901         * crypt/crypt_util.c: Likewise.
71902         * libio/filedoalloc.c: Likewise.
71903         * libio/fileops.c: Likewise.
71904         * libio/genops.c: Likewise.
71905         * libio/iofclose.c: Likewise.
71906         * libio/iofdopen.c: Likewise.
71907         * libio/iofopen.c: Likewise.
71908         * libio/iofopen64.c: Likewise.
71909         * libio/iogetdelim.c: Likewise.
71910         * libio/iopopen.c: Likewise.
71911         * libio/obprintf.c: Likewise.
71912         * libio/oldfileops.c: Likewise.
71913         * libio/oldiofclose.c: Likewise.
71914         * libio/oldiofdopen.c: Likewise.
71915         * libio/oldiofopen.c: Likewise.
71916         * libio/oldiopopen.c: Likewise.
71917         * libio/wfiledoalloc.c: Likewise.
71918         * libio/wgenops.c: Likewise.
71919         * locale/programs/xmalloc.c: Likewise.
71920         * misc/syslog.c: Likewise.
71921         * stdio-common/xbug.c: Likewise.
71922         * string/memchr.c: Likewise.
71923         * string/memcmp.c: Likewise.
71924         * string/memrchr.c: Likewise.
71925         * string/rawmemchr.c: Likewise.
71926         * sysdeps/posix/getcwd.c: Likewise.
71927         * time/strftime_l.c: Likewise.
71929 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71931         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71932         * config.make.in (config-cflags-sse2avx): Define.
71933         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71934         Fix typo.
71936 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
71938         * scripts/config.guess: Update from upstream config git repository.
71939         * scripts/config.sub: Likewise.
71941 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
71943         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71944         (EM_NUM): Update.
71945         (R_TILEPRO_*, R_TILEGX_*): New macros.
71947         * scripts/firstversions.awk: Fix bug in version range handling.
71949         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71951         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71953         * include/sys/epoll.h: New file.
71954         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71955         libc_hidden_def.
71957 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
71959         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71960         Avoid unnecessary __WORDSIZE == 64 test.
71961         (fmaxf): Use VEX format if possible.
71962         (fmax): Likewise.
71963         (fminf): Likewise.
71964         (fmin): Likewise.
71966         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71967         * math/math_private.h: Remove libc_fegetround* and
71968         libc_fesetround*.
71969         * sysdeps/i386/configure.in: Check for -msse2avx.
71970         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71971         also if SSE2AVX is defined.
71972         Remove libc_fegetround* and libc_fesetround*.
71973         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71974         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
71975         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
71976         of HAS_YMM_USABLE.
71977         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71978         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71979         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71980         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71981         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71983         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
71985 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71987         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
71988         size is not set.
71989         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71991 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
71993         [BZ #13618]
71994         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
71995         relocation.
71996         * Makeconfig (libm): Define.
71997         * elf/Makefile: Add rules to build and run tst-relsort1.
71998         * elf/tst-relsort1.c: New file.
71999         * elf/tst-relsort1mod1.c: New file.
72000         * elf/tst-relsort1mod2.c: New file.
72002 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72004         * math/s_ldexp.c: Remove __STDC__ conditionals.
72005         * math/s_ldexpf.c: Likewise.
72006         * math/s_ldexpl.c: Likewise.
72007         * math/s_nextafter.c: Likewise.
72008         * math/s_nexttowardf.c: Likewise.
72009         * math/s_significand.c: Likewise.
72010         * math/s_significandf.c: Likewise.
72011         * math/s_significandl.c: Likewise.
72012         * math/w_jnl.c: Likewise.
72013         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72014         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72015         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72016         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72017         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72018         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72019         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72020         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72021         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72022         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72023         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72024         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72025         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72026         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72027         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72028         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72029         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72030         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72031         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72032         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72033         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72034         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72035         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72036         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72037         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72038         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72039         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72040         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72041         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72042         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72043         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72044         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72045         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72046         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72047         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72048         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72049         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72050         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72051         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72052         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72053         * sysdeps/ieee754/k_standard.c: Likewise.
72054         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72055         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72056         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72057         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72058         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72059         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72060         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72061         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72062         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72063         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72064         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72065         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72066         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72067         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72068         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72069         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72070         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72071         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72072         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72073         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72074         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72075         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72076         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72077         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72078         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72079         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72080         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72081         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72082         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72083         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72084         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72085         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72086         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72087         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72088         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72089         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72090         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72091         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72092         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72093         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72094         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72095         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72096         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72097         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72098         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72099         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72100         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72101         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72102         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72103         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72104         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72105         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72106         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72107         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72108         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72109         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72110         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72111         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72112         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72113         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72114         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72115         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72116         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72117         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72118         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72119         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72120         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72121         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72122         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72123         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72124         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72125         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72126         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72127         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72128         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72129         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72130         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72131         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72132         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72133         * sysdeps/ieee754/s_matherr.c: Likewise.
72134         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72135         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72136         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72137         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72139 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72141         * crypt/md5.h: Remove __STDC__ conditionals.
72142         * libio/libioP.h: Likewise.
72143         * locale/programs/config.h: Likewise.
72144         * sysdeps/generic/sysdep.h: Likewise.
72145         * sysdeps/i386/asm-syntax.h: Likewise.
72146         * sysdeps/s390/asm-syntax.h: Likewise.
72147         * sysdeps/unix/sysdep.h: Likewise.
72148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72151 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72153         * libio/libio.h: Remove __STDC__ conditionals.
72154         * malloc/obstack.h: Likewise.
72155         * math/complex.h: Likewise.
72156         * math/math.h: Likewise.
72157         * sysdeps/generic/_G_config.h: Likewise.
72158         * sysdeps/gnu/_G_config.h: Likewise.
72159         * sysdeps/mach/hurd/_G_config.h: Likewise.
72160         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72161         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72162         * sysdeps/sparc/bits/mathdef.h: Likewise.
72164 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72166         [BZ #13583]
72167         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72168         Clean up HAS_* macros.
72169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72170         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72171         possible.
72172         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72173         HAS_AVX.
72174         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72175         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72176         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72177         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72178         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72180 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72182         * elf/tst-unique3.cc (gets): Remove declaration.
72183         * elf/tst-unique3lib.cc (gets): Likewise.
72184         * elf/tst-unique3lib2.cc (gets): Likewise.
72185         * elf/tst-unique4.cc (gets): Likewise.
72187 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72189         * include/stdio.h: Add C++ protection.  Add gets declarations and
72190         definitions.
72191         * debug/tst-chk1.c: Don't declare gets here.
72192         * stdio-common/tst-gets.c: Likewise.
72194 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72196         * posix/glob: Remove directory.
72198 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72200         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72202 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72204         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72205         of the non-standard EPFNOSUPPORT.
72207 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72209         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72210         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72211         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72213 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72215         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72217 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72219         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72220         transient errors.
72221         * nscd/grpcache.c (cache_addgr): Likewise.
72222         * nscd/hstcache.c (cache_addhst): Likewise.
72223         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72224         * nscd/pwdcache.c (cache_addpw): Likewise.
72225         * nscd/servicescache.c (cache_addserv): Likewise.
72227 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72229         * malloc/malloc.c: Various cleanups.
72230         * malloc/hooks.c: Likewise.
72232         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72233         * stdlib/bug-fmtmsg1.c: New file.
72235         * stdlib/fmtmsg.c (init): Add missing unlock.
72236         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72238 2012-01-12  Marek Polacek  <polacek@redhat.com>
72240         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72241         and _GNU_SOURCE.
72243 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72245         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72246         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72247         macro to ensure uniqueness of label name.
72248         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72249         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72251 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72253         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72255         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72256         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72257         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72258         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72260 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72262         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72264         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72265         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72266         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72268         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72270         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72271         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72272         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72273         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72275         * math/bits/math-finite.h: Add ldexp support.
72277 2012-01-10  Marek Polacek  <polacek@redhat.com>
72279         * locale/programs/localedef.h (show_archive_content): Add noreturn
72280         attribute.
72282 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72284         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72286 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72288         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72290         * io/Makefile (headers): Add bits/poll2.h.
72292 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72295         typo #include statement.
72297 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72299         * include/sys/cdefs.h: Define __attribute_alloc_size.
72300         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72301         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72302         * elf/pldd.c: Likewise.
72303         * iconv/iconv_charmap.c: Likewise.
72304         * iconv/iconvconfig.c: Likewise.
72305         * iconv/strtab.c: Likewise.
72306         * locale/programs/locale.c: Likewise.
72307         * locale/programs/localedef.h: Likewise.
72308         * locale/programs/simple-hash.c: Likewise.
72309         * nscd/nscd.h: Likewise.
72310         * nss/makedb.c: Likewise.
72311         * sysdeps/generic/ldconfig.h: Likewise.
72312         * locale/programs/localedef.c: Remove xmalloc prototype.
72313         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72315 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72317         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72318         appropriate.
72320 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72322         * math/Makefile (tests): Add tst-CMPLX.
72323         * math/tst-CMPLX.c: New file.
72325         * math/complex.h (CMPLXL): Fix typo.
72327         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72328         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72329         GLIBC_2.16.
72330         * debug/tst-chk1.c: Add poll and ppoll tests.
72331         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72332         * include/sys/poll.h: Add hidden proto for ppoll.
72333         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72334         * sysdeps/mach/hurd/ppoll.c: Likewise.
72335         * io/ppoll.c: Likewise.
72336         * debug/poll_chk.c: New file.
72337         * debug/ppoll_chk.c: New file.
72338         * include/bits/poll2.h: New file.
72339         * io/bits/poll2.h: New file.
72341         [BZ #1350]
72342         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72344         * configure.in: static is always set to yes.  Remove.
72345         * config.make.in: Don't set build-static.
72346         * Makeconfig: Remove use of build-static.
72347         * dlfcn/Makefile: Likewise.
72348         * elf/Makefile: Likewise.
72349         * math/Makefile: Likewise.
72350         * misc/Makefile: Likewise.
72351         * nptl/Makefile: Likewise.
72352         * sysdeps/mach/hurd/Makefile: Likewise.
72354         * configure.in: PWD_P is not used anymore.
72355         * config.make.in: Remove PWD_P entry.
72357         * configure.in: Remove last remnants of RANLIB.
72358         No need to check for signed size_t anymore.
72359         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72360         and IA-64.
72361         Remove __builtin_expect test because we require at least gcc 3.4.
72362         * aclocal.m4: Likewise.
72364         * wcsmbs/mbrtoc16.c: Implement using towc function.
72365         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72366         * wcsmbs/wcsmbsload.c: Likewise.
72367         * iconv/gconv_simple.c: Likewise.
72368         * iconv/gconv_int.h: Likewise.
72369         * iconv/gconv_builtin.h: Likewise.
72370         * iconv/iconv_prog.c: Remove CHAR16 handling.
72372         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72374         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72376         * configure.in: Remove --with-elf and --enable-bounded options.
72377         Dont set base_machine for ia64.  More non-ELF conditions removed.
72378         Remove testing and setting of leading underscore information.
72379         * config.make.in (build-bounded): Set to no.
72380         * config.h.in: Remove NO_UNDERSCORES entry.
72381         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72382         them.
72383         * csu/start.c: Remove !NO_UNDERSCORE code.
72384         * locale/localeinfo.h: Likewise.
72385         * sysdeps/generic/machine-gmon.h: Likewise.
72386         * sysdeps/generic/sysdep.h: Likewise.
72387         * sysdeps/i386/sysdep.h: Likewise.
72388         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72389         * sysdeps/mach/sysdep.h: Likewise.
72390         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72391         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72392         * sysdeps/sh/sysdep.h: Likewise.
72393         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72394         * sysdeps/unix/i386/sysdep.S: Likewise.
72395         * sysdeps/unix/sparc/start.c: Likewise.
72396         * sysdeps/unix/sparc/sysdep.S: Likewise.
72397         * sysdeps/unix/sparc/sysdep.h: Likewise.
72398         * sysdeps/unix/start.c: Likewise.
72399         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72400         * sysdeps/x86_64/sysdep.h: Likewise.
72402 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72404         [BZ #13553]
72405         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72406         for non-gcc.
72407         * argp/argp-fmtstream.h: Use const instead __const.
72408         * argp/argp.h: Likewise.
72409         * assert/assert.h: Likewise.
72410         * bits/fenv.h: Likewise.
72411         * bits/sched.h: Likewise.
72412         * bits/sigset.h: Likewise.
72413         * bits/sigthread.h: Likewise.
72414         * catgets/nl_types.h: Likewise.
72415         * conform/data/pthread.h-data: Likewise.
72416         * crypt/crypt-private.h: Likewise.
72417         * crypt/crypt.h: Likewise.
72418         * crypt/crypt_util.c: Likewise.
72419         * ctype/ctype.h: Likewise.
72420         * debug/execinfo.h: Likewise.
72421         * debug/mbsnrtowcs_chk.c: Likewise.
72422         * debug/mbsrtowcs_chk.c: Likewise.
72423         * debug/wcsnrtombs_chk.c: Likewise.
72424         * debug/wcsrtombs_chk.c: Likewise.
72425         * debug/wcstombs_chk.c: Likewise.
72426         * dirent/dirent.h: Likewise.
72427         * dlfcn/dlfcn.h: Likewise.
72428         * elf/neededtest4.c: Likewise.
72429         * grp/grp.h: Likewise.
72430         * gshadow/gshadow.h: Likewise.
72431         * iconv/gconv.h: Likewise.
72432         * iconv/gconv_int.h: Likewise.
72433         * iconv/gconv_simple.c: Likewise.
72434         * iconv/iconv.h: Likewise.
72435         * iconv/loop.c: Likewise.
72436         * iconv/skeleton.c: Likewise.
72437         * include/aio.h: Likewise.
72438         * include/aliases.h: Likewise.
72439         * include/argz.h: Likewise.
72440         * include/arpa/inet.h: Likewise.
72441         * include/assert.h: Likewise.
72442         * include/dirent.h: Likewise.
72443         * include/dlfcn.h: Likewise.
72444         * include/execinfo.h: Likewise.
72445         * include/fcntl.h: Likewise.
72446         * include/fenv.h: Likewise.
72447         * include/glob.h: Likewise.
72448         * include/grp.h: Likewise.
72449         * include/libintl.h: Likewise.
72450         * include/mntent.h: Likewise.
72451         * include/netdb.h: Likewise.
72452         * include/pwd.h: Likewise.
72453         * include/rpc/netdb.h: Likewise.
72454         * include/sched.h: Likewise.
72455         * include/search.h: Likewise.
72456         * include/shadow.h: Likewise.
72457         * include/signal.h: Likewise.
72458         * include/stdio.h: Likewise.
72459         * include/stdlib.h: Likewise.
72460         * include/string.h: Likewise.
72461         * include/sys/socket.h: Likewise.
72462         * include/sys/stat.h: Likewise.
72463         * include/sys/statfs.h: Likewise.
72464         * include/sys/statvfs.h: Likewise.
72465         * include/sys/syslog.h: Likewise.
72466         * include/sys/time.h: Likewise.
72467         * include/sys/uio.h: Likewise.
72468         * include/time.h: Likewise.
72469         * include/unistd.h: Likewise.
72470         * include/utmp.h: Likewise.
72471         * include/wchar.h: Likewise.
72472         * include/wctype.h: Likewise.
72473         * inet/aliases.h: Likewise.
72474         * inet/arpa/inet.h: Likewise.
72475         * inet/netinet/ether.h: Likewise.
72476         * inet/netinet/in.h: Likewise.
72477         * intl/libintl.h: Likewise.
72478         * io/bits/fcntl2.h: Likewise.
72479         * io/fcntl.h: Likewise.
72480         * io/ftw.h: Likewise.
72481         * io/sys/poll.h: Likewise.
72482         * io/sys/stat.h: Likewise.
72483         * io/sys/statfs.h: Likewise.
72484         * io/sys/statvfs.h: Likewise.
72485         * io/utime.h: Likewise.
72486         * libio/bits/stdio.h: Likewise.
72487         * libio/bits/stdio2.h: Likewise.
72488         * libio/libio.h: Likewise.
72489         * libio/libioP.h: Likewise.
72490         * libio/stdio.h: Likewise.
72491         * locale/lc-ctype.c: Likewise.
72492         * locale/locale.h: Likewise.
72493         * login/utmp.h: Likewise.
72494         * malloc/arena.c: Likewise.
72495         * malloc/malloc.c: Likewise.
72496         * malloc/malloc.h: Likewise.
72497         * malloc/mcheck.c: Likewise.
72498         * malloc/mtrace.c: Likewise.
72499         * math/bits/mathcalls.h: Likewise.
72500         * math/fenv.h: Likewise.
72501         * math/math_private.h: Likewise.
72502         * misc/bits/error.h: Likewise.
72503         * misc/bits/syslog.h: Likewise.
72504         * misc/err.h: Likewise.
72505         * misc/error.h: Likewise.
72506         * misc/fstab.h: Likewise.
72507         * misc/mntent.h: Likewise.
72508         * misc/regexp.h: Likewise.
72509         * misc/search.h: Likewise.
72510         * misc/sgtty.h: Likewise.
72511         * misc/sys/mman.h: Likewise.
72512         * misc/sys/syslog.h: Likewise.
72513         * misc/sys/uio.h: Likewise.
72514         * misc/sys/xattr.h: Likewise.
72515         * misc/ttyent.h: Likewise.
72516         * nis/rpcsvc/ypclnt.h: Likewise.
72517         * nss/nss.h: Likewise.
72518         * posix/bits/unistd.h: Likewise.
72519         * posix/fnmatch.h: Likewise.
72520         * posix/glob.h: Likewise.
72521         * posix/sched.h: Likewise.
72522         * posix/spawn.h: Likewise.
72523         * posix/sys/wait.h: Likewise.
72524         * posix/unistd.h: Likewise.
72525         * posix/wordexp.h: Likewise.
72526         * pwd/pwd.h: Likewise.
72527         * resolv/netdb.h: Likewise.
72528         * resource/sys/resource.h: Likewise.
72529         * rt/aio.h: Likewise.
72530         * rt/bits/mqueue2.h: Likewise.
72531         * rt/mqueue.h: Likewise.
72532         * shadow/shadow.h: Likewise.
72533         * signal/signal.h: Likewise.
72534         * socket/send.c: Likewise.
72535         * socket/sendto.c: Likewise.
72536         * socket/sys/socket.h: Likewise.
72537         * stdio-common/printf.h: Likewise.
72538         * stdlib/bits/stdlib.h: Likewise.
72539         * stdlib/fmtmsg.h: Likewise.
72540         * stdlib/monetary.h: Likewise.
72541         * stdlib/stdlib.h: Likewise.
72542         * stdlib/ucontext.h: Likewise.
72543         * streams/stropts.h: Likewise.
72544         * string/argz.h: Likewise.
72545         * string/bits/string2.h: Likewise.
72546         * string/string.h: Likewise.
72547         * string/strings.h: Likewise.
72548         * sunrpc/rpc/auth.h: Likewise.
72549         * sunrpc/rpc/auth_des.h: Likewise.
72550         * sunrpc/rpc/clnt.h: Likewise.
72551         * sunrpc/rpc/netdb.h: Likewise.
72552         * sunrpc/rpc/pmap_clnt.h: Likewise.
72553         * sunrpc/rpc/xdr.h: Likewise.
72554         * sysdeps/generic/inttypes.h: Likewise.
72555         * sysdeps/generic/net/if.h: Likewise.
72556         * sysdeps/generic/sys/swap.h: Likewise.
72557         * sysdeps/gnu/net/if.h: Likewise.
72558         * sysdeps/gnu/utmpx.h: Likewise.
72559         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72560         * sysdeps/i386/i486/bits/string.h: Likewise.
72561         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72562         * sysdeps/s390/bits/string.h: Likewise.
72563         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72564         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72565         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72566         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72567         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72568         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72569         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72570         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72571         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72572         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72573         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72574         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72575         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72576         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72577         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72578         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72579         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72580         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72581         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72582         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72583         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72584         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72585         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72586         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72587         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72588         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72589         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72590         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72591         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72592         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72593         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72594         * sysvipc/sys/ipc.h: Likewise.
72595         * sysvipc/sys/msg.h: Likewise.
72596         * sysvipc/sys/sem.h: Likewise.
72597         * sysvipc/sys/shm.h: Likewise.
72598         * termios/termios.h: Likewise.
72599         * time/sys/time.h: Likewise.
72600         * time/time.h: Likewise.
72601         * wcsmbs/bits/wchar2.h: Likewise.
72602         * wcsmbs/uchar.h: Likewise.
72603         * wcsmbs/wchar.h: Likewise.
72604         * wctype/wctype.h: Likewise.
72606         [BZ #13551]
72607         * Makeconfig: Remove all but ELF support including AIX support.
72608         * Makerules: Likewise.
72609         * config.h.in: Likewise.
72610         * config.make.in: Likewise.
72611         * configure: Likewise.
72612         * configure.in: Likewise.
72613         * csu/Makefile: Likewise.
72614         * csu/version.c: Likewise.
72615         * debug/Makefile: Likewise.
72616         * dlfcn/Makefile: Likewise.
72617         * elf/Makefile: Likewise.
72618         * extra-lib.mk: Likewise.
72619         * iconv/Makefile: Likewise.
72620         * include/libc-symbols.h: Likewise.
72621         * include/shlib-compat.h: Likewise.
72622         * resolv/Makefile: Likewise.
72623         * resolv/res_libc.c: Likewise.
72624         * rt/Makefile: Likewise.
72625         * sysdeps/i386/asm-syntax.h: Likewise.
72626         * sysdeps/i386/sysdep.h: Likewise.
72627         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72628         * sysdeps/mach/sysdep.h: Likewise.
72629         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72630         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72631         * sysdeps/s390/asm-syntax.h: Likewise.
72632         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72633         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72634         * sysdeps/sh/sysdep.h: Likewise.
72635         * sysdeps/unix/sparc/sysdep.h: Likewise.
72636         * sysdeps/wordsize-32/divdi3.c: Likewise.
72637         * sysdeps/x86_64/sysdep.h: Likewise.
72639         * argp/Versions: Remove _argp_unlock_xxx.
72641         [BZ #13559]
72642         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
72643         * abilist/libBrokenLocale.abilist: Likewise.
72644         * abilist/libanl.abilist: Likewise.
72645         * abilist/libc.abilist: Likewise.
72646         * abilist/libcrypt.abilist: Likewise.
72647         * abilist/libdl.abilist: Likewise.
72648         * abilist/libm.abilist: Likewise.
72649         * abilist/libnsl.abilist: Likewise.
72650         * abilist/libpthread.abilist: Likewise.
72651         * abilist/libresolv.abilist: Likewise.
72652         * abilist/librt.abilist: Likewise.
72653         * abilist/libthread_db.abilist: Likewise.
72654         * abilist/libutil.abilist: Likewise.
72655         * abilist/libnss_db.abilist: New file.
72657         * scripts/abilist.awk: Add support for indirect functions.
72659         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72661         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72663         * shlib-versions: Remove entries for ports architectures.
72665         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
72666         files in ports.
72667         * elf/stackguard-macros.h: Remove support for IA-64.
72668         * elf/tst-auditmod1.c: Likewise.
72669         * sysdeps/generic/ldsodefs.h: Likewise.
72671         * sysdeps/unix/sysv/linux/configure.in: Ports should define
72672         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72673         configure files.
72675         [BZ #13552]
72676         * configure.in: Remove --enable-omitfp support.
72677         * FAQ.in: Adjust.
72678         * config.make.in: Likewise.
72679         * Makeconfig: Likewise.
72680         * manual/install.texi: Likewise.
72682         In case anyone cares, the IA-64 architecture could move to ports.
72683         * sysdeps/ia64/*: Removed.
72684         * sysdeps/unix/sysv/linux/ia64/*: Removed.
72685         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72687         [BZ #13555]
72688         * configure.in: Remove entries for unsupported architectures.
72690         [BZ #13533]
72691         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72692         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
72693         routines.
72694         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72695         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72696         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
72697         fall back to using wcrtomb.
72698         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72699         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
72700         renaming.
72701         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72702         * wcsmbs/tst-c16c32-1.c: New file.
72704         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72705         local variable.
72707         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72709         * elf/tst-unique3.cc: Add explicit declaration of gets.
72710         * elf/tst-unique3lib.cc: Likewise.
72711         * elf/tst-unique3lib2.cc: Likewise.
72712         * elf/tst-unique4.cc: Likewise.
72714         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72716 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
72718         [BZ #13566]
72719         * assert/assert.h (static_assert): Don't define for C++.
72720         * libio/stdio.h (gets): Do declare for C++ <= C++11.
72721         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72723 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
72725         * iconv/loop.c (single loop): Fix assertion in storing of
72726         remaining bytes.
72728         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72730 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
72732         * posix/getconf.c: Update copyright year.
72733         * nss/getent.c: Likewise.
72734         * nss/makedb.c: Likewise.
72735         * iconv/iconvconfig.c: Likewise.
72736         * iconv/iconv_prog.c: Likewise.
72737         * elf/ldconfig.c: Likewise.
72738         * elf/pldd.c: Likewise.
72739         * elf/sotruss.ksh: Likewise.
72740         * catgets/gencat.c: Likewise.
72741         * csu/version.c: Likewise.
72742         * elf/ldd.bash.in: Likewise.
72743         * elf/sprof.c (print_version): Likewise.
72744         * locale/programs/locale.c: Likewise.
72745         * locale/programs/localedef.c: Likewise.
72746         * login/programs/pt_chown.c: Likewise.
72747         * nscd/nscd.c (print_version): Likewise.
72748         * debug/xtrace.sh: Likewise.
72749         * malloc/memusage.sh: Likewise.
72750         * malloc/mtrace.pl: Likewise.
72751         * debug/catchsegv.sh: Likewise.
72753 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
72755         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72756         pure attribute.
72758 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
72760         [BZ #13533]
72761         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72762         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72763         transformations.
72764         * iconv/gconv_int.h: Likewise.
72765         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72766         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72767         from libc for GLIBC_2.16.
72768         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72769         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72770         * wcsmbs/uchar.h: Really define mbstate_t.
72771         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72772         * wcsmbs/c16rtomb.c: New file.
72773         * wcsmbs/mbrtoc16.c: New file.
72774         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72775         for C/POSIX locale.
72776         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72777         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72779         * wcsmbs/wchar.h: Add missing __restrict.
72781 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72783         [BZ #13532]
72784         * time/Makefile (routines): Add timespec_get.
72785         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72786         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
72787         timespec for ISO C11.
72788         * time/timespec_get.c: New file.
72789         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72790         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72792         [BZ #13531]
72793         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72794         * stdlib/stdlib.h: Declare aligned_alloc.
72795         * Versions.def: Add GLIBC_2.16 for libc.
72796         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72798         [BZ 13527]
72799         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72800         ISO C11.
72802         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
72803         code.
72805         [BZ #13528]
72806         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
72808         [BZ #13529]
72809         * assert/assert.h (static_assert): Define.
72811         * version.h: Update for 2.16 development version.
72813         [BZ #13526]
72814         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72815         _ISOC11_SOURCE.
72817         * version.h (RELEASE): Bump for 2.15 release.
72818         * include/features.h (__GLIBC_MINOR__): Bump to 15.
72820         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72821         Patch by Marek Polacek <mpolacek@redhat.com>.
72823         * bits/byteswap.h: Protect long long constants with __extension__.
72824         * sysdeps/i386/bits/byteswap.h: Likewise.
72825         * sysdeps/ia64/bits/byteswap.h: Likewise.
72826         * sysdeps/s390/bits/byteswap.h: Likewise.
72827         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72829 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72831         [BZ #13540]
72832         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72833         destination buffer.
72834         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72836 2011-12-23  Marek Polacek  <polacek@redhat.com>
72838         * elf/dl-addr.c (determine_info): Add inline keyword.
72839         * elf/tst-auditmod4b.c (check_avx): Likewise.
72840         * elf/tst-auditmod6b.c (check_avx): Likewise.
72841         * elf/tst-auditmod6c.c (check_avx): Likewise.
72842         * elf/tst-auditmod7b.c (check_avx): Likewise.
72844 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72846         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72847         !__SSE_MATH__.
72849 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72851         [BZ #13540]
72852         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72853         processing for last bytes.
72855 2011-08-06  Bruno Haible  <bruno@clisp.org>
72857         [BZ #13061]
72858         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72859         U+0385, not to U+1FEE.
72861         [BZ #13062]
72862         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72863         entry for U+00A5 U+0301.
72865 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72867         [BZ #13166]
72868         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72869         buffer for the output is too small.
72871         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72872         optimization.
72874         [BZ #13185]
72875         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72876         SSE flags if possible.
72878 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72880         [BZ #13540]
72881         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72882         processing for last bytes.
72884 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
72886         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72887         (syscall-list-default-options, syscall-list-default-condition)
72888         (syscall-list-includes): Define.
72889         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72890         list of ABIs and options and #if conditions for each ABI.  Do not
72891         handle common syscalls between ABIs specially.
72892         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72893         Remove.
72894         (syscall-list-variants, syscall-list-32bit-options)
72895         (syscall-list-32bit-condition, syscall-list-64bit-options)
72896         (syscall-list-64bit-condition): Define.
72897         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72898         (syscall-list-variants, syscall-list-32bit-options)
72899         (syscall-list-32bit-condition, syscall-list-64bit-options)
72900         (syscall-list-64bit-condition): Define.
72901         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72902         Remove.
72903         (syscall-list-variants, syscall-list-32bit-options)
72904         (syscall-list-32bit-condition, syscall-list-64bit-options)
72905         (syscall-list-64bit-condition): Define.
72906         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72907         Remove.
72908         (syscall-list-variants, syscall-list-32bit-options)
72909         (syscall-list-32bit-condition, syscall-list-64bit-options)
72910         (syscall-list-64bit-condition): Define.
72912 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72914         * locale/iso-639.def: Add brx entry.
72916         [BZ #13328]
72917         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72918         Proposed by Mariusz_Cukr <marcukr@op.pl>.
72920         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72921         __feraiseexcept_renamed.
72923 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72925         [BZ #13538]
72926         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72927         EPOLLET with unsigned values.
72928         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72929         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72931         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72932         to large cancellation.
72933         * math/s_cacoshf.c: Likewise.
72934         * math/s_cacoshl.c: Likewise.
72936 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
72938         [BZ #13305]
72939         [BZ #12786]
72940         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72941         * math/s_cacoshf.c: Likewise.
72942         * math/s_cacoshl.c: Likewise.
72944 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72946         [BZ #13439]
72947         * iconv/gconv.h: Define __GCONV_SWAP.
72948         * iconvdata/unicode.c: The swap bit must be stored in __flags.
72949         * iconvdata/utf-16.c: Likewise.
72950         * iconvdata/utf-32.c: Likewise.
72952 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
72954         [BZ #13524]
72955         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72956         numerator after shifting it by one limb.
72958 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
72960         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72961         under [__USE_EXTERN_INLINES].
72963 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72965         [BZ #13446]
72966         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72968 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72970         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72971         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72972         optimized code.
72973         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72974         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72975         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
72976         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
72977         for strncasecmp/strncasecmp_l compilation.
72978         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
72979         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
72981 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
72983         [BZ #13484]
72984         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
72985         of __asm__.
72987 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72989         [BZ #13506]
72990         * time/tzfile.c (__tzfile_read): Check values from file header.
72992 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72994         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
72995         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
72996         * powerpc/powerpc32/dl-start.S: Likewise.
72997         * powerpc/powerpc32/elf/start.S: Likewise.
72998         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
72999         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73000         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73001         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73002         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73003         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73004         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73005         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73006         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73007         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73008         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73009         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73010         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73011         * powerpc/powerpc32/memset.S: Likewise.
73012         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73013         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73014         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73015         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73016         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73017         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73018         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73019         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73020         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73021         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73022         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73023         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73024         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73026 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73028         * math/libm-test.inc: Added more nearbyint tests.
73029         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73030         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73031         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73032         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73034 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73036         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73037         FD_CLOEXEC.
73039 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73041         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73042         Add wcscpy-ssse3 wcscpy-c.
73043         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73044         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73045         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73046         * sysdeps/x86_64/wcschr.S: New file.
73047         * sysdeps/x86_64/wcsrchr.S: New file.
73048         * string/test-strcmp.c: Remove checking of wcscmp function for
73049         wrong alignments.
73050         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73051         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73052         wcsrchr-sse2 wcsrchr-c.
73053         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73054         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73055         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73056         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73057         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73058         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73059         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73060         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73061         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73062         * wcsmbc/wcschr.c (WCSCHR): New macro.
73064 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73066         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73067         * wcsmbs/test-wcsrchr.c: New file.
73068         * string/test-strrchr.c: Add wcsrchr support.
73069         (WIDE): New macro.
73070         * wcsmbs/test-wcscpy.c: New file.
73071         * string/test-strcpy.c: Add wcscpy support.
73072         (WIDE): New macro.
73074 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73076         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73077         the inner loop.
73079 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73081         [BZ #13472]
73082         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73084 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73086         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73087         Minor optimizations.
73089         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73090         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73091         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73093 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73095         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73096         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73097         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73098         for gcc to avoid warnings.
73099         * inet/Makefile (tests): Add tst-checks.
73100         * inet/tst-checks.c: New file.
73102         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73103         warning.
73105         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73106         __wmemcmp_sse2.
73108         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73109         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73111         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73113 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73115         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73116         problem.
73118         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73120 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73122         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73123         conditional on GCC version.
73124         (__arch_compare_and_exchange_val_8_acq)
73125         (__arch_compare_and_exchange_val_16_acq)
73126         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73127         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73128         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73130 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73132         * sysdeps/sh/backtrace.c: New file.
73134 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73136         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73137         parenthesis.
73139 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73141         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73142         falling back to utime.
73144 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73146         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73147         expectations for float.
73149 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73151         * locale/weight.h (findidx): Add parameter len.
73152         * locale/weightwc.h (findidx): Likewise.
73153         * posix/fnmatch_loop.c (FCT): Adjust caller.
73154         * posix/regcomp.c (build_equiv_class): Likewise.
73155         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73156         * posix/regexec.c (check_node_accept_bytes): Likewise.
73157         * string/strcoll_l.c (STRCOLL): Likewise.
73158         * string/strxfrm_l.c (STRXFRM): Likewise.
73160 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73162         * Makefile.in: Remove CVSOPT handling.
73163         * configure.in: Remove use of AC_REVISION.
73164         * iconvdata/Makefile (distribute): No need to filter out CVS.
73165         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73166         handling.
73168 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73170         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73171         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73172         [USE_AS_STRNCASECMP_L]: Likewise.
73173         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73174         NO_TLS_DIRECT_SEG_REFS.
73175         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73176         Fix argument offsets for non-PIC.
73177         [USE_AS_STRNCASECMP_L]: Likewise.
73178         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73179         NO_TLS_DIRECT_SEG_REFS.
73181 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73183         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73184         O_CLOEXEC.
73185         * locale/loadlocale.c (_nl_load_locale): Likewise.
73187 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73189         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73190         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73191         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73192         (SYSCALL_GETTIME): Set errno on error.
73194         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73195         count references to noai6ai_cached.
73197 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73199         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73201         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73202         FD_CLOEXEC for /proc/self/maps.
73204         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73205         FD_CLOEXEC for /proc/meminfo.
73207         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73208         gai.conf.
73210         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73211         FD_CLOEXEC for given file.
73213         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73215         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73216         FD_CLOEXEC for /etc/hosts.
73217         (_gethtent): Likewise.
73219         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73221         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73222         cancellation and set FD_CLOEXEC for /etc/netgroup.
73224         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73225         reading /etc/publickey.
73227         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73228         allow cancellation when reading /etc/group.
73230         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73231         cancellation.
73232         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73234         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73235         when using data file.
73237         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73239         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73240         (write_nis_obj): Use "c" and "e" in fopen.
73242         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73244         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73246         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73248         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73250         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73251         locale.alias.
73253         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73255         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73257         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73259         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73260         file parsing and set FD_CLOEXEC.
73262 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73264         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73266 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73268         * malloc/arena.c (arena_get2): Don't call reused_arena when
73269         _int_new_arena failed.
73271 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73273         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73274         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73275         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73276         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73277         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73278         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73279         to compile strcasecmp and strncasecmp.
73280         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73281         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73283         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73285 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73287         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73288         locale-defines.sym to gen-as-const-headers.
73289         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73290         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73292         to compile strcasecmp and strncasecmp.
73293         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73294         strcasecmp_l and strncasecmp_l.
73295         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73296         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73297         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73298         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73299         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73300         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73301         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73302         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73303         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73304         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73305         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73307 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73309         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73310         result of SYSDEP_GETTIME_CPU to retval.
73311         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73312         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73314         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73315         variable.
73317         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73318         mantissa words.
73319         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73321         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73322         from unused variable.
73324         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73325         DWARF definitions.
73326         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73327         for assembling.
73329         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73330         over namespaces.
73332         * sunrpc/rpc_prot.c (rejected): Fix case value.
73334         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73335         unsigned long long int to avoid warnings in shift.
73337         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73338         of use of trans.
73339         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73340         variable tmp.
73342         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73343         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73344         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73346         * nis/nis_table.c (nis_list): Use variable of correct type for
73347         result of __follow_path call.
73349 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73351         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73352         of math functions ceil, trunc, floor, round, and sqrt, when
73353         avaliable on the platform.
73354         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73355         name clash.
73356         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73357         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73358         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73360 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73362         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73363         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73365 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73367         * include/unistd.h: Fix __readlink return type.
73368         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73370 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73372         * stdlib/ucontext.h: Undo last change for makecontext.
73374 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73376         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73378         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73379         * setjmp/setjmp.h: Mark functions as non-leaf.
73380         * setjmp/bits/setjmp2.h: Likewise.
73381         * stdlib/ucontext.h: Likewise.
73383 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73385         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73386         (reused_arena): Don't check arena limit.
73387         (arena_get2): Atomically check arena limit.
73389 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73391         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73392         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73394         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73395         instructions.
73397 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73399         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73400         handler when locking.
73402         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73403         Fix size of allocated buffer.
73405 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73407         [BZ #10103]
73408         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73409         declarations for long double functions.
73410         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73412         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73414 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73416         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73417         installed.
73419         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73420         is disabled.
73422 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73424         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73426 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73428         * include/alloca.h (stackinfo_alloca_round): Define.
73429         (extend_alloca): Use it.
73430         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73431         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73432         here.
73434         * scripts/check-local-headers.sh: Ignore libaudit.h.
73436         * nscd/Makefile (extra-objs): Make recursively expanded.
73438 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73440         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73441         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73443         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73444         * posix/tst-rfc3484-2.c: Likewise.
73445         * posix/tst-rfc3484-3.c: Likewise.
73447         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73448         process_vm_writev.
73449         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73450         process_vm_writev.
73451         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73452         process_vm_writev from libc using GLIBC_2.15 version.
73454         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73456 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73458         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73459         stack usage.
73461 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73463         [BZ #13367]
73464         * nss/getent.c (initgroups_keys): Show error message in case no group
73465         names are given.
73467         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73468         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73469         __bump_nl_timestamp.
73470         * nscd/connections (nscd_init): When host database is served open
73471         netlink socket and request notification about configuration changes.
73472         (main_loop_poll): Track netlink file descriptor and bump timestamp
73473         in case data becomes available.
73474         (main_loop_epoll): Likewise.
73475         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73476         (database_pers_head): Add extra_data fileds.
73477         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73478         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73479         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73480         Adjust caller.
73481         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73482         in6ai data, call __free_in6ai.
73483         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73484         Add -DHAVE_NETLINK.
73485         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73486         interface information.  Reuse previous data if netlink timestamp
73487         is not changed.
73488         (__bump_nl_timestamp): New function.
73489         (__free_in6ai): New function.
73491 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73493         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73494         close_not_cancel_no_status here.
73495         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73497 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73499         [BZ #13276]
73500         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73501         return value.
73503         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73504         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73505         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73507 2011-07-03  Andreas Jaeger  <aj@suse.de>
73509         [BZ #10709]
73510         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73511         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73512         * math/libm-test.inc (sin_test): Add test case.
73514 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73516         [BZ #13337]
73517         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73518         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73520         * elf/chroot_canon.c (chroot_canon): Cleanups.
73522         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73524         [BZ #13335]
73525         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73526         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73528         * string/test-strchr.c: Make usable for strchrnul testing.
73529         * string/test-strchrnul.c: New file.
73530         * string/Makefile (strop-tests): Add strchrnul.
73532         * po/it.po: Update from translation team.
73533         * po/es.po: Likewise.
73535 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
73537         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73538         the three constants needed as parameters.  Drop the others.
73539         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73540         __m128i_strloadu_tolower.
73541         Create and initialize variable zero and use it in all the places
73542         where _mm_setzero_si128 was used.
73544         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73545         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73546         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73547         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73548         anymore.
73549         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73550         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73551         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73552         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73553         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73554         __mpranred, __mptan.
73555         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73556         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73557         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73558         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73559         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73560         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73561         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73562         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73563         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73565 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73567         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73568         redefine if SHARED.
73569         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73571         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73572         wide char related routines to wcsmbs subdir.
73574 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73576         [BZ #13344]
73577         * misc/sys/cdefs.h (__THROWNL): Define.
73578         * posix/unistd.h: Use __THREADNL instead of __THREAD
73579         for memory synchronization functions.
73581 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73583         [BZ #13349]
73584         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73585         doesn't exist.
73586         * manual/stdio.texi (Obstack Streams): Node removed.
73588 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73590         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73591         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73592         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73594         * math/math_private.h (math_force_eval): Allow non-addressable
73595         arguments.
73596         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73598 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73600         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73601         file is not needed.
73603         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73604         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73605         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73606         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73607         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73608         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73609         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73610         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73611         Add AVX variants.
73612         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73613         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73614         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73615         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73616         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73617         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73618         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73619         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73620         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73621         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73622         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73623         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73624         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73625         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73626         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73627         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73628         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73629         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73630         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73632         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73633         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
73635         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73636         place.  Use VEX encoding when compiling for AVX.
73638 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73640         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73641         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73643         * string/test-strchr.c (do_test): Don't generate NUL bytes.
73645 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73647         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73648         useless if() expression.
73649         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73650         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73651         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73652         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73653         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73654         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73655         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73656         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73657         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73658         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73659         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73660         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73661         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73662         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73663         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73664         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73665         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73666         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73667         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73669         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73671 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73673         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73674         condition.
73675         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73677 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73679         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73680         .text section.  Avoid duplicate constants.
73681         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73682         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73683         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73684         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73685         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73686         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73687         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73688         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73689         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73690         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73691         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73692         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73693         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73694         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73695         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73696         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73697         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73698         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73699         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73700         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73701         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73702         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73703         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73704         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73705         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73706         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73707         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73708         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73709         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73710         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73711         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73712         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73713         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73714         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73715         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73716         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73717         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73718         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73719         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73720         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73721         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73722         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73723         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73724         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73725         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73727 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
73729         * sysdeps/x86_64/dla.h: Move to ...
73730         * sysdeps/x86_64/fpu/dla.h: ...here.
73731         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73732         situations.  Use __builtin_fma only for gcc 4.6 and up.
73734         * config.make.in: Add have-mfma4 entry.
73735         * configure.in: Substitute libc_cv_cc_fma4.
73736         * math/Makefile (dbl-only-routines): Add sincostab.
73737         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73738         Use __sincostab not sincos.
73739         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73740         name is a macro.
73741         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73742         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73743         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73744         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
73745         using __copysign.
73746         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
73747         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
73748         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73749         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73750         and __inv.
73751         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73752         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73753         __copysign.
73754         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
73755         define aliases when function name is a macro.
73756         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73757         sysdeps/ieee754/dbl-64/sincos.tbl.
73758         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73759         fma4-enabled routines.
73760         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73761         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73762         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73763         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73764         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73765         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73766         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73767         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73768         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73769         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73770         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73771         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73772         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73773         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73774         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73775         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73776         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73777         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73778         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73779         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73780         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73781         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73782         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73783         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73784         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73785         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73786         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73787         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73788         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73789         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73791         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73792         rename.
73793         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73794         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73796         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73797         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73798         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73799         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73800         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73802 2011-10-24  Andreas Schwab  <schwab@redhat.com>
73804         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
73806 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73808         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
73810         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
73811         prediction.
73812         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73814         * string/strnlen.c: Don't define STRNLEN, reverse logic.
73815         Remove unused variable magic_bits.
73816         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73818         * string/strnlen.c: Define and use STRNLEN macro.
73819         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73820         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73821         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73822         * wcsmbs/wcslen.c: Define and use WCSLEN.
73823         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73824         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73825         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73826         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73827         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73828         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73829         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73831 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73834         strnlen-sse2-no-bsf.
73835         Rename strlen-no-bsf to strlen-sse2-no-bsf.
73836         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73837         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73838         Add strnlen support.
73839         (USE_AS_STRNLEN): New macro.
73840         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73841         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73842         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73843         * sysdeps/x86_64/wcslen.S: New file.
73845 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
73847         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73848         XMM-moves are used for copying on small sizes.
73850 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73852         * wcsmbs/Makefile (strop-tests): Add wcschr.
73853         * wcsmbs/test-wcschr.c: New file.
73854         * string/test-strchr.c: Update.
73855         Add wcschr support.
73856         (WIDE): New macro.
73858 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73860         * wcsmbs/Makefile (strop-tests): Add wcslen.
73861         * wcsmbs/test-wcslen.c: New file.
73862         * string/test-strlen.c: Update.
73863         Add wcslen support.
73864         (WIDE): New macro.
73866 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73868         * po/it.po: Update from translation team.
73870 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73872         * sysdeps/x86_64/wcscmp.S: Update.
73873         Fix wrong comparison semantics.
73874         wcscmp shall use signed comparison not unsigned.
73875         Don't use substraction to avoid overflow bug.
73876         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73877         * wcsmbc/wcscmp.c: Likewise.
73878         * string/test-strcmp.c: Likewise.
73879         Add new tests to check cases with negative values.
73881 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73883         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73884         * sysdeps/x86_64/dla.h: ...here.  New file.
73885         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
73886         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73887         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73888         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73889         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73890         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73891         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73892         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73893         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73895 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
73897         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73898         __ynl_finite aliases.
73900 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73904         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73905         define DLA_FMA.
73906         [DLA_FMA] (EMULV): Use DLA_FMA.
73907         [DLA_FMA] (MUL12): Use EMULV.
73908         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73909         that are not needed.
73910         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73911         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73912         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73913         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73914         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73915         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73916         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73918 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
73920         * math/s_nan.c: Undef __nan.
73921         * math/s_nanf.c: Undef __nanf.
73922         * math/s_nanl.c: Undef __nanl.
73923         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73924         "math_private.h".
73926 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73928         * math/s_catan.c: Add branch predictions.
73929         * math/s_catanf.c: Likewise.
73930         * math/s_catanh.c: Likewise.
73931         * math/s_catanhf.c: Likewise.
73932         * math/s_catanhl.c: Likewise.
73933         * math/s_catanl.c: Likewise.
73934         * math/s_cexp.c: Likewise.
73935         * math/s_cexpf.c: Likewise.
73936         * math/s_cexpl.c: Likewise.
73937         * math/s_clog.c: Likewise.
73938         * math/s_clog10.c: Likewise.
73939         * math/s_clog10f.c: Likewise.
73940         * math/s_clog10l.c: Likewise.
73941         * math/s_clogf.c: Likewise.
73942         * math/s_clogl.c: Likewise.
73943         * math/s_csqrt.c: Likewise.
73944         * math/s_csqrtf.c: Likewise.
73945         * math/s_csqrtl.c: Likewise.
73946         * math/s_ctanf.c: Likewise.
73947         * math/s_ctanh.c: Likewise.
73948         * math/s_ctanhf.c: Likewise.
73949         * math/s_ctanhl.c: Likewise.
73950         * math/s_ctanl.c: Likewise.
73952         * math/math_private.h: Define __nan, __nanf, __nanl.
73953         * math/s_cacosh.c: Include <math_private.h>.
73954         * math/s_cacoshl.c: Likewise.
73955         * math/s_casinh.c: Likewise.
73956         * math/s_casinhf.c: Likewise.
73957         * math/s_casinhl.c: Likewise.
73958         * math/s_ccos.c: Rely entire on ccosh.
73959         * math/s_ccosf.c: Rely entire on ccoshf.
73960         * math/s_ccosl.c: Rely entirely on ccoshl.
73961         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
73962         Remove tests for FE_INVALID.
73963         * math/s_ccoshf.c: Likewise.
73964         * math/s_ccoshl.c: Likewise.
73965         * math/s_csin.c: Likewise.
73966         * math/s_csinf.c: Likewise.
73967         * math/s_csinh.c Likewise.
73968         * math/s_csinhf.c: Likewise.
73969         * math/s_csinhl.c: Likewise.
73970         * math/s_csinl.c: Likewise.
73971         * math/s_ctan.c: Likewise.
73972         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73973         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73974         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
73976 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
73978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
73979         compilation problems.
73981         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
73982         __builtin_expect.
73984 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
73986         * sysdeps/i386/configure.in: Test for -mfma4 option.
73987         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
73988         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
73989         COMMON_CPUID_INDEX_80000001.
73990         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
73991         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
73992         use it if FMA3 is not supported.
73993         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
73995         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
73996         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73998 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74000         [BZ #12892]
74001         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74002         it would create a cycle with a link time dependency.
74004 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74006         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74007         instruction.
74008         * string/Makefile (strop-tests): Add rawmemchr.
74009         * string/test-rawmemchr.c: New file.
74011         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74012         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74013         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74014         when compiling str{,n}casecmp and when AVX is available.  Hook up
74015         new optimized code in initializers.
74017 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74019         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74020         __feraiseexcept instead of feraiseexcept.
74022 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74024         * math/math_private.h: Define defaults for libc_fetestexcept and
74025         libc_feupdateenv.
74026         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74027         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74028         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74029         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74030         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74031         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74032         libc_fetestexcept and libc_feupdateenv.
74034         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74035         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74036         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74037         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74038         libc_feholdexcept_setround.
74040         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74041         Add s_nearbyint-c and s_nearbyintf-c.
74042         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74043         nearbyintf inlines.
74044         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74045         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74046         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74047         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74049         * math/math_private.h: Define defaults for libc_fegetround,
74050         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74051         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74052         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74053         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74054         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74055         standard functions.
74056         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74057         Remove comments and hacks for old compiler versions.
74058         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74059         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74060         libc_feholdexceptl.
74062 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74064         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74065         (__feraiseexcept_renamed): Add __NTH.
74066         (feraiseexcept): Add __NTH.  Rename local variables to fix
74067         namespace violations.
74069 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74071         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74073         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74075         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74076         recently added interfaces.
74077         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74079         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74080         about macro parameter expansion.
74082         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74083         __NO_MATH_INLINES is defined.  Cleanups.
74085         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74086         and __floorf is target has SSE4.1.
74087         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74088         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74089         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74090         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74092         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74093         name.
74094         (floorf): Likewise.
74096         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74098 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74100         * misc/sys/cdefs.h: Fix last change.
74102         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74103         database lookup.
74105 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74107         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74109         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74110         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74111         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74112         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74113         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74114         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74115         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74116         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74117         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74118         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74119         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74120         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74121         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74122         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74123         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74124         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74125         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74126         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74127         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74128         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74129         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74130         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74132         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74133         ceil, ceilf, floor, floorf.
74135         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74136         Perform IRELATIVE relocations last.
74138         * elf/do-rel.h: Add another parameter nrelative, replacing the
74139         local variable with the same name.  Change name of the function
74140         to end in Rel or Rela (uppercase).
74141         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74142         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74143         elf_dynamic_do_##reloc function.
74145 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74147         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74148         is sufficient, at least on modern CPUs.
74150         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74152         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74153         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74155         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74156         __expl_finite.
74157         * math/bits/math-finite.h: Add entries for exp.
74158         * math/e_expl.c: Add __*_finite alias.
74159         * sysdeps/i386/fpu/e_exp.S: Likewise.
74160         * sysdeps/i386/fpu/e_expf.S: Likewise.
74161         * sysdeps/i386/fpu/e_expl.c: Likewise.
74162         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74163         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74164         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74165         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74166         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74167         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74168         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74170         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74171         is sufficient, at least on modern CPUs.
74173         * ctype/ctype-info.c (__ctype_init): Define.
74174         * include/ctype.h (__ctype_init): Declare.
74175         (__ctype_b_loc): The variable is always initialized.
74176         (__ctype_toupper_loc): Likewise.
74177         (__ctype_tolower_loc): Likewise.
74178         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74179         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74181 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74183         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74185         * configure.in: Also look in $cxxmachine/include for C++ system
74186         headers.
74188 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74190         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74191         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74192         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74193         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74194         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74195         (USE_AS_WMEMCMP): New macro.
74196         Fixing indents.
74197         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74198         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74199         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74200         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74201         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74202         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74203         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74204         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74205         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74206         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74207         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74208         (USE_AS_WMEMCMP): New macro.
74209         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74210         * sysdeps/string/test-memcmp.c: Update.
74211         Fix simple_wmemcmp.
74212         Add new tests.
74213         * wcsmbs/wmemcmp.c: Update.
74214         (WMEMCMP): New macro.
74215         Fix overflow bug.
74217 2011-10-12  Andreas Jaeger  <aj@suse.de>
74219         [BZ #13268]
74220         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74222 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74224         * libio/iofwide.c (do_length): Avoid warning.
74226         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74228 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74230         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74232         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74233         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74234         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74235         * sysdeps/i386/i686/fpu/e_log.S: New file.
74236         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74237         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74239         * ctype/ctype.h: Add support for inlined isXXX functions when
74240         compiling C++ code.
74242 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74244         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74246         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74248 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74250         [BZ #13291]
74251         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74253 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74255         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74256         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74257         feraiseexcept.
74259         * sysdeps/x86_64/memrchr.S: Check for zero size.
74261         * string/stratcliff.c: Add memrchr tests.
74263 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74265         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74266         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74267         rawmemchr-sse2 rawmemchr-sse2-bsf.
74268         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74269         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74270         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74271         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74272         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74273         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74274         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74275         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74276         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74277         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74278         * string/memrchr.c (MEMRCHR): New macro.
74280 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74282         Add integration with gcc's -ffinite-math-only and optimize wrapper
74283         functions in libm.
74284         * Versions.def: Define GLIBC_2.15 version for libm.
74285         * math/Makefile (headers): Add bits/math-finite.h.
74286         * math/bits/math-finite.h: New file.
74287         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74288         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74289         * math/e_acoshl.c: Add __*_finite alias.
74290         * math/e_acosl.c: Likewise.
74291         * math/e_asinl.c: Likewise.
74292         * math/e_atan2l.c: Likewise.
74293         * math/e_atanhl.c: Likewise.
74294         * math/e_coshl.c: Likewise.
74295         * math/e_exp10.c: Likewise.
74296         * math/e_exp10f.c: Likewise.
74297         * math/e_exp10l.c: Likewise.
74298         * math/e_exp2l.c: Likewise.
74299         * math/e_fmodl.c: Likewise.
74300         * math/e_gammal_r.c: Likewise.
74301         * math/e_hypotl.c: Likewise.
74302         * math/e_j0l.c: Likewise.
74303         * math/e_j1l.c: Likewise.
74304         * math/e_jnl.c: Likewise.
74305         * math/e_lgammal_r.c: Likewise.
74306         * math/e_log10l.c: Likewise.
74307         * math/e_log2l.c: Likewise.
74308         * math/e_logl.c: Likewise.
74309         * math/e_powl.c: Likewise.
74310         * math/e_sinhl.c: Likewise.
74311         * math/e_sqrtl.c: Likewise.
74312         * math/e_scalb.c: Completely rewritten and optimized.
74313         * math/e_scalbf.c: Likewise.
74314         * math/e_scalbl.c: Likewise.
74315         * math/w_acos.c: Likewise.
74316         * math/w_acosf.c: Likewise.
74317         * math/w_acosl.c: Likewise.
74318         * math/w_acosh.c: Likewise.
74319         * math/w_acoshf.c: Likewise.
74320         * math/w_acoshl.c: Likewise.
74321         * math/w_asin.c: Likewise.
74322         * math/w_asinf.c: Likewise.
74323         * math/w_asinl.c: Likewise.
74324         * math/w_atan2.c: Likewise.
74325         * math/w_atan2f.c: Likewise.
74326         * math/w_atan2l.c: Likewise.
74327         * math/w_atanh.c: Likewise.
74328         * math/w_atanhf.c: Likewise.
74329         * math/w_atanhl.c: Likewise.
74330         * math/w_exp10.c: Likewise.
74331         * math/w_exp10f.c: Likewise.
74332         * math/w_exp10l.c: Likewise.
74333         * math/w_fmod.c: Likewise.
74334         * math/w_fmodf.c: Likewise.
74335         * math/w_fmodl.c: Likewise.
74336         * math/w_j0.c: Likewise.
74337         * math/w_j0f.c: Likewise.
74338         * math/w_j0l.c: Likewise.
74339         * math/w_j1.c: Likewise.
74340         * math/w_j1f.c: Likewise.
74341         * math/w_j1l.c: Likewise.
74342         * math/w_jn.c: Likewise.
74343         * math/w_jnf.c: Likewise.
74344         * math/w_log.c: Likewise.
74345         * math/w_logf.c: Likewise.
74346         * math/w_logl.c: Likewise.
74347         * math/w_log10.c: Likewise.
74348         * math/w_log10f.c: Likewise.
74349         * math/w_log10l.c: Likewise.
74350         * math/w_log2.c: Likewise.
74351         * math/w_log2f.c: Likewise.
74352         * math/w_log2l.c: Likewise.
74353         * math/w_pow.c: Likewise.
74354         * math/w_powf.c: Likewise.
74355         * math/w_powl.c: Likewise.
74356         * math/w_remainder.c: Likewise.
74357         * math/w_remainderf.c: Likewise.
74358         * math/w_remainderl.c: Likewise.
74359         * math/w_scalb.c: Likewise.
74360         * math/w_scalbf.c: Likewise.
74361         * math/w_scalbl.c: Likewise.
74362         * math/w_sqrt.c: Likewise.
74363         * math/w_sqrtf.c: Likewise.
74364         * math/w_sqrtl.c: Likewise.
74365         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74366         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74367         used.
74368         * math/math_private.h: Declare __kernel_standard_f.
74369         * math/w_cosh.c: Remove cruft and optimize a bit.
74370         * math/w_coshf.c: Likewise.
74371         * math/w_coshl.c: Likewise.
74372         * math/w_exp2.c: Likewise.
74373         * math/w_exp2f.c: Likewise.
74374         * math/w_exp2l.c: Likewise.
74375         * math/w_hypot.c: Likewise.
74376         * math/w_hypotf.c: Likewise.
74377         * math/w_hypotl.c: Likewise.
74378         * math/w_lgamma.c: Likewise.
74379         * math/w_lgamma_r.c: Likewise.
74380         * math/w_lgammaf.c: Likewise.
74381         * math/w_lgammaf_r.c: Likewise.
74382         * math/w_lgammal.c: Likewise.
74383         * math/w_lgammal_r.c: Likewise.
74384         * math/w_sinh.c: Likewise.
74385         * math/w_sinhf.c: Likewise.
74386         * math/w_sinhl.c: Likewise.
74387         * math/w_tgamma.c: Likewise.
74388         * math/w_tgammaf.c: Likewise.
74389         * math/w_tgammal.c: Likewise.
74390         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74391         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74392         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74393         Minor optimizations.  Pretty printing.  Remove cruft.
74394         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74395         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74396         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74397         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74398         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74399         * sysdeps/i386/fpu/e_asin.S: Likewise.
74400         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74401         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74402         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74403         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74404         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74405         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74406         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74407         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74408         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74409         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74410         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74411         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74412         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74413         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74414         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74415         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74416         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74417         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74418         * sysdeps/i386/fpu/e_log.S: Likewise.
74419         * sysdeps/i386/fpu/e_log10.S: Likewise.
74420         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74421         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74422         * sysdeps/i386/fpu/e_log2.S: Likewise.
74423         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74424         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74425         * sysdeps/i386/fpu/e_logf.S: Likewise.
74426         * sysdeps/i386/fpu/e_logl.S: Likewise.
74427         * sysdeps/i386/fpu/e_pow.S: Likewise.
74428         * sysdeps/i386/fpu/e_powf.S: Likewise.
74429         * sysdeps/i386/fpu/e_powl.S: Likewise.
74430         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74431         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74432         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74433         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74434         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74435         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74436         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74437         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74438         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74439         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74440         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74441         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74442         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74443         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74444         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74445         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74446         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74447         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74448         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74449         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74450         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74451         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74452         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74453         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74454         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74455         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74456         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74457         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74458         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74459         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74460         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74461         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74462         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74463         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74464         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74465         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74466         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74467         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74468         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74469         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74470         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74471         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74472         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74473         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74474         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74475         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74476         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74477         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74478         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74479         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74480         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74481         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74482         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74483         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74484         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74485         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74486         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74487         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74488         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74489         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74490         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74491         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74492         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74493         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74494         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74495         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74496         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74497         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74498         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74499         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74500         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74501         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74502         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74503         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74504         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74505         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74506         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74507         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74508         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74509         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74510         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74511         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74512         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74513         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74514         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74515         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74516         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74517         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74518         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74519         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74520         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74521         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74522         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74523         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74524         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74525         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74526         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74527         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74528         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74529         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74530         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74531         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74532         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74533         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74534         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74535         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74536         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74537         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74538         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74539         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74540         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74541         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74542         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74543         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74544         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74545         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74546         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74547         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74548         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74549         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74550         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74551         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74552         (__isnanf): Likewise.
74553         (__isinf_ns): Likewise.
74554         (__isinf_nsf): Likewise.
74555         (__finite): Likewise.
74556         (__finitef): Likewise.
74557         (__ieee754_sqrt): Define as macro.
74558         (__ieee754_sqrtf): Define as macro.
74559         (__ieee754_sqrtl): Define as macro.
74560         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74561         inlined copy.
74562         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74563         __FINITE_MATH_ONLY__ consistent.
74564         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74566 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74568         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74569         of rawmemchr.
74571         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74573 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74575         * po/ja.po: Update from translation team.
74577 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74579         * locale/programs/locarchive.c (prepare_address_space): New function.
74580         (create_archive, enlarge_archive, open_archive): Use it.
74582         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74583         inside [SHARED], where it is used.
74585         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74587         * nss/getent.c (netgroup_keys): Remove unused variable.
74588         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74590 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74592         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74593         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74594         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74595         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74596         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74597         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74598         * math/Makefile (libm-calls): Add s_isinf_ns.
74599         * math/divtc3.c: Use __isinf_nsl instead of isinf.
74600         * math/multc3.c: Likewise.
74601         * math/s_casin.c: Likewise.
74602         * math/s_casinf.c: Likewise.
74603         * math/s_casinl.c: Likewise.
74604         * math/s_ccos.c: Likewise.
74605         * math/s_ccosf.c: Likewise.
74606         * math/s_ccosl.c: Likewise.
74607         * math/s_ctan.c: Likewise.
74608         * math/s_ctanf.c: Likewise.
74609         * math/s_ctanh.c: Likewise.
74610         * math/s_ctanhf.c: Likewise.
74611         * math/s_ctanhl.c: Likewise.
74612         * math/s_ctanl.c: Likewise.
74613         * math/w_fmod.c: Likewise.
74614         * math/w_fmodf.c: Likewise.
74615         * math/w_fmodl.c: Likewise.
74616         * math/w_remainder.c: Likewise.
74617         * math/w_remainderf.c: Likewise.
74618         * math/w_remainderl.c: Likewise.
74619         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74620         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74621         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74622         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74623         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74624         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74625         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74626         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74628         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74629         of the number.
74630         * stdio-common/printf_fphex.c: Likewise.
74631         * stdio-common/printf_size.c: Likewise.
74633         * math/e_exp10.c: Include math_private.h using <...> not "...".
74634         * math/e_exp10f.c: Likewise.
74635         * math/e_exp10l.c: Likewise.
74636         * math/e_exp2l.c: Likewise.
74637         * math/e_j0l.c: Likewise.
74638         * math/e_j1l.c: Likewise.
74639         * math/e_jnl.c: Likewise.
74640         * math/e_lgammal_r.c: Likewise.
74641         * math/e_rem_pio2l.c: Likewise.
74642         * math/e_scalb.c: Likewise.
74643         * math/e_scalbf.c: Likewise.
74644         * math/e_scalbl.c: Likewise.
74645         * math/k_cosl.c: Likewise.
74646         * math/k_sinl.c: Likewise.
74647         * math/k_tanl.c: Likewise.
74648         * math/s_cacoshf.c: Likewise.
74649         * math/s_catan.c: Likewise.
74650         * math/s_catanf.c: Likewise.
74651         * math/s_catanh.c: Likewise.
74652         * math/s_catanhf.c: Likewise.
74653         * math/s_catanhl.c: Likewise.
74654         * math/s_catanl.c: Likewise.
74655         * math/s_ccosh.c: Likewise.
74656         * math/s_ccoshf.c: Likewise.
74657         * math/s_ccoshl.c: Likewise.
74658         * math/s_cexp.c: Likewise.
74659         * math/s_cexpf.c: Likewise.
74660         * math/s_cexpl.c: Likewise.
74661         * math/s_clog.c: Likewise.
74662         * math/s_clog10.c: Likewise.
74663         * math/s_clog10f.c: Likewise.
74664         * math/s_clog10l.c: Likewise.
74665         * math/s_clogf.c: Likewise.
74666         * math/s_clogl.c: Likewise.
74667         * math/s_csin.c: Likewise.
74668         * math/s_csinf.c: Likewise.
74669         * math/s_csinh.c: Likewise.
74670         * math/s_csinhf.c: Likewise.
74671         * math/s_csinhl.c: Likewise.
74672         * math/s_csinl.c: Likewise.
74673         * math/s_csqrt.c: Likewise.
74674         * math/s_csqrtf.c: Likewise.
74675         * math/s_csqrtl.c: Likewise.
74676         * math/s_ctan.c: Likewise.
74677         * math/s_ctanf.c: Likewise.
74678         * math/s_ctanh.c: Likewise.
74679         * math/s_ctanhf.c: Likewise.
74680         * math/s_ctanhl.c: Likewise.
74681         * math/s_ctanl.c: Likewise.
74682         * math/s_ldexp.c: Likewise.
74683         * math/s_ldexpf.c: Likewise.
74684         * math/s_ldexpl.c: Likewise.
74685         * math/s_significand.c: Likewise.
74686         * math/s_significandf.c: Likewise.
74687         * math/s_significandl.c: Likewise.
74688         * math/w_acos.c: Likewise.
74689         * math/w_acosf.c: Likewise.
74690         * math/w_acosh.c: Likewise.
74691         * math/w_acoshf.c: Likewise.
74692         * math/w_acoshl.c: Likewise.
74693         * math/w_acosl.c: Likewise.
74694         * math/w_asin.c: Likewise.
74695         * math/w_asinf.c: Likewise.
74696         * math/w_asinl.c: Likewise.
74697         * math/w_atan2.c: Likewise.
74698         * math/w_atan2f.c: Likewise.
74699         * math/w_atan2l.c: Likewise.
74700         * math/w_atanh.c: Likewise.
74701         * math/w_atanhf.c: Likewise.
74702         * math/w_atanhl.c: Likewise.
74703         * math/w_cosh.c: Likewise.
74704         * math/w_coshf.c: Likewise.
74705         * math/w_coshl.c: Likewise.
74706         * math/w_dremf.c: Likewise.
74707         * math/w_exp10.c: Likewise.
74708         * math/w_exp10f.c: Likewise.
74709         * math/w_exp10l.c: Likewise.
74710         * math/w_exp2.c: Likewise.
74711         * math/w_exp2f.c: Likewise.
74712         * math/w_fmod.c: Likewise.
74713         * math/w_fmodf.c: Likewise.
74714         * math/w_fmodl.c: Likewise.
74715         * math/w_hypot.c: Likewise.
74716         * math/w_hypotf.c: Likewise.
74717         * math/w_hypotl.c: Likewise.
74718         * math/w_j0.c: Likewise.
74719         * math/w_j0f.c: Likewise.
74720         * math/w_j0l.c: Likewise.
74721         * math/w_j1.c: Likewise.
74722         * math/w_j1f.c: Likewise.
74723         * math/w_j1l.c: Likewise.
74724         * math/w_jn.c: Likewise.
74725         * math/w_jnf.c: Likewise.
74726         * math/w_jnl.c: Likewise.
74727         * math/w_lgamma.c: Likewise.
74728         * math/w_lgamma_r.c: Likewise.
74729         * math/w_lgammaf.c: Likewise.
74730         * math/w_lgammaf_r.c: Likewise.
74731         * math/w_lgammal.c: Likewise.
74732         * math/w_lgammal_r.c: Likewise.
74733         * math/w_log.c: Likewise.
74734         * math/w_log10.c: Likewise.
74735         * math/w_log10f.c: Likewise.
74736         * math/w_log10l.c: Likewise.
74737         * math/w_log2.c: Likewise.
74738         * math/w_log2f.c: Likewise.
74739         * math/w_log2l.c: Likewise.
74740         * math/w_logf.c: Likewise.
74741         * math/w_logl.c: Likewise.
74742         * math/w_pow.c: Likewise.
74743         * math/w_powf.c: Likewise.
74744         * math/w_powl.c: Likewise.
74745         * math/w_remainder.c: Likewise.
74746         * math/w_remainderf.c: Likewise.
74747         * math/w_remainderl.c: Likewise.
74748         * math/w_scalb.c: Likewise.
74749         * math/w_scalbf.c: Likewise.
74750         * math/w_scalbl.c: Likewise.
74751         * math/w_sinh.c: Likewise.
74752         * math/w_sinhf.c: Likewise.
74753         * math/w_sinhl.c: Likewise.
74754         * math/w_sqrt.c: Likewise.
74755         * math/w_sqrtf.c: Likewise.
74756         * math/w_sqrtl.c: Likewise.
74757         * math/w_tgamma.c: Likewise.
74758         * math/w_tgammaf.c: Likewise.
74759         * math/w_tgammal.c: Likewise.
74761         * po/ja.po: Update from translation team.
74763 2011-09-29  Andreas Jaeger  <aj@suse.de>
74765         [BZ #13179]
74766         * sunrpc/netname.c (netname2host): Fix logic.
74768         [BZ #6779]
74769         [BZ #6783]
74770         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74771         correctly.
74772         * math/w_remainder.c (__remainder): Likewise.
74773         * math/w_remainderf.c (__remainderf): Likewise.
74774         * math/libm-test.inc (remainder_test): Add test cases.
74776 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74778         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
74779         sdiv_qrnnd.
74781 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74783         * string/test-memcmp.c: Avoid unncessary #defines.
74784         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74786 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74788         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74789         Use new sse2 version for core i3 - i7 as it's faster
74790         than sse42 version.
74791         (bit_Prefer_PMINUB_for_stringop): New.
74792         * sysdeps/x86_64/rawmemchr.S: Update.
74793         Replace with faster SSE2 version.
74794         * sysdeps/x86_64/memrchr.S: New file.
74795         * sysdeps/x86_64/memchr.S: Update.
74796         Replace with faster SSE2 version.
74798 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
74800         * elf/dl-load.c (lose): Add cast to avoid warning.
74802 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74804         * po/ca.po: Update from translation team.
74806         * inet/getnetgrent_r.c: Hook up nscd.
74807         * nscd/Makefile (routines): Add nscd_netgroup.
74808         (nscd-modules): Add netgroupcache.
74809         (CFLAGS-netgroupcache.c): Define.
74810         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
74811         (cache_search): Add const to second parameter.
74812         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74813         INNETGR.
74814         (dbs): Add netgrdb entry.
74815         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74816         (verify_persistent_db): Handle netgrdb.
74817         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74818         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74819         GETFDNETGR.
74820         (netgroup_response_header): Define.
74821         (innetgroup_response_header): Define.
74822         (datahead): Add netgroup_response_header and innetgroup_response_header
74823         elements.
74824         * nscd/nscd.conf: Add entries for netgroup cache.
74825         * nscd/nscd.h (dbtype): Add netgrdb.
74826         (_PATH_NSCD_NETGROUP_DB): Define.
74827         (netgroup_iov_disabled): Declare.
74828         (xmalloc, xcalloc, xrealloc): Move declarations here.
74829         (cache_search): Adjust prototype.
74830         Add netgroup-related prototypes.
74831         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74832         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74833         (__nscd_innetgr): Declare.
74834         * nscd/selinux.c (perms): Use access_vector_t as element type and
74835         add netgroup-related initializers.
74836         * nscd/netgroupcache.c: New file.
74837         * nscd/nscd_netgroup.c: New file.
74838         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74839         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74840         For four parameters use innetgr.
74841         * nss/nss_files/files-init.c: Add definition and callback for netgr.
74842         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74843         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74844         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74846         * nscd/connections.c (register_traced_file): Don't register file
74847         for disabled databases.
74849 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
74851         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74853         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74854         from tree and freeing node.
74856 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
74858         * nss/nsswitch.c (__nss_database_lookup): Handle
74859         nss_parse_service_list out of memory case.
74861 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
74863         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74864         out of memory case.
74866 2011-10-04  Andreas Schwab  <schwab@redhat.com>
74868         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74869         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74870         pass it down.
74871         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74872         elf_machine_rela, elf_machine_lazy_rel.
74873         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74874         (ELF_DYNAMIC_DO_REL): Likewise.
74875         (ELF_DYNAMIC_DO_RELA): Likewise.
74876         (ELF_DYNAMIC_RELOCATE): Likewise.
74877         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74878         to ELF_DYNAMIC_DO_REL.
74879         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74880         (dl_main): In trace mode always set __RTLD_NOIFUNC.
74881         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74882         elf_machine_rela.
74883         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74884         skip_ifunc, don't call ifunc function if non-zero.
74885         (elf_machine_rela): Likewise.
74886         (elf_machine_lazy_rel): Likewise.
74887         (elf_machine_lazy_rela): Likewise.
74888         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74889         (elf_machine_lazy_rel): Likewise.
74890         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74891         Likewise.
74892         (elf_machine_lazy_rel): Likewise.
74893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74894         Likewise.
74895         (elf_machine_lazy_rel): Likewise.
74896         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74897         (elf_machine_lazy_rel): Likewise.
74898         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74899         (elf_machine_lazy_rel): Likewise.
74900         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74901         (elf_machine_lazy_rel): Likewise.
74902         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74903         (elf_machine_lazy_rel): Likewise.
74904         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74905         (elf_machine_lazy_rel): Likewise.
74906         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74907         (elf_machine_lazy_rel): Likewise.
74909 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
74911         * nss/nss_files/files-init.c (_nss_files_init): Use static
74912         initialization for all the *_traced_file variables.
74914 2011-09-28  Andreas Schwab  <schwab@redhat.com>
74916         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74918 2011-09-27  Roland McGrath  <roland@hack.frob.com>
74920         [BZ #13226]
74921         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74923 2011-09-27  Andreas Schwab  <schwab@redhat.com>
74925         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74926         Reread the line before reparsing it.
74928 2011-09-26  Andreas Schwab  <schwab@redhat.com>
74930         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74932 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
74933             Maxim Kuvyrkov  <maxim@codesourcery.com>
74934             Joseph Myers  <joseph@codesourcery.com>
74936         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74937         if needed for __stack_chk_guard.
74939 2011-09-19  Roland McGrath  <roland@hack.frob.com>
74941         * sysdeps/posix/spawni.c (script_execute): Always define it.
74942         It will be optimized away if unused.
74943         (maybe_script_execute): New function.
74944         (__spawni): Call it.
74946         * Makerules: Don't include tls.make.
74947         (config-tls): Always set to thread.
74948         * tls.make.c: File removed.
74950 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
74952         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74953         * config.make.in (CPPFLAGS-config): New substituted variable.
74955 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74957         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74959         [BZ #13192]
74960         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74961         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74963 2011-09-15  Roland McGrath  <roland@hack.frob.com>
74965         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74966         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74967         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74968         (CALL_FAIL): Likewise.
74969         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74970         (CALL_FAIL): Macro removed.
74971         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74973 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74975         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
74976         for __FINITE_MATH_ONLY__ == 1.
74978 2011-09-15  Andreas Schwab  <schwab@redhat.com>
74980         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
74981         __ieee754_sqrt instead of sqrt.
74982         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
74983         __ieee754_sqrtf instead of sqrtf.
74984         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
74985         __floorf instead of floorf.
74986         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
74987         __floorf, __truncf instead of floorf, truncf.
74989 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
74991         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
74993         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
74994         __extern_always_inline.
74995         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
74996         32-bit.
74998 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75000         * elf/rtld.c (dl_main): Also relocate in dependency order when
75001         doing symbol dependency testing.
75003 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75005         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75006         Always define `refsym'.
75008 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75010         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75011         (__FD_ELT): Renamed from __FDELT.
75012         * misc/bits/select2.h (__FD_ELT): Likewise.
75013         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75014         __FD_MASK instead of __FDELT, __FDMASK.
75015         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75016         Likewise.
75017         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75018         Likewise.
75020         * elf/Makefile (gen-ldd): Fix pattern.
75022         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75023         (init_tls): Likewise.
75025 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75027         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75029 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75031         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75032         `struct cmsghdr *' instead of `void *'.
75033         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75034         Likewise.
75036 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75038         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75039         if non-absolute.
75040         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75041         ldd_rewrite_script.
75043 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75045         * configure.in: Remove --with-tls option.
75046         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75047         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75048         out in case it is missing.
75049         * sysdeps/ia64/elf/configure.in: Likewise.
75050         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75051         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75052         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75053         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75054         * sysdeps/sh/elf/configure.in: Likewise.
75055         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75056         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75057         * sysdeps/x86_64/elf/configure.in: Likewise.
75058         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75059         * sysdeps/mach/hurd/tls.h: Likewise.
75061         [BZ #13067]
75062         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75064         [BZ #13090]
75065         * configure.in: Fix use of AC_INIT.
75067         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75069 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75071         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75072         __set_errno.
75073         * malloc/hooks.c: Likewise.
75075         [BZ #11929]
75076         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75077         variables statically.
75078         (narenas): Initialize.
75079         (list_lock): Initialize.
75080         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75081         initializtion of main_arena and list_lock.  Small cleanups.
75082         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75083         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75084         Add initializers to main_arena and mp_.
75085         (malloc_state): Remove pagesize member.  Change all users to use
75086         GLRO(dl_pagesize).
75088         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75089         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75090         is always initialized.
75092         * malloc/malloc.c: Removed unused configurations and dead code.
75093         * malloc/arena.c: Likewise.
75094         * malloc/hooks.c: Likewise.
75095         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75097         * include/tls.h: Removed.  USE___THREAD must always be defined.
75098         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75099         * elf/dl-libc.c: Likewise.
75100         * elf/dl-tsd.c: Likewise.
75101         * include/errno.h: Likewise.
75102         * include/netdb.h: Likewise.
75103         * include/resolv.h: Likewise.
75104         * inet/herrno-loc.c: Likewise.
75105         * inet/herrno.c: Likewise.
75106         * malloc/arena.c: Likewise.
75107         * malloc/hooks.c: Likewise.
75108         * malloc/malloc.c: Likewise.
75109         * resolv/res-state.c: Likewise.
75110         * resolv/res_libc.c: Likewise.
75111         * sysdeps/i386/dl-machine.h: Likewise.
75112         * sysdeps/ia64/dl-machine.h: Likewise.
75113         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75114         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75115         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75116         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75117         * sysdeps/sh/dl-machine.h: Likewise.
75118         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75119         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75120         * sysdeps/unix/i386/sysdep.S: Likewise.
75121         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75122         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75123         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75124         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75125         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75126         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75127         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75130         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75131         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75132         * sysdeps/x86_64/dl-machine.h: Likewise.
75133         * tls.make.c: Likewise.
75135         * configure.in: Remove --with-__thread option.  Make tests for
75136         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75137         tls_model attribute fail if no support is available.  Remove
75138         USE_IN_LIBIO.
75139         * Makeconfig: Adjust for dropped configure option.  All features are
75140         now mandatory.
75141         * Makerules: Likewise.
75142         * Versions.def: Likewise.
75143         * argp/argp-fmtstream.c: Likewise.
75144         * argp/argp-fmtstream.h: Likewise.
75145         * argp/argp-help.c: Likewise.
75146         * assert/assert.c: Likewise.
75147         * config.h.in: Likewise.
75148         * config.make.in: Likewise.
75149         * configure: Likewise.
75150         * configure.in: Likewise.
75151         * csu/Versions: Likewise.
75152         * csu/init.c: Likewise.
75153         * elf/tst-audit2.c: Likewise.
75154         * elf/tst-tls10.c: Likewise.
75155         * elf/tst-tls10.h: Likewise.
75156         * elf/tst-tls11.c: Likewise.
75157         * elf/tst-tls12.c: Likewise.
75158         * elf/tst-tls14.c: Likewise.
75159         * elf/tst-tlsmod11.c: Likewise.
75160         * elf/tst-tlsmod12.c: Likewise.
75161         * elf/tst-tlsmod13.c: Likewise.
75162         * elf/tst-tlsmod13a.c: Likewise.
75163         * elf/tst-tlsmod14a.c: Likewise.
75164         * elf/tst-tlsmod15b.c: Likewise.
75165         * elf/tst-tlsmod16a.c: Likewise.
75166         * elf/tst-tlsmod16b.c: Likewise.
75167         * elf/tst-tlsmod7.c: Likewise.
75168         * elf/tst-tlsmod8.c: Likewise.
75169         * elf/tst-tlsmod9.c: Likewise.
75170         * gmon/gmon.c: Likewise.
75171         * grp/fgetgrent_r.c: Likewise.
75172         * grp/putgrent.c: Likewise.
75173         * hurd/fopenport.c: Likewise.
75174         * include/libc-symbols.h: Likewise.
75175         * include/tls.h: Likewise.
75176         * intl/gettextP.h: Likewise.
75177         * intl/loadinfo.h: Likewise.
75178         * locale/global-locale.c: Likewise.
75179         * locale/localeinfo.h: Likewise.
75180         * mach/devstream.c: Likewise.
75181         * malloc/arena.c: Likewise.
75182         * malloc/set-freeres.c: Likewise.
75183         * misc/err.c: Likewise.
75184         * misc/getttyent.c: Likewise.
75185         * misc/mntent_r.c: Likewise.
75186         * posix/getopt.c: Likewise.
75187         * posix/wordexp.c: Likewise.
75188         * pwd/fgetpwent_r.c: Likewise.
75189         * resolv/Versions: Likewise.
75190         * resolv/res_hconf.c: Likewise.
75191         * shadow/fgetspent_r.c: Likewise.
75192         * shadow/putspent.c: Likewise.
75193         * stdio-common/printf_fphex.c: Likewise.
75194         * stdio-common/tmpfile.c: Likewise.
75195         * stdlib/abort.c: Likewise.
75196         * stdlib/fmtmsg.c: Likewise.
75197         * sunrpc/auth_unix.c: Likewise.
75198         * sunrpc/clnt_perr.c: Likewise.
75199         * sunrpc/clnt_tcp.c: Likewise.
75200         * sunrpc/clnt_udp.c: Likewise.
75201         * sunrpc/clnt_unix.c: Likewise.
75202         * sunrpc/openchild.c: Likewise.
75203         * sunrpc/svc_simple.c: Likewise.
75204         * sunrpc/svc_tcp.c: Likewise.
75205         * sunrpc/svc_udp.c: Likewise.
75206         * sunrpc/svc_unix.c: Likewise.
75207         * sunrpc/xdr.c: Likewise.
75208         * sunrpc/xdr_array.c: Likewise.
75209         * sunrpc/xdr_rec.c: Likewise.
75210         * sunrpc/xdr_ref.c: Likewise.
75211         * sunrpc/xdr_stdio.c: Likewise.
75213 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75215         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75217 2011-07-03  Andreas Jaeger  <aj@suse.de>
75219         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75220         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75221         regenerate with gen-libm-tests.pl.
75223 2010-05-12  Petr Baudis  <pasky@suse.cz>
75225         [BZ #11589]
75226         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75227         around j0() zero points by switching to j1().
75228         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75229         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75230         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75231         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75233 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75235         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75236         instead of 0.
75237         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75238         instead of 0.
75239         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75240         Patch in part by Pavel Roskin <proski@gnu.org>.
75242         [BZ #13138]
75243         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75244         realloc.
75245         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75246         Free memory block if necessary.
75248         [BZ #12847]
75249         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75250         be NULL.  Don't lock in this case.
75252 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75254         * elf/elf.h (ELFOSABI_GNU): New macro.
75255         (ELFOSABI_LINUX): Define to that.
75257 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75259         * string/strncat.c (strncat): Undef the symbol in case it has been
75260         defined in bits/string.h.
75262 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75264         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75266         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75267         link map.
75269 2011-08-17  Andreas Jaeger  <aj@suse.de>
75271         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75273 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75274             Ian Lance Taylor  <iant@google.com>
75276         * math/libm-test.inc (lround_test): New testcase.
75277         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75279 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75281         * Makefile: Remove support for automatic cvs check-ins.
75282         * Makerules: Likewise.
75283         * config.make.in: Likewise.
75284         * configure.in: Likewise.
75285         * intl/Makefile: Likewise.
75286         * locale/Makefile: Likewise.
75287         * po/Makefile: Likewise.
75288         * posix/Makefile: Likewise.
75289         * sysdeps/gnu/Makefile: Likewise.
75290         * sysdeps/mach/hurd/Makefile: Likewise.
75291         * sysdeps/sparc/sparc32/Makefile: Likewise.
75293         [BZ #13118]
75294         * posix/Makefile (bug-regex32-ENV): Define.
75295         Patch by John Stanley <jpsinthemix@verizon.net>.
75297         * misc/Makefile (headers): Add bits/select2.h.
75298         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75299         * misc/bits/select2.h: New file.
75300         * include/bits/select2.h: New file.
75301         * debug/Makefile (routines): Add fdelt_chk.
75302         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75303         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75304         FD_ISSET.
75305         * debug/fdelt_chk.c: New file.
75307         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75308         * wcsmbs/test-wmemcmp.c: Likewise.
75309         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75310         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75312 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75314         * string/Makefile (strop-tests): Add memcmp.
75315         * string/test-wmemcmp.c: New file.
75316         * string/test-memcmp.c: Add wmemcmp support.
75318 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75320         [BZ #13153]
75321         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75322         2011-07-19 change.
75324         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75325         garbage value in a __mach_port_mod_refs call in the cases of the
75326         task-self and thread-self ports.
75328 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75330         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75332 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75334         * elf/dl-load.c (lose): Check for non-null L.
75336 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75338         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75340         * elf/dl-libc.c (dlerror_run): Pass back error code from
75341         dl_catch_error.
75343         [BZ #13123]
75344         * elf/dl-load.c (lose): Free l_origin if it is valid.
75346         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75347         names.
75348         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75349         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75350         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75351         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75352         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75353         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75355 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75357         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75358         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75359         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75360         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75361         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75362         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75363         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75364         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75365         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75366         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75368 2011-08-15  Alan Modra  <amodra@gmail.com>
75370         [BZ #13092]
75371         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75372         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75373         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75374         ppc_mcount to static-only-routines.
75375         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75376         __mcount_internal.
75377         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75378         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75380 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75382         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75383         for finite and infinity parameters.
75385 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75387         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75388         and add nop instructions for throughput optimization.
75389         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75391 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75393         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75394         aligned copy for power7 with vector-scalar instructions.
75395         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75397 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75399         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75400         AVX check.
75402 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75404         [BZ #13144]
75405         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75406         last change.
75408 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75410         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75411         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75412         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75413         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75414         clock_gettime.
75416 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75418         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75419         Forgot to demangle the pointer.
75421         * sysdeps/i386/sysdep.h: Define atom_text_section.
75422         * sysdeps/x86_64/sysdep.h: Likewise.
75423         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75424         section with atom_text_section.
75425         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75426         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75427         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75428         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75429         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75431         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75432         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75433         already be defined.  Change to take two parameters and don't assign
75434         result to variable.  Adjust all users.
75435         Define INTERNAL_GETTIME if not already defined.
75436         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75437         call.
75438         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75439         HAVE_CLOCK_GETTIME_VSYSCALL.
75440         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75442         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75443         gettimeofday vsyscall, just use time.
75445 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75447         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75448         <errno.h>.
75450 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75452         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75453         syscall on x86-64.
75454         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75455         syscall.
75456         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75457         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75458         syscall if possible.
75460 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75462         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75463         e_ident.  Don't pass to find_mapsXX.
75464         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75466 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75468         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75469         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75470         * sysdeps/x86_64/multiarch/strchr.S: Update.
75471         Check bit_slow_BSF bit.
75472         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75473         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75474         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75476 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75478         [BZ #13134]
75479         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75480         before glibc 2.15.
75481         (tryshell): Define.
75482         (__spawni): Change last parameter to be flag.  Test
75483         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75484         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75485         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75486         * posix/spawni.c: Likewise.
75487         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75488         * posix/spawnp.c: Likewise.  Change normal version to use
75489         SPAWN_XFLAGS_USE_PATH.
75490         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75491         SPAWN_XFLAGS_TRY_SHELL.
75493         [BZ #13150]
75494         * posix/glob.h: Remove gcc 1.x support.
75496         [BZ #13068]
75497         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75499 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75501         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75502         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75503         strrchr-sse2-bsf
75504         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75505         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75506         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75507         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75508         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75509         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75511 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75513         * sysdeps/x86_64/wcscmp.S: New file.
75515         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75516         wcscmp-c wcscmp-sse2
75517         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75518         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75519         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75520         * wcsmbs/wcscmp.c: Allow renaming.
75522 2011-09-05  David S. Miller  <davem@davemloft.net>
75524         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75525         stack slot, rather than the struct return pointer slot.
75526         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75527         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75529         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75531 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75533         * po/ja.po: Update from translation team.
75535         [BZ #13144]
75536         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75537         kernel in 64-bit binaries.
75539 2011-09-01  David S. Miller  <davem@davemloft.net>
75541         * elf/elf.h (HWCAP_SPARC_*): Move to..
75542         * sysdeps/sparc/sysdep.h: this new file and add new values.
75543         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75544         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75545         _DL_HWCAP_COUNT to 24.
75546         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75547         entries.
75548         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75549         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75550         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75551         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75552         instead of magic constants.
75553         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75555 2011-08-31  David S. Miller  <davem@davemloft.net>
75557         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75558         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75559         Reimplement to do errno handling inline.
75560         (SYSCALL_ERROR_HANDLER): New macro.
75561         (__SYSCALL_STRING): Do not do errno handling in asm.
75562         (__CLONE_SYSCALL_STRING): Delete.
75563         (__INTERNAL_SYSCALL_STRING): Delete.
75564         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75565         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75566         (PSEUDO): Reimplement to do errno handling inline.
75567         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75568         (SYSCALL_ERROR_HANDLER): New macro.
75569         (__SYSCALL_STRING): Do not do errno handling in asm.
75570         (__CLONE_SYSCALL_STRING): Delete.
75571         (__INTERNAL_SYSCALL_STRING): Delete.
75572         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75573         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75574         i386.
75575         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75576         (inline_syscall*): Add 'err' argument.
75577         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75578         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75579         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75580         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75582         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75583         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75585 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75587         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75589 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75591         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75592         directive.
75594 2011-08-24  David S. Miller  <davem@davemloft.net>
75596         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75598 2011-08-24  Andreas Schwab  <schwab@redhat.com>
75600         * elf/Makefile: Add rules to build and run unload8 test.
75601         * elf/unload8.c: New file.
75602         * elf/unload8mod1.c: New file.
75603         * elf/unload8mod1x.c: New file.
75604         * elf/unload8mod2.c: New file.
75605         * elf/unload8mod3.c: New file.
75607         * elf/dl-close.c (_dl_close_worker): Reset private search list if
75608         it wasn't used.
75610 2011-08-23  David S. Miller  <davem@davemloft.net>
75612         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75613         subtract stack bias.
75614         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75615         %sp not %fp in calculations.
75616         (_JMPBUF_UNWINDS_ADJ): Likewise.
75618         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75619         (aio_suspend): Call it to force an exception region around the
75620         AIO_MISC_WAIT() invocation.
75622 2011-08-23  Andreas Schwab  <schwab@redhat.com>
75624         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75625         backslash.
75627 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
75629         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75630         protection macro.
75631         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75632         and <dl-machine.h>.
75633         (Elf64_FuncDesc): Remove.
75635 2011-08-22  David S. Miller  <davem@davemloft.net>
75637         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75638         sigaltstack check, add missing cfi directives.
75639         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75640         missing cfi directives, and sigaltstack handling.
75642 2011-08-16  Andreas Schwab  <schwab@redhat.com>
75644         [BZ #11724]
75645         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75646         object is seen twice.
75647         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75649         * elf/Makefile (distribute): Add tst-initorder2.c.
75650         (tests): Add tst-initorder2.
75651         (modules-names): Add tst-initorder2a tst-initorder2b
75652         tst-initorder2c tst-initorder2d.  Add rules to build them.
75653         ($(objpfx)tst-initorder2.out): New rule.
75654         * elf/tst-initorder2.c: New file.
75655         * elf/tst-initorder2.exp: New file.
75657 2011-08-22  Andreas Schwab  <schwab@redhat.com>
75659         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75661         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75662         dependencies back to end of function.
75664         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75665         $(elfobjdir)/ld.so.
75667 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
75669         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75670         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75671         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75672         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75673         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75674         of __vdso_gettimeofday.
75675         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75676         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
75677         attribute_hidden.
75678         (_libc_vdso_platform_setup): Remove initialization of
75679         __vdso_gettimeofday and __vdso_time.
75681 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75683         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75684         and fgetc_unlocked.
75685         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75686         getc_unlocked.
75688         * elf/dl-open.c (add_to_global): Report additions to the global scope
75689         for LD_DEBUG=scopes.
75690         (dl_open_worker): Also print scope of newly loaded dependencies.
75691         (_dl_show_scope): Indicate if there is no scope.
75693         [BZ #13114]
75694         * stdio-common/Makefile (tests): Add bug24.
75695         * stdio-common/bug24.c: New file.
75697 2011-08-19  Andreas Jaeger  <aj@suse.de>
75699         [BZ #13114]
75700         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75701         non-existant file when using close-on-exec mode.
75703 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75705         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75706         the very first instruction.
75708         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75709         the CFI state in the end.
75710         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75711         inclusion of dl-trampoline.h.
75712         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75714 2011-08-19  Andreas Schwab  <schwab@redhat.com>
75716         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75717         expectations for long double.
75719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75720         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75722 2011-08-14  David S. Miller  <davem@davemloft.net>
75724         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75725         artificual limit depends upon the system page size.
75727 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75729         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75730         * resolv/Makefile: Define CFLAGS-libresolv.
75732 2011-08-17  Andreas Schwab  <schwab@redhat.com>
75734         * nss/makedb.c (compute_tables): Make variables used in nested
75735         function static.
75737 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75739         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75740         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75741         if buffer was too small.
75743         * elf/pldd.c (main): Attach to all threads in the process.
75744         Rewrite /proc handling to use *at functions.
75746 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
75748         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75749         specifies first scope to show.
75750         (dl_open_worker): Update callers.  Move printing scope of new
75751         object to before the relocation.
75752         * elf/rtld.c (dl_main): Update _dl_show_scope call.
75753         * sysdeps/generic/ldsodefs.h: Update declaration.
75755         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75756         string for the scope number.
75758 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
75760         * nscd/servicescache.c (cache_addserv): Make sure written is always
75761         initialized.
75763 2011-08-14  Roland McGrath  <roland@hack.frob.com>
75765         * sysdeps/i386/i486/bits/atomic.h
75766         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75767         statement expression, so as to suppress "set but not used" warning.
75768         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75770         * string/strncat.c (STRNCAT): Use prototype definition.
75772         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75773         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75774         -Iprograms here.
75775         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75776         (localedef-modules): Add localedef.
75777         (locale-modules): Add locale.
75779         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75780         * elf/rtld.c (dl_main): Invert order of assignment in last change,
75781         to avoid a warning.
75783 2011-08-14  David S. Miller  <davem@davemloft.net>
75785         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75786         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75788 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
75790         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75791         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75792         * elf/rtld.c (dl_main): Set l_name of vDSO.
75793         Call _dl_show_scope when DL_DEBUG_SCOPES.
75794         (process_dl_debug): Recognize scopes flag and also set it for all.
75795         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75796         Declare _dl_show_scope.
75798         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75799         (do_dlopen): Pass caller_dlopen to dl_open.
75800         (__libc_dlopen_mode): Initialize caller_dlopen.
75802         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
75803         of libc.  Make tolower call locale-independent.  Optimize a bit by
75804         using isdigit instead of isalnum.
75805         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
75807 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
75809         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
75810         was a dependency or dynamically loaded.
75812 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
75814         * intl/l10nflist.c: Allow architecture-specific pop function.
75815         * sysdeps/x86_64/l10nflist.c: New file.
75817         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75818         classification.
75820 2011-08-10  Andreas Schwab  <schwab@redhat.com>
75822         * include/dirent.h: Add libc_hidden_proto for scandirat and
75823         scandirat64.  Don't declare __scandirat64.
75824         * dirent/scandirat.c: Add libc_hidden_def.
75825         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75826         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75828 2011-08-10  David S. Miller  <davem@davemloft.net>
75830         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75831         enum.
75832         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75833         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75834         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75836 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
75838         * Versions.def [libc]: Add GLIBC_2.15.
75839         * dirent/Makefile (routines): Add scandirat and scandirat64.
75840         * dirent/Versions [libc]: Export scandirat and scandirat64 for
75841         GLIBC_2.15.
75842         * dirent/dirent.h: Declare scandirat and scandirat64.
75843         * dirent/scandirat.c: New file.
75844         * dirent/scandirat64.c: New file.
75845         * sysdeps/wordsize-64/scandirat.c: New file.
75846         * sysdeps/wordsize-64/scandirat64.c: New file.
75847         * dirent/opendir.c: Define opendirat.
75848         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
75849         using scandirat.
75850         * dirent/scandir64.c: Adjust for scandir.c change.
75851         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
75852         __scandirat64, and __scandir_cancel_handler.
75853         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
75854         additional parameter and use openat instead of open (outside of ld.so).
75855         Add new __opendir as wrapper around __opendirat.
75856         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75857         here without requiring old scandirat implementation.
75859 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
75861         * dirent/scandir.c (cancel_handler): Renamed to
75862         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
75863         defined.  Adjust users.
75864         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75865         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75867 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
75869         * string/test-string.h (IMPL): Use __STRING to expand name and then
75870         stringify it.
75872         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
75873         of cleanups.
75875 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75877         * string/Makefile: Update.
75878         (strop-tests): Append strncat.
75879         * string/test-wcscmp.c: New file.
75880         New comprehensive test for wcscmp.
75881         * string/test-strcmp.c: Update.
75882         (WIDE): New define.
75884 2011-07-22  Andreas Schwab  <schwab@redhat.com>
75886         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75887         line.
75889 2011-07-26  Andreas Schwab  <schwab@redhat.com>
75891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75892         encoding to ACE if AI_IDN.
75894 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
75896         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75897         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75899 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75901         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75902         Fix overflow bug in strncat.
75903         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75905         * string/test-strncat.c: Update.
75906         Add new tests for checking overflow bugs.
75908 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75911         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75912         * sysdeps/i386/i686/multiarch/strcat.S: New file.
75913         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75914         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75915         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75916         * sysdeps/i386/i686/multiarch/strncat.S: New file.
75917         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75918         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75920         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75921         (USE_AS_STRCAT): Define.
75922         Add strcat and strncat support.
75923         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75925 2011-07-25  Andreas Schwab  <schwab@redhat.com>
75927         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75928         __n bigger than INT_MAX+1.
75929         (__strncmp_g): Likewise.
75931 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
75933         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75934         * libio/stido.h: Likewise.
75936         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75937         (AF_NFC): Define.
75938         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75939         (AF_NFC): Define.
75941         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75942         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75943         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75944         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75945         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75947         [BZ #13021]
75948         * scripts/test-installation.pl: Don't expect libnss_test1 to be
75949         installed.
75951         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75952         typo.
75953         (_dl_x86_64_save_sse): Likewise.
75955 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
75957         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75958         OSXSAVE.
75959         (_dl_x86_64_save_sse): Likewise.
75961         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75963         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75965 2011-07-21  Andreas Schwab  <schwab@redhat.com>
75967         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75968         change.
75969         (_dl_x86_64_save_sse): Use correct AVX check.
75971 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75973         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75974         bug in strncpy/strncat.
75975         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
75977 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
75979         * string/tester.c (test_strcat): Add tests for different alignments
75980         of source and destination.
75981         (test_strncat): Likewise.
75983 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75985         [BZ #12852]
75986         * posix/glob.c (glob): Check passed in values before using them in
75987         expressions to avoid some overflows.
75988         (glob_in_dir): Likewise.
75990         [BZ #13007]
75991         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
75992         check for AVX enablement so that we don't crash with old kernels and
75993         new hardware.
75994         * elf/tst-audit4.c: Add same checks here.
75995         * elf/tst-audit6.c: Likewise.
75997         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
75999 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76001         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76003 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76005         * po/cs.po: Update from translation team.
76006         * po/bg.po: Likewise.
76008 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76010         * misc/sys/cdefs.h: Add support for const attribute.
76011         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76012         to gnu_dev_{major,minor,makedev} functions.
76014 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76016         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76018 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76020         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76021         strlen results.
76023 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76025         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76026         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76027         register in order to avoid conflicts with the soft frame pointer
76028         being held in r11 when necessary.
76029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76030         (INTERNAL_VSYSCALL_NCS): Likewise.
76032 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76034         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76035         * elf/dl-fini.c (_dl_fini): Adjust caller.
76036         * elf/dl-close.c (_dl_close_worker): Likewise.
76037         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76039 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76041         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76042         "aux_cache->nlibs < 0".
76044         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76045         in the reload-count case.
76047 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76049         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76050         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76051         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76052         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76053         * sysdeps/x86_64/multiarch/strcat.S: New file.
76054         * sysdeps/x86_64/multiarch/strncat.S: New file.
76055         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76056         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76057         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76058         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76059         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76060         (USE_AS_STRCAT): Define.
76061         Add strcat and strncat support.
76062         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76063         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76064         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76065         * string/strncat.c: Update.
76066         (USE_AS_STRNCAT): Define.
76067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76068         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76069         and i7.
76070         * sysdeps/x86_64/multiarch/init-arch.h
76071         (bit_Prefer_PMINUB_for_stringop): New.
76072         (index_Prefer_PMINUB_for_stringop): Likewise.
76073         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76074         bit_Prefer_PMINUB_for_stringop.
76076 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76078         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76079         buffer64.
76080         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76081         of casting of buffer.
76082         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76083         buffer32 and buffer64.
76084         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76085         writes instead of casting of buffer.
76086         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76087         buffer32.
76088         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76089         casting of buffer.
76091 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76093         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76095 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76097         * nscd/nscd.c (termination_handler): Don't do anything for a database
76098         if it has not yet been initialized.
76100 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76102         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76104 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76106         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76108 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76110         * po/nl.po: Update from translation team.
76111         * po/sv.po: Likewise.
76113 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76115         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76116         now disallowed by GCC.
76118         * configure.in (use-default-link): Default to yes if a test -shared
76119         link meets our qualifications.
76120         * configure: Regenerated.
76122         * config.make.in (output-format): New variable.
76123         * configure.in: Check for ld --print-output-format support.
76124         * configure: Regenerated.
76125         * Makerules ($(common-objpfx)format.lds)
76126         [$(output-format) != unknown]: Just use $(output-format),
76127         instead of the linker-script munging.
76129 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76131         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76132         of $(common-objpfx)shlib.lds.
76133         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76135         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76136         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76138         * configure.in (-z relro check): Adjust test code to add a large
76139         writable data section after it.
76140         * configure: Regenerated.
76142 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76144         * configure.in (-z relro check): Fix test code to make the variable
76145         truly const.
76146         * configure: Regenerated.
76148 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76150         * nscd/nscd.h (struct traced_file): Define.
76151         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76152         elements.  Add traced_files.
76153         (inotify_fd): Declare.
76154         (register_traced_file): Declare.
76155         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76156         (inotify_fd): Export.
76157         (resolv_conf_descr): Remove.
76158         (nscd_init): Move inotify descriptor creation to main.
76159         Don't register files for notification here.
76160         (register_traced_file): New function.
76161         (invalidate_cache): Don't use reset_res to determine whether to call
76162         res_init, go through the list of registered files.
76163         (main_loop_poll): The inotify descriptors are now stored in the
76164         structures for the traced files.
76165         (main_loop_epoll): Likewise.
76166         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76167         to __nss_disable_nscd.
76168         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76169         for a database anymore.  Check the records for all the registered
76170         files instead.
76171         * nss/Makefile (libnss_files-routines): Add files-init.
76172         (libnss_db-routines): Add db-init.
76173         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76174         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76175         * nss/nss_db/db-init.c: New file.
76176         * nss/nss_files/files-init.c: New file.
76177         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76178         __nss_lookup_function.
76179         (__nss_lookup_function): Call nss_load_library.
76180         (nss_load_all_libraries): New function.
76181         (__nss_disable_nscd): Take parameter with callback function for files
76182         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76183         used for the cached services.
76184         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76185         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76186         options for features to all the files in nscd.
76188         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76190 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76192         * csu/elf-init.c (__libc_csu_init): Comment typo.
76194 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76196         * po/pl.po: Update from translation team.
76197         * po/ja.po: Likewise.
76198         * po/ru.po: Likewise.
76199         * po/ko.po: Likewise.
76200         * po/fr.po: Likewise.
76202 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76204         * configure.in (.ctors/.dtors header and trailer check):
76205         Use an empirical test on a built program.
76206         * configure: Regenerated.
76208         * configure.in (-z relro check): Use an empirical test on a built DSO.
76209         Detect, but do not require, on ia64.
76210         * configure: Regenerated.
76212         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76213         Update tests that use readelf to use $READELF instead.
76214         * configure: Regenerated.
76216 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76218         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76219         if the result is not used.
76221 2011-07-05  Andreas Jaeger  <aj@suse.de>
76223         [BZ#9696]
76224         * stdlib/tst-strtod.c: Add testcase.
76226 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76228         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76229         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76230         The latter has a higher limit.  Take additional parameter to pass to
76231         the new function.
76232         (__pathconf): Pass file to __statfs_link_max.
76233         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76234         __statfs_link_max.
76235         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76236         __statfs_link_max.
76238         [BZ #12868]
76239         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76240         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76241         Handle Lustre.
76242         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76243         (__statfs_filesize_max): Likewise.
76244         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76246 2011-07-05  Andreas Jaeger  <aj@suse.de>
76248         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76250 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76252         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76253         `status' variable.
76254         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76255         Likewise.
76257 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76259         * Makefile (strop-tests): Add strncat.
76260         * string/test-strncat.c: New file.
76262 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76264         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76266 2011-06-21  Andreas Jaeger  <aj@suse.de>
76268         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76269         Copy rule from iconvdata/Makefile.
76271 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76273         [BZ #12922]
76274         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76275         but no long options are defined, just return 'W'.
76277 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76279         [BZ #9696]
76280         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76282 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76284         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76285         netgroups to read.
76286         (innetgr): Likewise.
76288 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76290         * config.make.in (install_root): Default to $(DESTDIR).
76292 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76294         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76296 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76298         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76300         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76301         containing directory rather than embedding absolute directory names.
76303         * scripts/check-local-headers.sh: Rewritten using awk.
76304         Match by word, not by line.  Print error messages for matches.
76305         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76307         * Makerules [shlib-lds-flags empty]:
76308         ($(common-objpfx)libc_pic.opts): New target.
76309         ($(common-objpfx)libc_pic.os.clean): New target.
76310         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76312         * config.make.in (OBJCOPY): New variable.
76313         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76314         * configure: Regenerated.
76316         * config.make.in (use-default-link): New variable.
76317         * configure.in (use_default_link): Grok --with-default-link to set it.
76318         * configure: Regenerated.
76319         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76320         (shlib-lds, shlib-lds-flags): Define to empty.
76322         * Makerules (shlib-lds): New variable.
76323         (shlib-lds-flags): New variable.
76324         (build-shlib, build-moduile, build-module-asneeded): Use it.
76325         ($(common-objpfx)libc.so): Use $(shlib-lds).
76326         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76327         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76329         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76330         DT_FLAGS/DT_FLAGS_1 with zero flags.
76332         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76333         linker script munging.
76335 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76337         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76338         as 128-bit value.
76339         * crypt/sha512.c (sha512_process_block): Perform total addition using
76340         128-bit if possible.
76341         (__sha512_finish_ctx): Likewise.
76342         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76343         as 64-bit value.
76344         * crypt/sha256.c (SWAP64): Define.
76345         (sha256_process_block): Perform total addition using 64-bit if
76346         possible.
76347         (__sha256_finish_ctx): Likewise.
76349 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76351         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76352         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76353         * nscd/hstcache.c (cache_addhst): Likewise.
76354         * nscd/grpcache.c (cache_addgr): Likewise.
76355         * nscd/aicache.c (addhstaiX): Likewise.
76356         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76358 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76360         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76361         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76362         * nscd/hstcache.c (cache_addhst): Likewise.
76363         * nscd/grpcache.c (cache_addgr): Likewise.
76364         * nscd/aicache.c (addhstaiX): Likewise.
76366 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76368         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76369         domain only when needed.
76371 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76373         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76374         is always restored.
76376 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76378         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76379         are re-adding the entry.
76380         * nscd/servicescache.c (cache_addserv): Likewise.
76382 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76384         * sysdeps/generic/dl-irel.h: fix protection against multiple
76385         inclusions.
76386         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76388 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76390         [BZ #12935]
76391         * malloc/memusage.sh: Fix quoting in message.
76392         * debug/xtrace.sh: Likewise.
76394         * configure.in: Remove support for --experimental-malloc option, make
76395         it the default.
76396         * config.make.in: Likewise.
76397         * malloc/Makefile: Likewise.
76399 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76401         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76402         two-byte characters.
76404 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76406         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76407         AC_CACHE_CHECK invocation.
76408         * configure: Regenerated.
76410         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76412 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76414         [BZ #12350]
76415         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76416         bit from old_res_options.
76418         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76420         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76421         value type for setfct.
76423 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76425         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76426         __gettimeofday instead of gettimeofday.
76428 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76430         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76432 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76434         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76436         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76437         info.
76439 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76442         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76443         strcpy-sse2-unaligned strncpy-sse2-unaligned
76444         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76445         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76446         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76447         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76448         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76449         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76450         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76451         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76452         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76453         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76454         (STRCPY): Support SSE2 and SSSE3 versions.
76456 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76458         [BZ #12874]
76459         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76460         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76461         kernels which artificially limit size of requests.
76463 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76465         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76466         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76467         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76468         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76469         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76470         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76471         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76472         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76473         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76474         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76475         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76476         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76477         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76478         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76479         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76481         Enable unaligned load optimization for Intel Core i3, i5 and i7
76482         processors.
76483         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76484         Define.
76485         (index_Fast_Unaligned_Load): Define.
76486         (HAS_FAST_UNALIGNED_LOAD): Define.
76488 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76490         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76492 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76494         [BZ #12907]
76495         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76496         until it is clear that the information is realy needed.
76497         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76499 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76503 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76505         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76506         /sys/devices/system/cpu/online if it is usable.
76508         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76509         reading the information from the /proc filesystem to once a second.
76511 2011-06-21  Andreas Jaeger  <aj@suse.de>
76513         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76514         NULL after inclusion of kernel headers.
76516 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
76518         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76519         calls to internal_setent.
76521         [BZ #12885]
76522         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76523         addresses using gethostbyname4_r ignore IPv4 addresses.
76525         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76526         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
76528         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76530 2011-06-20  David S. Miller  <davem@davemloft.net>
76532         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76533         inclusions.
76534         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76536         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76537         (elf_irel): Use it.
76538         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76539         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76540         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76541         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76542         * sysdeps/x86_64/dl-irel.h: Likewise.
76544         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76545         * elf/dl-sym.c: Likewise.
76547 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76549         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76550         need to dereference resplen2.
76552 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76554         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76556 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76558         * Makeconfig: Define vardbdir and inst_vardbdir.
76559         * nss/Makefile: Add rules to install db-Makefile.
76561         * nss/nss_db/db-XXX.c: Cleanup.
76563         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76564         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76565         GLIBC_PRIVATE.
76566         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76567         * nss/makedb.c: Implement -g option to specify that value strings
76568         are generated and should not be added to table iterated over for
76569         get*ent calls.
76570         * nss/nss_db/db-initgroups.c: New file.
76572         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76573         interface.
76575         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76576         (internal_getgrouplist): Adjust to name change.
76577         Update use_initgroups_entry if this is not the first call.
76578         * nss/databases.def: Add initgroups entry.
76580         * nss/makedb.c (compute_tables): Check result of multiple hash table
76581         sizes to minimize maximum chain length.
76583 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76585         * Versions.def: Add entry for libnss_db.
76586         * shlib-versions: Likewise.
76587         * nss/Makefile: Add rules to build libnss_db.
76588         * nss/Versions: Add libnss_db information.  Organize libnss_files
76589         entries better.
76590         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76591         makedb progra.  Some minor improvements to generate smaller files.
76592         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76593         here from...
76594         * nss/makedb.c: ...here.
76595         Improve database format to be smaller and require less memory at
76596         runtime.
76597         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
76598         db anymore.
76599         * nss/nss_db/db-netgrp.c: Likewise.
76600         * nss/nss_db/db-open.c: Likewise.
76601         * nss/nss_files/flies-XXX.x: Adjust comments.
76602         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76603         * nss/nss_files/files-grp.c: Likewise.
76604         * nss/nss_files/files-hosts.c: Likewise.
76605         * nss/nss_files/files-network.c: Likewise.
76606         * nss/nss_files/files-proto.c: Likewise.
76607         * nss/nss_files/files-pwd.c: Likewise.
76608         * nss/nss_files/files-rpc.c: Likewise.
76609         * nss/nss_files/files-service.c: Likewise.
76610         * nss/nss_files/files-sgrp.c: Likewise.
76611         * nss/nss_files/files-spwd.c: Likewise.
76612         * nss/nss_db/db-alias.c: Removed.
76613         * nss/nss_db/dummy-db.h: Removed.
76615 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
76617         * nss/makedb.c: Rewritten to not use database library.
76618         * nss/Makefile: Update to build new makedb program.
76620 2011-06-14  Andreas Jaeger  <aj@suse.de>
76622         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76623         memset declaration.
76625 2011-06-10  Andreas Schwab  <schwab@redhat.com>
76627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76628         tmpbuf.
76630 2011-06-10  Roland McGrath  <roland@hack.frob.com>
76632         * Makerules (shlib.lds): Fail if the linker script comes out empty.
76633         * elf/Makefile ($(objpfx)ld.so): Likewise.
76635         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76636         Don't list ld.so twice in dependencies.
76638         * posix/bug-regex31.c: Include <stdlib.h>.
76640         * nscd/hstcache.c (cache_addhst): Remove unused variable.
76642         * nis/nss_compat/compat-spwd.c
76643         (getspent_next_nss_netgr): Remove unused variable.
76644         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76646         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76647         nonmembers" output to use the right array.
76649         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76651         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76653         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76654         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76655         * catgets/gencat.c (read_input_file): Likewise.
76656         * locale/programs/locarchive.c (enlarge_archive): Likewise.
76658         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76659         variable definition inside #if's controlling its use.
76661         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76663         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76665         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76667         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76668         unreachable code.
76670         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76672         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76673         * configure: Regenerated.
76675         * Makerules: Revert last change.
76676         * elf/Makefile: Likewise.
76678 2011-06-09  Roland McGrath  <roland@hack.frob.com>
76680         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76681         * elf/Makefile ($(objpfx)librtld.os): Likewise.
76682         (reloc-link): Likewise.
76684 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
76686         * elf/Makefile: Add rules to build pldd.
76687         * elf/pldd.c: New file.
76688         * elf/pldd-xx.c: New file.
76690 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
76692         * version.h: Update for 2.15 development version.
76694 2011-06-07  David S. Miller  <davem@davemloft.net>
76696         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76697         ifuncs.
76698         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76699         elf_machine_lazy_rel): Likewise.
76700         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76701         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76702         elf_machine_lazy_rel): Likewise.
76703         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76704         dl_hwcap via passed in argument.
76705         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76706         Likewise.
76708 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76710         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
76712 2011-06-06  Roland McGrath  <roland@hack.frob.com>
76714         [BZ #12849]
76715         * manual/fdl-1.1.texi: New file, verbatim from:
76716         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76717         * manual/lgpl-2.1.texi: New file, verbatim from:
76718         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76719         * manual/Makefile (licenses): New variable, list those new file names.
76720         (texis): Use it.
76721         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76723         * manual/fdl.texi: File removed.
76724         * manual/lesser.texi: File removed.
76725         * manual/libc.texinfo (Copying, Documentation License):
76726         Use new @include file names, put @appendix directive before @include.
76728 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
76730         [BZ #12841]
76731         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76732         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76733         (mq_open): Add __NTH.
76735 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
76737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76738         Assume Intel Core i3/i5/i7 processor if AVX is available.
76740 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76742         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76743         typo.
76745 2011-05-31  Andreas Schwab  <schwab@redhat.com>
76747         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76748         memory.  Use alloca_account.  Fix memory leak when retrying.
76750 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76752         * version.h (RELEASE): Bump for 2.14 release.
76753         * include/features.h (__GLIBC_MINOR__): Bump to 14.
76755         * config.make.in (RANLIB): Remove entry.
76757 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
76759         * po/Makefile (po-sed-cmd): Add ksh to extensions.
76760         (libc.pot): Work around missing support for .ksh extension in xgettext.
76762         [BZ #12684]
76763         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76764         if both request failed.
76765         (send_dg): In case of server errors clear resplen or *resplen2.
76767         [BZ #12454]
76768         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76769         when there are multiple maps.
76770         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76771         (_dl_fini): Remove test here.
76773         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76775 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
76777         [BZ #12350]
76778         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76779         bit from old_res_options.
76780         (gaih_inet): Likewise.
76782         [BZ #11099]
76783         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76784         as signed.
76786         * resolv/res_init.c (res_setoptions): Make the code more compact.
76788         [BZ #11558]
76789         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76790         set RES_USEVC.
76792         [BZ #11634]
76793         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76795         * malloc/malloc.h: Mark malloc hook variables as deprecated.
76797         [BZ #11781]
76798         * malloc/malloc.h: Declare malloc hook variables as volatile.
76800         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76801         in last patch.
76803         [BZ #11799]
76804         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
76805         raise in the comment.
76806         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76807         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76808         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
76810 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
76812         [BZ #12811]
76813         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76814         grow the buffers more if it already has to be sufficient.
76815         (build_wcs_upper_buffer): Likewise.
76816         * posix/regexec.c (check_matching): Likewise.
76817         (clean_state_log_if_needed): Likewise.
76818         (extend_buffers): Don't enlarge buffers beyond size of the input
76819         buffer.
76820         Patches mostly by Emil Wojak <emil@wojak.eu>.
76821         * posix/bug-regex32.c: New file.
76822         * posix/Makefile (tests): Add bug-regex32.
76824         * locale/findlocale.c (_nl_find_locale): Return right away if
76825         _nl_explode_name failed.
76826         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76828         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76830         * debug/xtrace.sh: Unify messages.
76831         * malloc/memusage.sh: Likewise.
76833         [BZ #12813]
76834         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76835         time symbol from vDSO.  Substitute with vsyscall if not available.
76836         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76837         __vdso_time.
76839         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76840         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76841         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76842         Add sendmmsg and internal_sendmmsg.
76843         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76844         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76845         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76847         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76848         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76849         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76851 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
76853         [BZ #12813]
76854         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76855         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
76856         available.
76857         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76858         __vdso_getcpu.
76860         [BZ #12814]
76861         * iconvdata/Makefile (tests): Add bug-iconv9.
76862         * iconvdata/bug-iconv9.c: New file.
76864 2011-05-27  Andreas Schwab  <schwab@redhat.com>
76866         [BZ #12814]
76867         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76869 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
76871         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76872         (struct user_regs_struct): Change intcs field back to cs.
76874 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
76876         * po/ja.po: Update from translation team.
76878 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
76880         [BZ #12795]
76881         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76882         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76884 2011-05-20  Andreas Schwab  <schwab@redhat.com>
76886         * stdlib/longlong.h: Update from GCC.
76888 2011-05-23  Andreas Schwab  <schwab@redhat.com>
76890         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76891         parameter name.
76892         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76893         Add parameter name.
76894         (__sysconf): Pass it down.
76896 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
76898         [BZ #12671]
76899         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76900         some situations.
76901         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76902         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76903         add in in __libc_use_alloca calls.  Adjust callers.
76904         (glob): Use malloc in some situations.
76906         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76907         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76908         pltexit.
76910 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
76912         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76913         and CLOCK_BOOTTIME_ALARM.
76915         [BZ #12782]
76916         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76917         is returned.
76919         * string/_strerror.c (__strerror_r): Print negative errors as signed
76920         numbers.
76922         [BZ #12777]
76923         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76924         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76925         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76927         * configure.in: Fix typo in redirection and correct removal of test
76928         files in two cases.
76930         [BZ #12788]
76931         * locale/setlocale.c (new_composite_name): Fix test to check for
76932         identical name of all categories.
76934         [BZ #12792]
76935         * libio/filedoalloc.c (local_isatty): New function.
76936         (_IO_file_doallocate): Use local_isatty.
76937         * stdio-common/perror.c (perror): In case a new stream is used
76938         forward the stream error.
76939         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76940         error flag.
76942 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
76944         [BZ #11884]
76945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76946         alloca.
76947         * include/alloca.h (extend_alloca_account): Define.
76949         [BZ #11857]
76950         * posix/regex.h: Fix comments with documentation of user-accessible
76951         fields after compilation and describe correct free'ing of pattern
76952         after re_compile_pattern.
76953         Patch by Reuben Thomas <rrt@sc3d.org>.
76955 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
76957         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76958         and -mno-altivec to prevent the compiler from using Altivec and/or
76959         VSX instructions when the corresponding registers are not available.
76961 2011-05-19  Andreas Schwab  <schwab@redhat.com>
76963         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76965 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
76967         * libio/freopen.c (freopen): Use __dup2, not dup2.
76968         * libio/freopen64.c (freopen64): Likewise.
76970 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76972         [BZ #12775]
76973         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76974         * math/Makefile (tests): Add test-powl.
76975         (CFLAGS-test-powl.c): Define.
76976         * math/test-powl.c: New file.
76978 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76980         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
76982 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
76984         [BZ #11837]
76985         * iconvdata/gb18030.c: Update to GB18020-2005.
76987 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
76989         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
76990         RE_SYNTAX_POSIX_AWK): Update to match recent development.
76991         Patch by Aharon Robbins <arnold@skeeve.com>.
76993         [BZ #11892]
76994         * stdlib/putenv.c (putenv): Don't always create copy of the variable
76995         on the stack.
76997         [BZ #11895]
76998         * misc/pselect.c (__pselect): Handle timeout value errors hidden
76999         through underflows.
77001         [BZ #12766]
77002         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77003         point to strings before performing equality test for error_one_per_line
77004         mode.
77006         [BZ #11697]
77007         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77009         [BZ #11820]
77010         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77011         (struct user_fpregs_struct): Avoid __uint*_t types.
77013         [BZ #6420]
77014         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77015         symbol info.  Use it instead of calling _dl_addr locally.
77016         (lock_and_info): New function.
77017         (tr_freehook): Call lock_and_info and pass symbol info as additional
77018         parameter to tr_where.
77019         (tr_mallochook): Likewise.
77020         (tr_reallochook): Likewise.
77021         (tr_memalignhook): Likewise.
77023         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77024         used and couldn't be at all thread-safe.
77026 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77028         * libio/freopen.c (freopen): Don't close old file descriptor
77029         before the new one is opened.  Instead dup the new file descriptor
77030         to the old one after the new stream is created.
77031         * libio/freopen64.c (freopen64): Likewise.
77032         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77033         * libio/fileops.c (_IO_new_file_close_it): Handle new
77034         _IO_FLAGS2_NOCLOSE flag.
77035         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77036         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77037         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77038         _IO_FLAGS2_NOCLOSE flag.
77039         * include/unistd.h: Add hidden_proto for dup3.
77040         Define __have_dup3.
77041         * io/dup3.c: Define hidden symbol.
77042         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77044         [BZ #7101]
77045         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77046         when an incomplete long option is used.
77047         * posix/tst-getopt_long1.c: New file.
77048         * posix/Makefile (tests): Add tst-getopt_long1.
77050         [BZ #10138]
77051         * scripts/config.guess: Update from autoconf-2.68.
77052         * scripts/config.sub: Likewise.
77054         [BZ #10157]
77055         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77056         tests into ...
77057         (has_cpuclock): ...this.  New function.
77058         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77059         macro here based on has_cpuclock code.
77061         [BZ #10149]
77062         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77063         First byte (not low byte) is now always NUL.
77064         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77066         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77067         Use non-cancelable interfaces.
77069         [BZ #9809]
77070         * locale/iso-639.def: Add entry for Sorani.
77072         [BZ #11901]
77073         * include/stdlib.h: Move include protection to the right place.
77074         Define abort_msg_s.  Declare __abort_msg with it.
77075         * stdlib/abort.c (__abort_msg): Adjust type.
77076         * assert/assert.c (__assert_fail_base): New function.  Majority
77077         of code from __assert_fail.  Allocate memory for __abort_msg with
77078         mmap.
77079         (__assert_fail): Now call __assert_fail_base.
77080         * assert/assert-perr.c: Remove bulk of implementation.  Use
77081         __assert_fail_base.
77082         * include/assert.hL Declare __assert_fail_base.
77083         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77084         mmap.
77085         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77087 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77089         [BZ #11952]
77090         [BZ #12453]
77091         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77092         until all modules are registered in the DTV.
77093         * elf/Makefile: Add rules to build and run tst-tls19.
77094         * elf/tst-tls19.c: New file.
77095         * elf/tst-tls19mod1.c: New file.
77096         * elf/tst-tls19mod2.c: New file.
77097         * elf/tst-tls19mod3.c: New file.
77098         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77100         [BZ #12083]
77101         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77102         correctly.
77104         [BZ #12601]
77105         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77106         two-byte sequence errors.
77107         * iconvdata/Makefile (tests): Add bug-iconv8.
77108         * iconvdata/bug-iconv8.c: New file.
77110         [BZ #12626]
77111         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77112         buf2 definition.
77114         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77116         [BZ #12432]
77117         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77118         (dummy_getcfa): New function.
77119         (init): Get _Unwind_GetCFA address, use dummy if not found.
77120         (backtrace_helper): In recursion check, also check whether CFA changes.
77121         (__backtrace): Completely initialize arg.
77123         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77124         storing incomplete byte sequence in state object.  Avoid testing for
77125         guaranteed too small input if we know there is enough data available.
77127 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77129         * Makeconfig (+link-pie): Indent.
77130         * Rules (binaries-pie): Define if $(have-fpie) and
77131         $(build-shared).
77132         (binaries-shared): Also filter out $(binaries-pie).
77133         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77134         * nscd/Makefile (others-pie): Add nscd.
77135         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77136         ($(objpfx)nscd): Remove command override.
77137         * login/Makefile (others-pie): Add pt_chown.
77138         ($(objpfx)pt_chown): Remove command override.
77139         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77140         remove command overrides.
77142 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77144         * libio/tst_putwc.c: Fix error messages.
77146         [BZ #12724]
77147         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77148         currently writing and seek to current position when not.
77149         * libio/Makefile (tests): Add bug-fclose1.
77150         * libio/bug-fclose1.c: New file.
77152 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77154         [BZ #12511]
77155         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77156         don't set DF_1_NODELETE here.
77157         (do_lookup_x): When entering new entry test for copy relocation
77158         and if necessary set DF_1_NODELETE flag.
77159         * elf/tst-unique4.cc: New file.
77160         * elf/tst-unique4.h: New file.
77161         * elf/tst-unique4lib.cc: New file.
77162         * elf/Makefile: Add rules to build and run tst-unique4.
77163         Patch by Piotr Bury <pbury@goahead.com>.
77165 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77167         [BZ #12052]
77168         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77170         [BZ #12625]
77171         * misc/mntent_r.c (addmntent): Flush the stream after the output
77173         [BZ #12393]
77174         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77175         (is_trusted_path_normalize): Skip initial colon.  Append slash
77176         to empty buffer.  Duplicate is_trusted_path code but allow
77177         constructed patch to be prefix.
77178         (is_dst): Allow $ORIGIN followed by /.
77179         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77180         Correct testing of result of is_trusted_path_normalize
77181         (decompose_rpath): Fix warning.
77183 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77185         [BZ #11257]
77186         * grp/initgroups.c (internal_getgrouplist): When we found the service
77187         list through the initgroups entry in nsswitch.conf do not always
77188         continue on a successful lookup.  Don't always use the
77189         __nss_group_database value if it is set.
77190         * nss/nsswitch.conf (initgroups): Change action for successful db
77191         lookup to continue for compatibility.
77193 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77195         [BZ #11532]
77196         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77197         and CP774 modules.
77198         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77199         and CP774 modules.
77200         * iconvdata/tst-tables.sh: Likewise.
77201         * iconvdata/cp770.c: New file.
77202         * iconvdata/cp771.c: New file.
77203         * iconvdata/cp772.c: New file.
77204         * iconvdata/cp773.c: New file.
77205         * iconvdata/cp774.c: New file.
77206         * iconvdata/testdata/CP770: New file.
77207         * iconvdata/testdata/CP770..UTF8: New file.
77208         * iconvdata/testdata/CP771: New file.
77209         * iconvdata/testdata/CP771..UTF8: New file.
77210         * iconvdata/testdata/CP772: New file.
77211         * iconvdata/testdata/CP772..UTF8: New file.
77212         * iconvdata/testdata/CP773: New file.
77213         * iconvdata/testdata/CP773..UTF8: New file.
77214         * iconvdata/testdata/CP774: New file.
77215         * iconvdata/testdata/CP774..UTF8: New file.
77217         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77218         END CHARMAP line.
77219         * iconvdata/gen-8bit-gap.sh: Likewise.
77220         * iconvdata/gen-8bit.sh: Likewise.
77222         * locale/iso-639.def: Add ary entry.
77224         [BZ #11258]
77225         * locale/C-translit.h.in: Add U20A1 transliteration.
77227         [BZ #12178]
77228         * locale/iso-639.def: Add wae entry.
77229         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77231         [BZ #12545]
77232         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77233         for n.
77235         [BZ #12711]
77236         * locale/C-translit.h.in: Add entry for U20B9.
77237         Patch by pravin.d.s@gmail.com.
77239 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77241         [BZ #12713]
77242         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77243         ENAMETOOLONG use generic getcwd.
77244         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77245         in rtld.  Use *stat64.
77246         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77247         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77248         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77249         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77250         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77251         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77252         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77253         __fstatat64 macros.
77254         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77255         * dirent/rewinddir.c: Add libc_hidden_def.
77256         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77257         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77259         * include/dirent.h (__alloc_dir): Add flags parameter.
77260         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77261         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77262         __alloc_dir.
77263         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77264         from fdopendir if O_CLOEXEC is already set.
77266 2011-03-15  Alan Modra  <amodra@gmail.com>
77268         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77269         l_tls_firstbyte_offset non-zero.  Save padding offset in
77270         l_tls_firstbyte_offset for later use.
77271         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77272         freeing static tls block.
77274 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77276         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77277         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77278         being defined by the kernel headers.
77280 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77282         [BZ #12734]
77283         * resolv/resolv.h: Define RES_NOTLDQUERY.
77284         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77285         no-tld-query and set RES_NOTLDQUERY.
77286         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77287         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77288         modern BIND to search name as TLD unless forbidden.
77290 2011-05-07  Petr Baudis  <pasky@suse.cz>
77291             Ulrich Drepper  <drepper@gmail.com>
77293         [BZ #12393]
77294         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77295         (is_trusted_path): ...to here.
77296         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77297         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77298         using is_trusted_path_normalize() in setuid scripts.
77300 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77302         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77303         __BEGIN/__END_DECLS.
77305 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77307         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77308         NSS_STATUS_NOTFOUND if no record was found.
77310 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77312         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77313         (headers-not-in-tirpc): Remove rpc/netdb.h
77314         * resolv/netdb.h: Revert last change.
77316 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77318         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77319         circular dependency between libgcc.a and libc.a.
77321 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77323         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77324         * nis/Makefile: Don't install rpcsvc/*.
77325         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77326         instead of <rpc/types.h>.
77327         (MAXHOSTNAMELEN): Define.
77329 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77331         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77333 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77335         [BZ #12714]
77336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77337         gethostbyname4_r when IPv6 results are possible.
77339 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77341         [BZ #12723]
77342         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77343         _PC_PIPE_BUF handling.
77345 2011-04-30  Bruno Haible  <bruno@clisp.org>
77347         [BZ #12717]
77348         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77349         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77350         to 'int'.
77351         * inet/getnameinfo.c (getnameinfo): Likewise.
77353 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77355         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77356         to groups setting in database lookup.
77357         * nss/nsswitch.conf: Add initgroups entry.
77359 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77361         [BZ #12685]
77362         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77363         mode string.
77364         Patch by Eric Blake <eblake@redhat.com>.
77366 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77368         * sunrpc/Makefile (need-export-routines): Add svc_run.
77369         (routines): Remove svc_run.
77370         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77371         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77372         * sunrpc/svc_run.c (svc_run): Likewise.
77373         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77375 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77377         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77378         problem in reallocation in last patch.
77380 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77382         * sunrpc/Makefile: Move inclusion of Rules.
77384 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77386         * nss/nss_files/files-initgroups.c: New file.
77387         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77388         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77389         _nss_files_initgroups_dyn.
77391 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77393         * elf/elf.h (R_ARM_IRELATIVE): Define.
77395 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77397         * po/ru.po: Update from translation team.
77399 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77401         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77402         dependencies.
77404 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77406         [BZ #12653]
77407         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77408         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77409         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77410         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77411         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77413 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77415         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77416         differing bytes.
77417         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77418         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77419         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77421 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77423         [BZ #12420]
77424         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77425         storing it.
77426         * stdlib/bug-getcontext.c: New file.
77427         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77429 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77431         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77432         instructions into .machine "z9-109".
77433         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77434         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77436 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77438         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77439         between environment variables and auxiliary vector.
77441 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77443         * Makefile: Add rules to build linkobj/libc.so.
77444         * include/libc-symbols.h: Define libc_hidden_nolink.
77445         * include/rpc/auth.h: Mark functions which are to be hidden.
77446         * include/rpc/auth_des.h: Likewise.
77447         * include/rpc/auth_unix.h: Likewise.
77448         * include/rpc/clnt.h: Likewise.
77449         * include/rpc/des_crypt.h: Likewise.
77450         * include/rpc/key_prot.h: Likewise.
77451         * include/rpc/pmap_clnt.h: Likewise.
77452         * include/rpc/pmap_prot.h: Likewise.
77453         * include/rpc/pmap_rmt.h: Likewise.
77454         * include/rpc/rpc_msg.h: Likewise.
77455         * include/rpc/svc.h: Likewise.
77456         * include/rpc/svc_auth.h: Likewise.
77457         * include/rpc/xdr.h: Likewise.
77458         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77459         * nss/Makefile: Likewise.
77460         * sunrpc/Makefile: Don't install headers.  Build library with normal
77461         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77462         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77463         for the compat linking library.  Remove use of INTDEF/INTUSE.
77464         * sunrpc/auth_none.c: Likewise.
77465         * sunrpc/auth_unix.c: Likewise.
77466         * sunrpc/authdes_prot.c: Likewise.
77467         * sunrpc/authuxprot.c: Likewise.
77468         * sunrpc/clnt_gen.c: Likewise.
77469         * sunrpc/clnt_perr.c: Likewise.
77470         * sunrpc/clnt_raw.c: Likewise.
77471         * sunrpc/clnt_simp.c: Likewise.
77472         * sunrpc/clnt_tcp.c: Likewise.
77473         * sunrpc/clnt_udp.c: Likewise.
77474         * sunrpc/clnt_unix.c: Likewise.
77475         * sunrpc/des_crypt.c: Likewise.
77476         * sunrpc/des_soft.c: Likewise.
77477         * sunrpc/get_myaddr.c: Likewise.
77478         * sunrpc/key_call.c: Likewise.
77479         * sunrpc/key_prot.c: Likewise.
77480         * sunrpc/netname.c: Likewise.
77481         * sunrpc/pm_getmaps.c: Likewise.
77482         * sunrpc/pm_getport.c: Likewise.
77483         * sunrpc/pmap_clnt.c: Likewise.
77484         * sunrpc/pmap_prot.c: Likewise.
77485         * sunrpc/pmap_prot2.c: Likewise.
77486         * sunrpc/pmap_rmt.c: Likewise.
77487         * sunrpc/publickey.c: Likewise.
77488         * sunrpc/rpc_cmsg.c: Likewise.
77489         * sunrpc/rpc_common.c: Likewise.
77490         * sunrpc/rpc_dtable.c: Likewise.
77491         * sunrpc/rpc_prot.c: Likewise.
77492         * sunrpc/rpc_thread.c: Likewise.
77493         * sunrpc/rtime.c: Likewise.
77494         * sunrpc/svc.c: Likewise.
77495         * sunrpc/svc_auth.c: Likewise.
77496         * sunrpc/svc_authux.c: Likewise.
77497         * sunrpc/svc_raw.c: Likewise.
77498         * sunrpc/svc_run.c: Likewise.
77499         * sunrpc/svc_simple.c: Likewise.
77500         * sunrpc/svc_tcp.c: Likewise.
77501         * sunrpc/svc_udp.c: Likewise.
77502         * sunrpc/svc_unix.c: Likewise.
77503         * sunrpc/svcauth_des.c: Likewise.
77504         * sunrpc/xcrypt.c: Likewise.
77505         * sunrpc/xdr.c: Likewise.
77506         * sunrpc/xdr_array.c: Likewise.
77507         * sunrpc/xdr_float.c: Likewise.
77508         * sunrpc/xdr_intXX_t.c: Likewise.
77509         * sunrpc/xdr_mem.c: Likewise.
77510         * sunrpc/xdr_rec.c: Likewise.
77511         * sunrpc/xdr_ref.c: Likewise.
77512         * sunrpc/xdr_sizeof.c: Likewise.
77513         * sunrpc/xdr_stdio.c: Likewise.
77515 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
77517         [BZ #12650]
77518         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77519         * sysdeps/ia64/dl-tls.h: Likewise.
77520         * sysdeps/powerpc/dl-tls.h: Likewise.
77521         * sysdeps/s390/dl-tls.h: Likewise.
77522         * sysdeps/sh/dl-tls.h: Likewise.
77523         * sysdeps/sparc/dl-tls.h: Likewise.
77524         * sysdeps/x86_64/dl-tls.h: Likewise.
77525         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77527 2011-03-14  Andreas Schwab  <schwab@redhat.com>
77529         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77530         rpath element also skip the following colon.
77531         (expand_dynamic_string_token): Add is_path parameter and pass
77532         down to DL_DST_REQUIRED and _dl_dst_substitute.
77533         (decompose_rpath): Call expand_dynamic_string_token with
77534         non-zero is_path.  Ignore empty rpaths.
77535         (_dl_map_object_from_fd): Call expand_dynamic_string_token
77536         with zero is_path.
77538 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77541         Make cancelable.
77543 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77545         [BZ #12655]
77546         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77547         Patch by Filipe David Manana <fdmanana@apache.org>.
77549 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77551         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77552         Maintain aligned stack.
77553         (CHECK_RSP): Remove unused macro.
77555 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77557         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77558         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77560 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77562         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77564         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77566 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77568         [BZ #12518]
77569         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77570         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77571         * sysdeps/x86_64/memmove.c: New file.
77572         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77573         (memcpy): Renamed to ...
77574         (__new_memcpy): This.
77575         (memcpy): Provide GLIBC_2_14 memcpy.
77576         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77577         (memcpy): Provide GLIBC_2_2_5 memcpy.
77579 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77581         [BZ #12631]
77582         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77584 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77586         * misc/syncfs.c: New file.
77587         * misc/Makefile (routines): Add syncfs.
77588         * posix/unistd.h: Declare syncfs.
77589         * sysdeps/unix/syscalls.list: Add syncfs.
77591 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77593         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77594         open_by_handle_at.
77595         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77596         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77597         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77598         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77600         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77601         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77603 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77605         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77606         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77607         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77608         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77609         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77610         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77611         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77613         * io/Makefile: Compile fallocate.c, fallocate64.c, and
77614         sync_file_range.c with -fexceptions.
77615         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77616         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77617         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77618         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77619         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77620         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77621         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77622         sync_file_range as cancellation point
77623         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
77624         now a wrapper around __call_sync_file_range with cancellation handling.
77625         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77626         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
77627         function name to __call_sync_file_range.
77628         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77629         Add call_sync_file_range.
77631 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77634         bits/timex.h.
77636 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77638         * iconv/iconv.h: Fix typo in comment.
77639         * io/fcntl.h: Likewise.
77640         * libio/stdio.h: Likewise.
77641         * posix/spawn.h: Likewise.
77642         * posix/unistd.h: Likewise.
77643         * stdlib/stdlib.h: Likewise.
77644         * time/time.h: Likewise.
77645         * wcsmbs/wchar.h: Likewise.
77647         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77648         open_by_handle): Add.
77649         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77650         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
77651         Augment a few comments.
77652         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77653         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77654         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77655         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77656         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77657         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77658         open_by_handle.
77660         * io/fcntl.h (AT_EMPTY_PATH): Define.
77662 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
77664         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77665         * sysdeps/unix/sysv/linux/bits/time.h: New file.
77666         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77667         to...
77668         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
77669         * Versions.def: Add GLIBC_2.14.
77670         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77671         Export.
77673 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
77675         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77676         round counter.
77677         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77679 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77681         [BZ #12597]
77682         * string/test-strncmp.c (do_page_test): New function.
77683         (check2): Likewise.
77684         (test_main): Call check2.
77685         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77687 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
77689         [BZ #12587]
77690         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77691         Handle cache information in CPU leaf 4.
77692         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77694 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
77696         [BZ #12583]
77697         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77698         character representation.
77699         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77701 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
77703         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77704         END(__isnan) to END(__isnanf) to match function entry point/label
77705         EALIGN(__isnanf,...).
77707 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
77709         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77711 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
77713         [BZ #12510]
77714         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77715         copy from the symbol referenced in the relocation to initialize the
77716         used variable.
77717         Patch by Piotr Bury <pbury@goahead.com>.
77718         * elf/Makefile: Add rules to build and tst-unique3.
77719         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77720         * elf/tst-unique3.cc: New file.
77721         * elf/tst-unique3.h: New file.
77722         * elf/tst-unique3lib.cc: New file.
77723         * elf/tst-unique3lib2.cc: New file.
77725         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77727 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
77729         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77730         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
77731         to _start.
77733 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
77735         * elf/dl-load.c (_dl_map_object): If we are looking for the first
77736         to-be-loaded object along a path to loader is ld.so.
77738 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77739             Ulrich Drepper  <drepper@gmail.com>
77741         * sysdeps/x86_64/memset.S: After aligning destination, code
77742         branches to different locations depending on the value of
77743         misalignment, when multiarch is enabled. Fix this.
77745 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77747         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77748         Set _x86_64_preferred_memory_instruction for AMD processsors.
77749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77750         Set bit_Prefer_SSE_for_memop for AMD processors.
77752 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
77754         * libio/fmemopen.c (fmemopen): Optimize a bit.
77756 2011-03-03  Andreas Schwab  <schwab@redhat.com>
77758         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77760 2011-03-03  Roland McGrath  <roland@redhat.com>
77762         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77764 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
77766         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77767         __bzero_ultra1 instead of __memset_ultra1.
77769 2011-02-23  Andreas Schwab  <schwab@redhat.com>
77770             Ulrich Drepper  <drepper@gmail.com>
77772         [BZ #12509]
77773         * include/link.h (struct link_map): Add l_orig_initfini.
77774         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77775         returning unsuccessfully.
77776         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77777         close of a file loaded at startup, restore the original l_initfini
77778         list.
77779         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77780         list, store the pointer.
77781         * elf/Makefile ($(objpfx)noload-mem): New rule.
77782         (noload-ENV): Define.
77783         (tests): Add $(objpfx)noload-mem.
77784         * elf/noload.c: Include <memcheck.h>.
77785         (main): Call mtrace.  Close all opened handles.
77787 2011-02-17  Andreas Schwab  <schwab@redhat.com>
77789         [BZ #12454]
77790         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77791         dependencies are missing.
77793 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77795         Fix __if_freereq crash: Unlike the generic version which uses free,
77796         Hurd needs munmap.
77797         * sysdeps/mach/hurd/ifreq.h: New file.
77799 2011-01-27  Petr Baudis  <pasky@suse.cz>
77800             Ulrich Drepper  <drepper@gmail.com>
77802         [BZ 12445]#
77803         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
77804         to extend_alloca().
77805         * stdio-common/bug23.c: New file.
77806         * stdio-common/Makefile (tests): Add bug23.
77808 2010-09-28  Andreas Schwab  <schwab@redhat.com>
77809             Ulrich Drepper  <drepper@gmail.com>
77811         [BZ #12489]
77812         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77813         before performing relro protection.  At old place add assertion
77814         to make sure nothing changed.
77816 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
77817             Glauber de Oliveira Costa  <glommer@gmail.com>
77819         * elf/elf.h: Add new ARM TLS relocs.
77821 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
77823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77824         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77825         cast from r3.
77826         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
77827         'tests' variable.
77828         * sysdeps/wordsize-64/tst-writev.c: New file.
77830 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
77832         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77833         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77834         insns in _dl_start to prevent a TOC reference before relocs are
77835         resolved.
77837 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
77839         [BZ #12469]
77840         * Makeconfig: Remove RANLIB definition.
77841         * Makerules: Don't use RANLIB.
77842         * aclocal.m4: Remove ranlib test.
77843         * configure.in: No need to check for ranlib.
77844         * elf/rtld-Rules: Don't use RANLIB.
77846 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77848         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77849         protection macro.
77850         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77851         inclusion protection macro.
77853         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77854         SIGRTMIN and SIGRTMAX and print information in that case only when
77855         SIGRTMIN is defined.
77857 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
77859         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77860         arginfo fn returning -1.
77862         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77863         and thousands string is zero terminated.
77865 2011-02-03  Andreas Schwab  <schwab@redhat.com>
77867         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77868         sysdeps/unix/sysv/linux/bits/socket.h.
77870 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77872         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77873         (__CPU_COUNT): Remove old macros.
77874         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77875         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77876         (__CPU_ALLOC, __CPU_FREE): Add macros.
77877         (__sched_cpualloc, __sched_cpufree): Add declarations.
77879 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
77881         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77882         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77883         * nscd/aicache.c (addhstaiX): Return timeout of added value.
77884         (readdhstai): Return value of addhstaiX call.
77885         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77886         (addgrbyX): Return value returned by cache_addgr.
77887         (readdgrbyname): Return value returned by addgrbyX.
77888         (readdgrbygid): Likewise.
77889         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77890         (addpwbyX): Return value returned by cache_addpw.
77891         (readdpwbyname): Return value returned by addhstbyX.
77892         (readdpwbyuid): Likewise.
77893         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77894         (addservbyX): Return value returned by cache_addserv.
77895         (readdservbyname): Return value returned by addservbyX:
77896         (readdservbyport): Likewise.
77897         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77898         (addhstbyX): Return value returned by cache_addhst.
77899         (readdhstbyname): Return value returned by addhstbyX.
77900         (readdhstbyaddr): Likewise.
77901         (readdhstbynamev6): Likewise.
77902         (readdhstbyaddrv6): Likewise.
77903         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77904         (readdinitgroups): Return value returned by addinitgroupsX.
77905         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77906         (prune_cache): Keep track of timeout value of re-added entries.
77907         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77908         * nscd/nscd.h: Adjust prototypes of readd* functions.
77910 2011-02-04  Roland McGrath  <roland@redhat.com>
77912         * nis/nis_server.c (nis_servstate): Use the right name for 0.
77913         (nis_stats): Likewise.
77914         * nis/nis_modify.c (nis_modify): Likewise.
77915         * nis/nis_remove.c (nis_remove): Likewise.
77916         * nis/nis_add.c (nis_add): Likewise.
77918         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77920         * posix/fnmatch_loop.c: Add some consts.
77922         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77924 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
77926         [BZ #12460]
77927         * config.make.in (config-cflags-novzeroupper): Define.
77928         * configure.in: Substitute libc_cv_cc_novzeroupper.
77929         * elf/Makefile (AVX-CFLAGS): Define.
77930         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77931         (CFLAGS-tst-auditmod4a.c): Likewise.
77932         (CFLAGS-tst-auditmod4b.c): Likewise.
77933         (CFLAGS-tst-auditmod6b.c): Likewise.
77934         (CFLAGS-tst-auditmod6c.c): Likewise.
77935         (CFLAGS-tst-auditmod7b.c): Likewise.
77936         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77938 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
77940         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77941         function to the callback.
77942         Patch partly by Jiri Olsa <jolsa@redhat.com>.
77944 2011-02-02  Andreas Schwab  <schwab@redhat.com>
77946         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77947         of errno.
77949 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
77951         [BZ #11724]
77952         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77953         of constructors.
77954         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77955         of destructors.
77956         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77958         [BZ #11724]
77959         * elf/Makefile: Add rules to build and run new test.
77960         * elf/tst-initorder.c: New file.
77961         * elf/tst-initorder.exp: New file.
77962         * elf/tst-initordera1.c: New file.
77963         * elf/tst-initordera2.c: New file.
77964         * elf/tst-initordera3.c: New file.
77965         * elf/tst-initordera4.c: New file.
77966         * elf/tst-initorderb1.c: New file.
77967         * elf/tst-initorderb2.c: New file.
77968         * elf/tst-order-a1.c: New file.
77969         * elf/tst-order-a2.c: New file.
77970         * elf/tst-order-a3.c: New file.
77971         * elf/tst-order-a4.c: New file.
77972         * elf/tst-order-b1.c: New file.
77973         * elf/tst-order-b2.c: New file.
77974         * elf/tst-order-main.c: New file.
77975         New test case by George Gensure <werkt0@gmail.com>.
77977 2010-10-01  Andreas Schwab  <schwab@redhat.com>
77979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77980         decoding ACE if AI_CANONIDN.
77982 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
77984         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
77986 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
77988         * version.h (RELEASE): Bump for 2.13 release.
77989         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
77991         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
77993         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
77994         MADV_NOHUGEPAGE.
77995         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
77996         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
77997         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77998         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77999         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78000         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78002         * posix/getconf.c: Update copyright year.
78003         * catgets/gencat.c: Likewise.
78004         * csu/version.c: Likewise.
78005         * debug/catchsegv.sh: Likewise.
78006         * debug/xtrace.sh: Likewise.
78007         * elf/ldconfig.c: Likewise.
78008         * elf/ldd.bash.in: Likewise.
78009         * elf/sprof.c (print_version): Likewise.
78010         * iconv/iconv_prog.c: Likewise.
78011         * iconv/iconvconfig.c: Likewise.
78012         * locale/programs/locale.c: Likewise.
78013         * locale/programs/localedef.c: Likewise.
78014         * malloc/memusage.sh: Likewise.
78015         * malloc/mtrace.pl: Likewise.
78016         * nscd/nscd.c (print_version): Likewise.
78017         * nss/getent.c: Likewise.
78019         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78020         PF_CAIF, and PF_ALG.
78021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78023 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78025         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78026         (modules-names): Use them.
78027         (ifunc-test-modules, ifunc-pie-tests): Define.
78028         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78029         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78030         (test-extras): Likewise.
78031         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78032         $(compile-command.c).
78033         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78034         (all-built-dso): Define.
78035         (check-textrel.out, check-execstack.out): Depend on it.
78037         * configure.in: Don't override --enable-multi-arch.
78039 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78041         [BZ #6812]
78042         * nscd/hstcache.c (tryagain): Define.
78043         (cache_addhst): Return tryagain not notfound for temporary errors.
78044         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78045         failed.
78047 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78049         [BZ #10563]
78050         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78051         to make the syscall.
78052         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78054         [BZ #12378]
78055         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78056         and fall back to matching as normal character if the string ends before
78057         the matching ']' is found.  This is what POSIX requires.
78058         * posix/testfnm.c: Adjust test result.
78059         * posix/globtest.sh: Adjust test result.  Add new test.
78060         * posix/tst-fnmatch.input: Likewise.
78061         * posix/tst-fnmatch2.c: Add new test.
78063 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78065         * elf/Makefile (check-execstack): Revert last change.  Depend on
78066         check-execstack.h.
78067         (check-execstack.h): New target.
78068         (generated): Add check-execstack.h.
78069         * elf/check-execstack.c: Include "check-execstack.h".
78070         (main): Revert last change.
78071         (handle_file): Return zero if GNU_STACK is absent and
78072         DEFAULT_STACK_PERMS doesn't include PF_X.
78074 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78076         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78077         in child fails because the descriptor is already closed.
78078         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78079         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78080         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78082         [BZ #12397]
78083         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78084         syscall.
78086         [BZ #10484]
78087         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78088         temporary buffer used to handle multi lookups locally.
78089         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78091 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78093         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78094         loader is ld.so.
78096 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78098         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78099         alignment for SSE2.
78101 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78103         [BZ #12394]
78104         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78105         characters.  When rounding increased number of integer digits recompute
78106         number of groups.
78107         * stdio-common/tst-grouping.c: New file.
78108         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78110 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78112         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78113         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78115         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78116         void.
78117         * bits/select.h: Likewise.
78119 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78121         * po/ja.po: Update from translation team.
78123 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78125         [BZ #11155]
78126         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78127         implementation just like for lxstat, fxstatat, et al.
78129 2010-12-27  Jim Meyering  <meyering@redhat.com>
78131         [BZ #12348]
78132         * posix/regexec.c (build_trtable): Return failure indication upon
78133         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78135 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78137         [BZ #12201]
78138         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78139         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78140         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78141         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78143         [BZ #12207]
78144         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78146         [BZ #12204]
78147         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78148         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78150 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78152         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78153         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78154         script has SORT_BY_INIT_PRIORITY.
78155         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78156         NO_CTORS_DTORS_SECTIONS is defined.
78157         * elf/soinit.c: Likewise.
78158         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78159         NO_CTORS_DTORS_SECTIONS is defined.
78160         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78161         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78162         * sysdeps/sh/init-first.c: Likewise.
78163         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78165 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78167         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78168         always use the slow path.
78170 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78172         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78173         similar rule which adds the sysdep directories to the header search in
78174         order to pick up the correct platform stackinfo.h.
78175         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78176         perform test if it is, otherwise return successfully without testing.
78177         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78178         DEFAULT_STACK_PERMS define in stackinfo.h.
78179         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78180         defined in stackinfo.h.
78181         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78182         DEFAULT_STACK_PERMS defined in stackinfo.h.
78183         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78184         * sysdeps/ia64/stackinfo.h: Likewise.
78185         * sysdeps/s390/stackinfo.h: Likewise.
78186         * sysdeps/sh/stackinfo.h: Likewise.
78187         * sysdeps/sparc/stackinfo.h: Likewise.
78188         * sysdeps/x86_64/stackinfo.h: Likewise.
78189         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78190         PF_X for powerpc64.  Retain PF_X for powerpc32.
78192 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78194         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78195         accurately.
78196         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78197         GETDENTS_64BIT_ALIGNED.
78199 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78201         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78203 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78205         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78206         _GNU_SOURCE.
78208         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78209         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78210         Remove __restrict.
78211         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78212         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78214 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78216         [BZ #11655]
78217         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78218         are initialized.
78220 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78222         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78224 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78226         * po/it.po: Update from translation team.
78228 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78230         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78231         unused codes.
78233 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78235         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78237 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78239         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78240         specially.
78241         (gaih_getanswer_slice): Likewise.
78243 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78247 2010-05-31  Petr Baudis  <pasky@suse.cz>
78249         [BZ #11149]
78250         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78251         silently even in the chroot mode.
78253 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78255         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78256         last patch a bit.  Pretty printing
78258 2010-05-31  Petr Baudis <pasky@suse.cz>
78260         [BZ #10085]
78261         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78262         initialization of skip_initgroups_dyn.
78264 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78266         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78267         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78269 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78271         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78273 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78275         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78276         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78277         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78278         ($(objpfx)tst-fnmatch-mem): New rule.
78279         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78280         * posix/tst-fnmatch.c (main): Call mtrace.
78282 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78285         Support Intel processor model 6 and model 0x2c.
78287 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78289         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78290           signed comparison.
78292 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78294         [BZ #12205]
78295         * string/test-strncasecmp.c (check_result): New function.
78296         (do_one_test): Use it.
78297         (check1): New function.
78298         (test_main): Use it.
78299         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78300         Support strcasecmp and strncasecmp.
78302 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78304         [BZ #12194]
78305         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78306         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78308 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78310         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78311         IFUNC support.
78312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78313         memset-x86-64.
78314         * sysdeps/x86_64/multiarch/bzero.S: New file.
78315         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78316         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78317         * sysdeps/x86_64/multiarch/memset.S: New file.
78318         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78319         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78320         Set bit_Prefer_SSE_for_memop for Intel processors.
78321         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78322         Define.
78323         (index_Prefer_SSE_for_memop): Define.
78324         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78326 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78328         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78329         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78331 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78333         [BZ #12191]
78334         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78335         (__x86_64_raw_data_cache_size_half): Likewise.
78336         (__x86_64_raw_shared_cache_size): Likewise.
78337         (__x86_64_raw_shared_cache_size_half): Likewise.
78339         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78340         (__x86_64_raw_data_cache_size_half): Likewise.
78341         (__x86_64_raw_shared_cache_size): Likewise.
78342         (__x86_64_raw_shared_cache_size_half): Likewise.
78343         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78344         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78345         and __x86_64_raw_shared_cache_size_half.  Round
78346         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78347         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78348         to multiple of 256 bytes.
78350 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78352         [BZ #12167]
78353         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78354         of inacessible symlinks.  Verify result of symlink before returning it.
78355         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78356         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78358 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78360         * math/math.h (isinf): Fix typo in comment.
78362 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78364         * po/da.po: Update from translation team.
78366 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78368         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78369         is added to the list.
78371 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78372             Ulrich Drepper  <drepper@gmail.com>
78374         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78375         the global list here.  Move code to...
78376         (_dl_add_to_namespace_list): ...here.  New function.
78377         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78378         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78379         * elf/dl-load.c (lose): Don't remove the element from the list.
78380         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78381         (_dl_map_object): Likewise.
78383 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78385         [BZ #12159]
78386         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78387         into all bytes of SSE register.
78388         Patch by Richard Li <richardpku@gmail.com>.
78390 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78392         [BZ #12140]
78393         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78394         perturbing.
78396 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78398         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78399         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78400         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78401         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78403         submachine.
78404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78406 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78408         * include/dlfcn.h (__RTLD_SECURE): Define.
78409         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78410         mode & __RTLD_SECURE instead.
78411         (open_path): Rename preloaded parameter to secure.
78412         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78413         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78414         * elf/dl-deps.c (openaux): Likewise.
78415         * elf/rtld.c (struct map_args): Remove is_preloaded.
78416         (map_doit): Don't use it.
78417         (dl_main): Likewise.
78418         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78419         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78421 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78423         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78424         (sysd-rules-targets): Remove duplicates.
78425         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78426         rtld-%.$o dependency.
78428 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78430         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78431         _dl_map_object do it.
78433 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78435         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78436         fast fma builtins, define the macros in the C99 standard.
78437         (FP_FAST_FMAF): Likewise.
78438         (FP_FAST_FMAL): Likewise.
78439         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78441         * bits/mathdef.h: Update copyright year.
78442         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78444 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78446         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78447         builtins, define the macros in the C99 standard.
78448         (FP_FAST_FMAF): Likewise.
78449         (FP_FAST_FMAL): Likewise.
78450         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78451         multiply/add.
78452         (FP_FAST_FMAF): Likewise.
78454 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78456         [BZ #3268]
78457         * math/libm-test.inc (fma_test): Some new testcases.
78458         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78459         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78460         y and infinite z.  Do multiplication by C already in long double.
78461         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78463         y and infinite z.  Do bitwise or of inexact bit into u.d.
78464         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78465         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78466         * sysdeps/i386/fpu/s_fma.S: Removed.
78467         * sysdeps/i386/fpu/s_fmal.S: Removed.
78469 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78471         [BZ #3268]
78472         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78473         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78474         computation is not scheduled after fetestexcept.  Fix value
78475         of minimum denormal long double.
78477 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78479         [BZ #3268]
78480         * math/libm-test.inc (fma_test): Add some more tests.
78481         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78482         correctly.
78484 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78486         * scripts/data/localplt-s390-linux-gnu.data: New file.
78487         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78489 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78491         [BZ #3268]
78492         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78493         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78494         instead of dbl-64.
78495         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78496         inlines.
78497         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78498         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78499         if one of x and y is very large and the other is subnormal.
78500         * sysdeps/s390/fpu/s_fmaf.c: New file.
78501         * sysdeps/s390/fpu/s_fma.c: New file.
78502         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78503         * sysdeps/powerpc/fpu/s_fma.S: New file.
78504         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78505         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78506         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78508 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78510         [BZ #3268]
78511         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78512         fma tests.
78513         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78514         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78515         * sysdeps/i386/i686/multiarch/s_fma.c: Include
78516         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78517         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78518         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78519         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78521 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
78523         [BZ #12078]
78524         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78525         * posix/bug-regex31.input: Add test case.
78527 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78529         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78530         * posix/bug-regex31.input: New file.
78532         [BZ #12078]
78533         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78534         (parse_sub_exp): Fix last change, use postorder.
78536         * posix/bug-regex31.c: New file.
78537         * posix/Makefile: Add rules to build and run bug-regex31.
78539         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78541         [BZ #12078]
78542         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78544         [BZ #12108]
78545         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78546         to have entries in sys_siglist.
78548         [BZ #12093]
78549         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78550         be NULL.
78552 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78554         [BZ #3268]
78555         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78556         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78557         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78558         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78559         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78560         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78561         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78562         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78563         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78564         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78565         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78566         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78567         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78568         * math/ftestexcept.c (fetestexcept): Likewise.
78569         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78570         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78571         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78572         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78573         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78574         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78575         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78577 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78579         [BZ #12107]
78580         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78581         newline.
78583 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78585         * string/bug-strstr1.c: New file.
78586         * string/Makefile: Add rules to build and run bug-strstr1.
78588 2010-10-05  Eric Blake  <eblake@redhat.com>
78590         [BZ #12092]
78591         * string/str-two-way.h (two_way_long_needle): Always clear memory
78592         when skipping input due to the shift table.
78594 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
78596         [BZ #12005]
78597         * malloc/mcheck.c: Handle large requests.
78599         [BZ #12077]
78600         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78601         for strncmp and strncasecmp.
78602         * string/stratcliff.c: Add tests for strcmp and strncmp.
78603         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78605 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78607         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78608         __set_fpscr.
78610 2010-09-30  Andreas Jaeger  <aj@suse.de>
78612         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78613         (CGROUP_SUPER_MAGIC): Define.
78614         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78615         Handle btrfs and cgroup file systems.
78616         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78617         Likewise.
78619 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
78621         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78622         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78624 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78626         [BZ #12067]
78627         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78628         trying to locate the ELF header.
78630 2010-09-27  Andreas Schwab  <schwab@redhat.com>
78632         [BZ #11611]
78633         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78634         Mask out sign-bit copies when constructing f_fsid.
78636 2010-09-24  Petr Baudis <pasky@suse.cz>
78638         * debug/stack_chk_fail_local.c: Add missing licence exception.
78639         * debug/warning-nop.c: Likewise.
78641 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
78643         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78644         implementing getdents64 using getdents syscall, set d_type if
78645         __ASSUME_GETDENTS32_D_TYPE.
78647 2010-09-16  Andreas Schwab  <schwab@redhat.com>
78649         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78650         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78652 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
78654         [BZ #12037]
78655         * posix/unistd.h: Undo change of feature selection for ftruncate from
78656         2010-01-11.
78658 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
78660         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78661         detection.
78663 2010-09-20  Andreas Schwab  <schwab@redhat.com>
78665         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78666         fanotify_mark.
78667         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78669 2010-09-14  Andreas Schwab  <schwab@redhat.com>
78671         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78672         variables after CHECK_SP call.
78673         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78675 2010-09-13  Andreas Schwab  <schwab@redhat.com>
78676             Ulrich Drepper  <drepper@redhat.com>
78678         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78679         re-relocationg ld.so.
78680         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78681         _dl_init_paths call.
78682         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
78683         here anymore.
78685 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
78687         * resolv/res_init.c (__res_vinit): Count the default server we added.
78689 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
78690             Ulrich Drepper  <drepper@redhat.com>
78692         [BZ #11968]
78693         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78694         (____longjmp_chk): Use %ebx for saving value across system call.
78695         Add unwind info.
78697 2010-09-06  Andreas Schwab  <schwab@redhat.com>
78699         * manual/Makefile: Don't mix pattern rules with normal rules.
78701 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
78703         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78704         operation.
78705         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78706         * libio/iofopncook.c (_IO_cookie_init): Likewise.
78707         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78708         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78709         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78710         Likewise.
78712 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
78714         [BZ #11979]
78715         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78716         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78718 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
78720         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78721         * sysdeps/x86_64/addmul_1.S: Likewise.
78722         * sysdeps/x86_64/lshift.S: Likewise.
78723         * sysdeps/x86_64/mul_1.S: Likewise.
78724         * sysdeps/x86_64/rshift.S: Likewise.
78725         * sysdeps/x86_64/sub_n.S: Likewise.
78726         * sysdeps/x86_64/submul_1.S: Likewise.
78728 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78730         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78731         Define __sched_param instead of SCHED_* and sched_param when
78732         <bits/sched.h> is included with __need_schedparam defined.
78733         * bits/sched.h [__need_schedparam]
78734         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78735         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78736         (__defined_schedparam): Define to 1.
78737         (__sched_param): New structure, identical to sched_param.
78738         (__need_schedparam): Undefine.
78740 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
78742         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78743         (epoll_create1): Declare.
78745         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78747 2010-08-31  Andreas Schwab  <schwab@redhat.com>
78749         [BZ #7066]
78750         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78751         shifting retval into place.
78753 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
78755         * nis/rpcsvc/nis.h: Update copyright notice.
78756         * nis/rpcsvc/nis.x: Likewise.
78757         * nis/rpcsvc/nis_callback.h: Likewise.
78758         * nis/rpcsvc/nis_callback.x: Likewise.
78759         * nis/rpcsvc/nis_object.x: Likewise.
78760         * nis/rpcsvc/nis_tags.h: Likewise.
78761         * nis/rpcsvc/yp.h: Likewise.
78762         * nis/rpcsvc/yp.x: Likewise.
78763         * nis/rpcsvc/ypupd.h: Likewise.
78764         * nis/yp_xdr.c: Likewise.
78765         * nis/ypupdate_xdr.c: Likewise.
78767         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
78768         mainly the body of pmap_getport.  Add parameters to specify timeouts.
78769         (pmap_getport): Use __libc_rpc_getport.
78770         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78771         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78772         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78774 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
78776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78777         fanotify_mark.
78779 2010-08-27  Roland McGrath  <roland@redhat.com>
78781         * sysdeps/i386/i686/multiarch/Makefile
78782         (CFLAGS-varshift.c): New variable.
78784 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
78786         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78787         * sysdeps/i386/i686/multiarch/varshift.c: New file.
78789         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78791         * sysdeps/x86_64/strlen.S: Minimal code improvement.
78793 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
78795         * sysdeps/x86_64/strlen.S: Unroll the loop.
78796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78797         strlen-sse2 strlen-sse2-bsf.
78798         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78799         __strlen_no_bsf if bit_Slow_BSF is set.
78800         (__strlen_sse42): Removed.
78801         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78802         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
78804 2010-08-25  Roland McGrath  <roland@redhat.com>
78806         * sysdeps/x86_64/multiarch/varshift.S: File removed.
78807         * sysdeps/x86_64/multiarch/varshift.c: New file.
78808         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
78809         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
78810         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
78811         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78813 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
78815         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78816         strlen-sse2 strlen-sse2-bsf.
78817         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78818         __strlen_sse2_bsf if bit_Slow_BSF is unset.
78819         (__strlen_sse2): Removed.
78820         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78821         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78822         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78823         bit_Slow_BSF for Atom.
78824         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78825         (index_Slow_BSF): Define.
78826         (HAS_SLOW_BSF): Define.
78828 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
78830         [BZ #10851]
78831         * resolv/res_init.c (__res_vinit): When no server address at all
78832         is given default to loopback.
78834 2010-08-24  Roland McGrath  <roland@redhat.com>
78836         * configure.in: Remove config-name.h generation.
78837         * configure: Regenerated.
78838         * config-name.in: File removed.
78839         * scripts/config-uname.sh: New file.
78840         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78841         ($(objdir)config-name.h): New target.
78843         * sunrpc/rpc_parse.h: Avoid nested comment.
78845 2010-08-24  Richard Henderson  <rth@redhat.com>
78846             Ulrich Drepper  <drepper@redhat.com>
78847             H.J. Lu  <hongjiu.lu@intel.com>
78849         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78851         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78852         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
78853         _mm_alignr_epi8 with _mm_loadu_si128.
78854         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78855         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78856         (__m128i_shift_right): Removed.
78857         * sysdeps/i386/i686/multiarch/varshift.h: New file.
78858         * sysdeps/i386/i686/multiarch/varshift.S: New file.
78859         * sysdeps/x86_64/multiarch/varshift.h: New file.
78860         * sysdeps/x86_64/multiarch/varshift.S: New file.
78862 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
78864         * configure.in: Move assembler checks to before sysdep dir checking.
78866 2010-08-20  Petr Baudis  <pasky@suse.cz>
78868         * LICENSES: Sync the sunrpc license.
78870 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
78872         * sunrpc/auth_des.c: Update copyright notice once again.
78873         * sunrpc/auth_none.c: Likewise.
78874         * sunrpc/auth_unix.c: Likewise.
78875         * sunrpc/authdes_prot.c: Likewise.
78876         * sunrpc/authuxprot.c: Likewise.
78877         * sunrpc/bindrsvprt.c: Likewise.
78878         * sunrpc/clnt_gen.c: Likewise.
78879         * sunrpc/clnt_perr.c: Likewise.
78880         * sunrpc/clnt_raw.c: Likewise.
78881         * sunrpc/clnt_simp.c: Likewise.
78882         * sunrpc/clnt_tcp.c: Likewise.
78883         * sunrpc/clnt_udp.c: Likewise.
78884         * sunrpc/clnt_unix.c: Likewise.
78885         * sunrpc/des_crypt.c: Likewise.
78886         * sunrpc/des_soft.c: Likewise.
78887         * sunrpc/get_myaddr.c: Likewise.
78888         * sunrpc/getrpcport.c: Likewise.
78889         * sunrpc/key_call.c: Likewise.
78890         * sunrpc/key_prot.c: Likewise.
78891         * sunrpc/openchild.c: Likewise.
78892         * sunrpc/pm_getmaps.c: Likewise.
78893         * sunrpc/pm_getport.c: Likewise.
78894         * sunrpc/pmap_clnt.c: Likewise.
78895         * sunrpc/pmap_prot.c: Likewise.
78896         * sunrpc/pmap_prot2.c: Likewise.
78897         * sunrpc/pmap_rmt.c: Likewise.
78898         * sunrpc/rpc/auth.h: Likewise.
78899         * sunrpc/rpc/auth_unix.h: Likewise.
78900         * sunrpc/rpc/clnt.h: Likewise.
78901         * sunrpc/rpc/des_crypt.h: Likewise.
78902         * sunrpc/rpc/key_prot.h: Likewise.
78903         * sunrpc/rpc/netdb.h: Likewise.
78904         * sunrpc/rpc/pmap_clnt.h: Likewise.
78905         * sunrpc/rpc/pmap_prot.h: Likewise.
78906         * sunrpc/rpc/pmap_rmt.h: Likewise.
78907         * sunrpc/rpc/rpc.h: Likewise.
78908         * sunrpc/rpc/rpc_des.h: Likewise.
78909         * sunrpc/rpc/rpc_msg.h: Likewise.
78910         * sunrpc/rpc/svc.h: Likewise.
78911         * sunrpc/rpc/svc_auth.h: Likewise.
78912         * sunrpc/rpc/types.h: Likewise.
78913         * sunrpc/rpc/xdr.h: Likewise.
78914         * sunrpc/rpc_clntout.c: Likewise.
78915         * sunrpc/rpc_cmsg.c: Likewise.
78916         * sunrpc/rpc_common.c: Likewise.
78917         * sunrpc/rpc_cout.c: Likewise.
78918         * sunrpc/rpc_dtable.c: Likewise.
78919         * sunrpc/rpc_hout.c: Likewise.
78920         * sunrpc/rpc_main.c: Likewise.
78921         * sunrpc/rpc_parse.c: Likewise.
78922         * sunrpc/rpc_parse.h: Likewise.
78923         * sunrpc/rpc_prot.c: Likewise.
78924         * sunrpc/rpc_sample.c: Likewise.
78925         * sunrpc/rpc_scan.c: Likewise.
78926         * sunrpc/rpc_scan.h: Likewise.
78927         * sunrpc/rpc_svcout.c: Likewise.
78928         * sunrpc/rpc_tblout.c: Likewise.
78929         * sunrpc/rpc_util.c: Likewise.
78930         * sunrpc/rpc_util.h: Likewise.
78931         * sunrpc/rpcinfo.c: Likewise.
78932         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78933         * sunrpc/rpcsvc/key_prot.x: Likewise.
78934         * sunrpc/rpcsvc/klm_prot.x: Likewise.
78935         * sunrpc/rpcsvc/mount.x: Likewise.
78936         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78937         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78938         * sunrpc/rpcsvc/rex.x: Likewise.
78939         * sunrpc/rpcsvc/rstat.x: Likewise.
78940         * sunrpc/rpcsvc/rusers.x: Likewise.
78941         * sunrpc/rpcsvc/sm_inter.x: Likewise.
78942         * sunrpc/rpcsvc/spray.x: Likewise.
78943         * sunrpc/rpcsvc/yppasswd.x: Likewise.
78944         * sunrpc/rtime.c: Likewise.
78945         * sunrpc/svc.c: Likewise.
78946         * sunrpc/svc_auth.c: Likewise.
78947         * sunrpc/svc_authux.c: Likewise.
78948         * sunrpc/svc_raw.c: Likewise.
78949         * sunrpc/svc_run.c: Likewise.
78950         * sunrpc/svc_simple.c: Likewise.
78951         * sunrpc/svc_tcp.c: Likewise.
78952         * sunrpc/svc_udp.c: Likewise.
78953         * sunrpc/svc_unix.c: Likewise.
78954         * sunrpc/svcauth_des.c: Likewise.
78955         * sunrpc/xcrypt.c: Likewise.
78956         * sunrpc/xdr.c: Likewise.
78957         * sunrpc/xdr_array.c: Likewise.
78958         * sunrpc/xdr_float.c: Likewise.
78959         * sunrpc/xdr_mem.c: Likewise.
78960         * sunrpc/xdr_rec.c: Likewise.
78961         * sunrpc/xdr_ref.c: Likewise.
78962         * sunrpc/xdr_sizeof.c: Likewise.
78963         * sunrpc/xdr_stdio.c: Likewise.
78965         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78966         handling.
78968 2010-08-19  Andreas Schwab  <schwab@redhat.com>
78970         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78972 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
78974         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78975         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
78976         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
78977         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
78978         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
78979         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
78980         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
78981         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
78982         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
78983         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
78984         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
78985         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
78986         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
78987         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
78989 2010-07-26  Anton Blanchard  <anton@samba.org>
78991         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
78992         * malloc/arena.c (heap_trim): Likewise.
78994 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
78996         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
78997         here.  Not...
78998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
78999         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79001 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79003         * sysdeps/i386/elf/Makefile: New file.
79005 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79007         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79008         from fanotify_init.
79009         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79010         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79012 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79014         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79015         of strncasecmp_l.
79016         * sysdeps/multiarch/strcmp.S: Likewise.
79018 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79020         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79021         strncase_l-nonascii.
79022         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79023         Add strncase_l-ssse3.
79024         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79025         * sysdeps/x86_64/strcmp.S: Likewise.
79026         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79027         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79028         * sysdeps/x86_64/strncase.S: New file.
79029         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79030         * sysdeps/x86_64/strncase_l.S: New file.
79031         * string/Makefile (strop-tests): Add strncasecmp.
79032         * string/test-strncasecmp.c: New file.
79034         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79035         warning.
79037         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79038         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79040 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79042         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79044 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79046         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79047         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79048         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79050 2010-05-01  Alan Modra  <amodra@gmail.com>
79052         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79053         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79054         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79055         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79056         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79057         tidying.  Don't tail-call __sigjmp_save for static lib.
79058         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79059         save location.
79060         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79061         (CALL_MCOUNT): Add eh info, and nop after bl.
79062         (TAIL_CALL_SYSCALL_ERROR): New macro.
79063         (PSEUDO_RET): Use it.
79064         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79065         Correct save location of integer regs and cr.
79066         (_dl_profile_resolve): Correct cr save location.  Delete nops
79067         after bl when SHARED.  Reduce cfi size a little by better
79068         placement of cfi directives.
79069         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79070         make a stack frame.  Instead use parm save area as a temp.
79071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79072         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79074         Don't make a stack frame for parent, use parm save area.
79075         Increase child stack frame to 112 bytes.  Don't save unused reg,
79076         and adjust reg usage.  Set up cfi on error recovery and
79077         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79079         (__makecontext): Add dummy nop after jump to exit.
79080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79081         Use correct parm save area and cr save, reduce stack frame.
79082         Correct cfi for possible PSEUDO_RET frame setup.
79083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79084         Branch to local label emitted by PSEUDO_RET rather than
79085         __syscall_error.
79087 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79089         [BZ #11904]
79090         * locale/programs/locale.c (print_assignment): New function.
79091         (show_locale_vars): Use it.
79093 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79095         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79096         field.
79097         (struct statfs64): Likewise.
79098         (_STATFS_F_FLAGS): Define.
79099         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79100         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79101         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79102         (ST_VALID): Define locally.
79103         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79104         __statvfs_getflags, use the provided value.
79105         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79106         __ASSUME_STATFS_F_FLAGS.
79108         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79110         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79111         Add sys/fanotify.h.
79112         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79113         fanotify_mask for GLIBC_2.13.
79114         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79115         fanotify_init and fanotify_mark.
79116         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79117         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79119         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79120         Add prlimit.
79121         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79122         prlimit64 for GLIBC_2.13.
79123         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79124         prlimit64.
79125         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79126         syscall.
79127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79128         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79129         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79130         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79131         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79132         add prlimit alias.
79133         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79135         [BZ #11903]
79136         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79137         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79139         * nss/Makefile: Add rules to build and run tst-nss-test1.
79140         * shlib-versions: Add entry for libnss_test1.
79141         * nss/nss_test1.c: New file.
79142         * nss/tst-nss-test1.c: New file.
79144         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79145         (__nss_configure_lookup): Set appropriate entry in
79146         __nss_configure_lookup to true.
79147         * nss/nsswitch.h: Define enum with indeces of databases in
79148         databases and __nss_database_custom arrays.  Declare
79149         __nss_database_custom.
79150         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79151         to avoid using nscd when custom rules are installed.
79152         * nss/getXXbyYY_r.c: Likewise.
79153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79155         * nss/nss_files/files-parse.c: Whitespace fixes.
79157 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79159         [BZ #11883]
79160         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79161         * posix/fnmatch_loop.c: Likewise.
79163 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79165         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79166         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79167         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79168         * Versions.def [GLIBC_2.13]: Add.
79170 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79172         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79173         Also fail if tpwd after pwuid call is NULL.
79175 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79177         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79178         when converting to ms.
79180 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79182         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79183         EOPNOTSUPP errors with ENOTTY.
79184         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79185         EOPNOTSUPP errors with ENOTTY.
79187 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79189         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79190         Add strcasecmp_l-ssse3.
79191         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79192         strcasecmp.
79193         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79194         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79195         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79197 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79199         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79201         * string/Makefile (strop-tests): Add strcasecmp.
79202         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79203         strcasecmp_l-nonascii.
79204         (gen-as-const-headers): Add locale-defines.sym.
79205         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79206         * sysdeps/x86_64/strcasecmp.S: New file.
79207         * sysdeps/x86_64/strcasecmp_l.S: New file.
79208         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79209         * sysdeps/x86_64/locale-defines.sym: New file.
79210         * string/test-strcasecmp.c: New file.
79212         * string/test-strcasestr.c: Test both ends of the range of characters.
79213         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79215 2010-07-29  Roland McGrath  <roland@redhat.com>
79217         [BZ #11856]
79218         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79220 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79222         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79223         for ld.so.
79225 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79227         * manual/memory.texi (Malloc Tunable Parameters): Document
79228         M_PERTURB.
79230 2010-07-26  Roland McGrath  <roland@redhat.com>
79232         [BZ #11840]
79233         * configure.in (-fgnu89-inline check): Set and substitute
79234         gnu89_inline, not libc_cv_gnu89_inline.
79235         * configure: Regenerated.
79236         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79238 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79240         * string/test-strnlen.c: New file.
79241         * string/Makefile (strop-tests): Add strnlen.
79242         * string/tester.c (test_strnlen): Add a few more test cases.
79243         * string/tst-strlen.c: Better error reporting.
79245         * sysdeps/x86_64/strnlen.S: New file.
79247 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79249         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79250         lower-latency instructions.
79252 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79254         * string/test-strcasestr.c: New file.
79255         * string/test-strstr.c: New file.
79256         * string/Makefile (strop-tests): Add strstr and strcasestr.
79257         * string/str-two-way.h: Don't undefine MAX.
79258         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79260 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79262         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79263         strcasestr-nonascii.
79264         (CFLAGS-strcasestr-nonascii.c): Define.
79265         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79266         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79267         Remove unused attribute.
79269 2010-07-20  Roland McGrath  <roland@redhat.com>
79271         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79272         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79273         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79274         like LD_HWCAP_MASK can disable hwcaps.
79276 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79278         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79280 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79282         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79283         call in strcasestr.
79284         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79285         __strcasestr_sse42_nonascii.
79286         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79287         strcasestr-nonascii.c.
79288         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79290 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79292         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79293         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79294         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79295         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79297 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79299         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79300         fcntl.
79302 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79304         [BZ #11577]
79305         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79306         dl_signal_cerror.
79308 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79310         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79311         _PC_PIPE_BUF using F_GETPIPE_SZ.
79313 2010-07-05  Roland McGrath  <roland@redhat.com>
79315         * manual/arith.texi (Rounding Functions): Fix rint description
79316         implicit in round description.
79318 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79320         * elf/Makefile: Fix linking for a few tests to make recent linker
79321         happy.
79323 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79325         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79326         $(common-objpfx)libc_nonshared.a.
79328 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79330         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79331         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79332         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79333         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79334         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79335         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79336         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79337         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79352         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79353         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79354         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79355         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79356         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79357         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79358         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79359         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79360         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79361         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79362         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79363         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79379 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79381         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79382         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79383         * string/memmove.c (memmove): Renamed to ...
79384         (MEMMOVE): ...this.  Default to memmove.
79385         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79386         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79387         (END_CHK): Define.
79388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79389         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79390         mempcpy-ssse3-back memmove-ssse3-back.
79391         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79392         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79393         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79394         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79395         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79396         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79397         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79398         * sysdeps/x86_64/multiarch/memmove.c: New file.
79399         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79400         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79401         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79402         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79403         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79404         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79405         Define.
79406         (index_Fast_Copy_Backward): Define.
79407         (HAS_ARCH_FEATURE): Define.
79408         (HAS_FAST_REP_STRING): Define.
79409         (HAS_FAST_COPY_BACKWARD): Define.
79411 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79413         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79414         Restore proper fallback handling.
79416 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79418         [BZ #11701]
79419         * posix/group_member.c (__group_member): Correct checking loop.
79421         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79422         OOM in getpwuid_r correctly.  Return error number when the caller
79423         should return, otherwise -1.
79424         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79425         call returning > 0 value.
79426         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79428 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79430         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79431         libc_nonshared.a from targets in modules-names.
79433 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79435         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79436         requires it.
79438 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79440         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79441         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79442         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79443         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79445 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79447         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79449 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79451         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79452         and F_GETPIPE_SZ.
79453         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79454         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79455         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79456         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79457         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79458         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79460 2010-06-14  Roland McGrath  <roland@redhat.com>
79462         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79464 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79466         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79467         __REDIRECT followed by __THROW.
79468         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79469         * posix/getopt.h (getopt): Likewise.
79471 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79473         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79474         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79475         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79476         in AT_FLAGS.
79477         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79478         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79480 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79482         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79484 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79486         [BZ #11640]
79487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79488         Properly check family and model.
79490 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79492         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79494 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79496         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79498 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79500         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79501         symbol reference.
79503 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79505         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79506         symbol reference.
79508 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79510         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79511         and internal_recvmmsg.
79512         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79513         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79514         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79515         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79517         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79518         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79519         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79521 2010-05-20  Andreas Schwab  <schwab@redhat.com>
79523         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79525 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
79527         POWER7 optimizations.
79528         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79529         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79531 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
79533         * version.h: Update for 2.13 development version.
79535 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
79537         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79538         exceptions.  Return 0.
79540 2010-05-07  Roland McGrath  <roland@redhat.com>
79542         * elf/ldconfig.c (main): Add a const.
79544 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79546         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79547         (args_options): Add no-idn option.
79548         (ahosts_keys_int): Add idn_flags to ai_flags.
79549         (parse_option): Handle 'i' option to clear idn_flags.
79551         * malloc/malloc.c (_int_free): Possible race in the most recently
79552         added check.  Only act on the data if no current modification
79553         happened.
79555 See ChangeLog.17 for earlier changes.